🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

How can we help you?

Find answers, tutorials, and guides to get the most out of Gravity Extra add-ons. (DEV Preview)

Gravity Forms Bitrix24 CRM Integration Setup Guide

Last updated: October 6, 2026 • Author: admin
Table of Contents

1. Overview & System Requirements

The Gravity Forms Bitrix24 CRM Integration Setup Guide connects your WordPress forms directly to Bitrix24—the all-in-one CRM, project management, and business communication platform used by over 12 million organizations worldwide. For commercial teams managing high-volume inbound leads, dealer inquiries, wholesale registrations, or support tickets, manually inputting entries into Bitrix24 creates operational friction and slows sales response times.

With this dedicated integration, every submission on your website immediately creates or updates records inside Bitrix24. You can configure feeds to create Leads (crm.lead.add), commercial Deals (crm.deal.add), individual Contacts (crm.contact.add), or corporate Companies (crm.company.add). Communicating directly with the Bitrix24 REST API via secure Inbound Webhooks, data transfers occur in real time with zero monthly middleware fees.

Gravity Forms Bitrix24 CRM Integration Architecture
Figure 1: Automated Gravity Forms to Bitrix24 CRM Lead & Deal Synchronization Architecture

System Environment Prerequisites

Ensure your infrastructure satisfies these baseline prerequisites:

  • WordPress Environment: WordPress 5.8 or higher.
  • Gravity Forms Core: Gravity Forms 2.5 or higher installed and active.
  • PHP Version: PHP 7.4 through PHP 8.3 with cURL and JSON extensions enabled.
  • Bitrix24 Deployment: Active Bitrix24 Cloud or On-Premise instance (Basic, Standard, Professional, or Enterprise).
  • Bitrix24 Webhook: Inbound Webhook URL generated with CRM permissions.

2. Authentication & Bitrix24 Inbound Webhook Setup

The integration communicates with Bitrix24 using secure Inbound REST Webhook endpoints:

