Adds a Bitrix24 integration block to each form in the Payload form builder plugin. Submissions are sent to Bitrix24 CRM through an incoming webhook as leads or deals, with automatic and manual field mapping. Delivery can run synchronously or through Payload Jobs with retries. Requires Payload 4 and the form builder plugin.
Bitrix24 CRM integration for Payload CMS 4 form builder submissions: leads, deals, field mapping, UTM, optional queue delivery.
Installation
npm i @serge-pro-dev/payload-plugin-bitrix240
Stars
0
Forks
0
Open Issues
Yesterday
Last Updated
456
Weekly Downloads
v0.1.0-beta.1
npm Version
120.8 KB
Unpacked Size
1
Dependencies
Trends appear once the first and last snapshots are 7 days apart. Collecting since Nov 29 — 7 daily snapshots so far.
Shared by 6 plugins in serge-pro-dev/payload-plugins.
Trends appear after 7 days of data. Collecting since Dec 4 — 2 daily snapshots so far.
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1479182369-bitrix24)<a href="https://payloaddirectory.dev/plugins/1479182369-bitrix24"><img src="https://payloaddirectory.dev/badge/1479182369-bitrix24.svg" alt="Payload Directory"></a>README
Sends Payload CMS 4 form submissions (form builder plugin) to Bitrix24 CRM through an incoming webhook. Settings are stored per form.

pnpm add @serge-pro-dev/payload-plugin-bitrix24
// payload.config.ts: after formBuilderPlugin
import { bitrix24Plugin } from '@serge-pro-dev/payload-plugin-bitrix24'
plugins: [formBuilderPlugin(/* ... */), bitrix24Plugin()]
Then run pnpm payload generate:importmap (registers the field picker of the admin panel) and
pnpm payload generate:types.
Lead) or deals (Deal, with an automatically created and linked contact).UF_CRM_*) from Bitrix24 into the admin panel.Developer resources → Other → Inbound webhook (in the Russian UI:
«Разработчикам → Другое → Входящий вебхук»). In permission settings («Настройка прав»)
you must enable CRM (crm). Without it Bitrix24 answers
"The request requires higher privileges than provided by the webhook token" and
neither the field list nor the delivery works.
Open a form → block Bitrix24 → + Add Bitrix24 Integration (one integration per form).
| Field | Purpose |
|---|---|
| Enabled | On by default. Switch off to pause sending without deleting the settings |
| Bitrix24 Webhook URL | Incoming webhook of the portal (required) |
| CRM Entity Type | Lead (default) or Deal |
| Automatically map standard fields | Map standard field names automatically |
| Send UTM / UTM Attribution | Send UTM data, First Touch or Last Touch |
| Additional Settings | Manual field mapping |
Form field names: name, firstName, lastName, secondName, email, phone,
company, website. Email, Phone and Website use the matching Bitrix24 multi-field types.
Form Field Name is the system name of the form field, Bitrix24 Field is picked from a list loaded from the Bitrix24 API (read-only fields are excluded). Save the form first, the list needs a saved webhook. Manual mappings win over automatic ones.
Reads the utm_first_touch / utm_last_touch cookie and fills UTM_SOURCE, UTM_MEDIUM,
UTM_CAMPAIGN, UTM_CONTENT, UTM_TERM. A missing cookie is not an error.
The plugin only reads the cookie. Something on the site has to write it:
<UtmTracker /> from @serge-pro-dev/payload-plugins-shared/utm/next, the analytics plugin, or
your own script that follows the contract.
| Option | Purpose |
|---|---|
delivery | 'sync' (default) or 'queue' (Payload Jobs) |
queue | Payload Jobs queue name, default default |
allowedHosts | Extra allowed webhook hosts (self-hosted Bitrix24): crm.example.com or *.example.com |
timeoutMs | Timeout of every Bitrix24 request, default 8000 |
BITRIX24_ALLOWED_HOSTS (comma separated) is merged with allowedHosts.
sync sends inside the form request, queue uses Payload Jobs with retries. Requests time out
after 8 s. In queue mode every item is created with ORIGINATOR_ID / ORIGIN_ID, so a retry does
not create a duplicate lead.
/api/bitrix24/fields) requires a logged-in Payload user.BITRIX24_ALLOWED_HOSTS or bitrix24Plugin({ allowedHosts }). Redirects are refused.Labels are available in English and Russian. Enable both in the project:
i18n: { supportedLanguages: { en, ru } }.
New columns/tables appear with the schema: forms_bitrix24 (the integration row). In development
schema push applies them; in production run pnpm payload migrate:create and migrate.
Sending runs in afterChange of form-submissions (only on create).
Products and catalog, shop orders, two-way sync, outgoing webhooks from Bitrix24.
MIT
telegram
Send Telegram messages when Payload form builder forms are submitted, with optional UTM data
76499/wk0v4
payload plugin deskcrew
Turn new documents in chosen collections into DeskCrew support tickets
696/wk0v2
payload plugin
Email advocacy and contact management with broadcasts, forms and letter campaigns inside the Payload admin
5729/wk2v3
payload discord sync
Sync Discord guilds, channels, members and roles into Payload collections using discord.js
4217/wk0v3
payload dub
Create and manage Dub shortlinks, tags and analytics for published Payload documents
80746/wk4v4
email queue
Queue Payload form builder emails as background jobs so submissions return immediately and failed sends are retried
78466/wk0v4