Creating Your Inbound Webhook in Bitrix24

  1. Log in to your Bitrix24 portal (e.g. https://yourcompany.bitrix24.com).
  2. In the left sidebar, navigate to Developer resources → Other → Inbound webhook.
  3. Under Assign permissions, select CRM (crm).
  4. Click Save. Bitrix24 generates an Inbound Webhook URL (format: https://yourcompany.bitrix24.com/rest/1/xxxxxxxxxxxx/).
  5. Copy this complete Webhook URL to your clipboard.

Configuring in WordPress Dashboard

  1. In WordPress, navigate to Forms → Settings → Bitrix24.
  2. Paste your complete Inbound Webhook URL into the designated field.
  3. Click Save Settings. The plugin sends an authenticated test request to the Bitrix24 API to verify permissions. A green success confirmation verifies proper connection.

Bitrix24 Menu in Gravity Forms Settings
Figure 1: Navigating to Forms → Settings → Bitrix24.
Bitrix24 Inbound Webhook Configuration
Figure 2: Entering your Bitrix24 inbound REST webhook URL.

3. Feed Configuration & Field Mapping

Feeds allow you to configure custom entity creation, field mapping, and pipeline staging for each form:

Entity Selection & Core Field Mapping

  • Target Entity: Choose whether the feed creates a Lead, Deal, Contact, or Company.
  • Lead/Deal Title: Define dynamic titles using Gravity Forms merge tags (e.g. Website Lead: {Name:2} - {Company:4}).
  • Contact Details: Map First Name, Last Name, Work Email, and Telephone Number. Bitrix24 stores multi-channel contact arrays automatically.
  • Opportunity Value: For Deals or Leads, map form budget inputs to the OPPORTUNITY monetary amount and select the currency code (USD, EUR).
  • Comments & Descriptions: Map the user inquiry message into the COMMENTS field using HTML formatting.

Bitrix24 Custom Fields & Conditional Logic

Bitrix24 allows users to define custom CRM fields (e.g. UF_CRM_...). The add-on features a dynamic mapper:

  • Custom Fields: Map form choices (such as preferred appointment time, branch location, or referral source) directly to Bitrix24 user fields.
  • Conditional Execution: Only trigger feed execution when specific criteria are met—for instance, creating Deals only when users select “Request an Enterprise Quote”.

Bitrix24 Feeds Management
Figure 3: Bitrix24 Form Feeds management screen.
Bitrix24 CRM Entity Module Selection
Figure 4: Selecting target CRM entity (Lead, Contact, Company, Deal).
Bitrix24 Field Mapping Matrix
Figure 5: Mapping form inputs to Bitrix24 standard and custom attributes.
Bitrix24 Deal Stages and Pipeline Automation
Figure 6: Configuring pipeline stages and conditional execution rules.

4. Advanced Workflows & CRM Pipeline Automation

Connecting Gravity Forms to Bitrix24 empowers sales and customer service operations:

  • Kanban Pipeline Automation: High-intent web leads immediately enter the “Unassigned” stage of your Bitrix24 CRM Kanban board, alerting on-duty sales reps.
  • Automated Contact & Company Linking: Use dual feeds to create both a corporate Company record and an individual Contact record, automatically establishing parent-child relationships in Bitrix24.
  • Telephony & SMS Integration: Newly added Bitrix24 leads immediately sync with Bitrix24 telephony and SMS robots for automated immediate callback scheduling.
  • Audit Trail in WordPress: Every submitted entry stores the returned Bitrix24 Entity ID directly inside the Gravity Forms Entry Notes sidebar for complete auditability.

5. Troubleshooting & Diagnostic Error Matrix

When contact synchronization or lead creation encounters issues, consult the following diagnostic matrix:

HTTP Status / Error Root Cause Exact Technical Resolution
401 Unauthorized Invalid or revoked Inbound Webhook URL in WordPress settings. Re-generate an Inbound Webhook URL in Bitrix24 Developer resources and update settings.
400 Bad Request Missing required TITLE field or invalid custom field parameter key. Ensure Lead/Deal Title contains valid merge tags and custom field keys match UF_CRM_… syntax.
404 Not Found Bitrix24 instance URL misspelled or target pipeline category ID missing. Check Bitrix24 portal domain and ensure pipeline category exists in CRM settings.
503 / 429 Throttle Bitrix24 REST API limit reached (maximum 2 requests per second on standard plans). Space out mass automated test submissions or enable background queue processing.

6. Developer Extensibility & Filter Hooks

Developers can programmatically modify CRM payloads or execute custom actions upon successful synchronization:




Filter Bitrix24 Request Data

PHP

/**
 * Filter: gform_bitrix24_request_data
 * Purpose: Dynamically customize field data before posting to Bitrix24 REST API.
 * 
 * @param array  $fields The array of CRM fields destined for crm.lead.add or crm.deal.add.
 * @param string $entity The target entity ('lead', 'deal', 'contact', 'company').
 * @param array  $entry  The submitted Gravity Forms entry object.
 * @param array  $form   The active form object.
 * @return array Modified fields array.
 */
add_filter( 'gform_bitrix24_request_data', function( $fields, $entity, $entry, $form ) {
    // Set lead source description
    $fields['SOURCE_DESCRIPTION'] = sprintf( 'Submitted via %s on %s', esc_html( $form['title'] ), current_time( 'Y-m-d H:i' ) );

    // Enforce default status for inbound leads
    if ( $entity === 'lead' ) {
        $fields['STATUS_ID'] = 'NEW';
    }

    return $fields;
}, 10, 4 );



Post Process Action Hook

PHP

/**
 * Action: gform_bitrix24_post_process
 * Purpose: Record returned Bitrix24 Entity ID into entry metadata.
 * 
 * @param string $entity    The CRM entity type ('lead', 'deal', 'contact').
 * @param int    $entity_id The created Bitrix24 entity ID.
 * @param array  $entry     The active Gravity Forms entry.
 */
add_action( 'gform_bitrix24_post_process', function( $entity, $entity_id, $entry ) {
    if ( ! empty( $entity_id ) ) {
        gform_update_meta( $entry['id'], '_bitrix24_' . $entity . '_id', intval( $entity_id ) );
        GFFormsModel::add_note( $entry['id'], 0, 'Bitrix24', ucfirst( $entity ) . ' created in Bitrix24. ID: ' . $entity_id );
    }
}, 10, 3 );

7. Frequently Asked Questions

Does this add-on support self-hosted On-Premise Bitrix24 instances?

Yes. The add-on works seamlessly with both Bitrix24 Cloud (SaaS) and Bitrix24 On-Premise (Self-hosted) deployments supporting Inbound REST Webhooks.

Can I assign newly created leads to specific sales representatives in Bitrix24?

Yes. Under feed settings, you can map the Assigned User (ASSIGNED_BY_ID) to specific Bitrix24 employee IDs or route leads dynamically.

Does this add-on require Zapier or third-party webhooks?

No. It communicates directly with your Bitrix24 Inbound Webhook endpoint via WordPress wp_remote_post, eliminating intermediate monthly fees and third-party data risks.

Where can I find the created Bitrix24 record in WordPress?

The add-on automatically logs the returned Bitrix24 Entity ID directly inside the Gravity Forms Entry Notes sidebar with complete audit details.

Ready to Supercharge Your Workflow?

Connect Gravity Forms directly to Bitrix24 to automate Lead creation, Deal pipelines, Contact sync, and custom CRM fields.

Was this article helpful?

Let us know how we can improve our docs.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr