ProductCRMIntegrationConfig
Per-product CRM import, field mapping, and sync settings.
trueimport_to_stage_id object
- integer
- null
86400contacts_from_custom_fields object
property name* ProductCRMIntegrationContactFromCustomFieldConfig
Defines how one CRM custom field is imported as a contact.
truecontact_type object
- ContactType
- null
Possible values: [phone, username, chat_id, email]
channel_type object
- string
- null
Possible values: [telegram, whatsapp, waba, max, viber, instagram, fasttrack, usedesk, salebot, avito, vk, yandex_messenger, email, sms, pinbox, linkedin, amocrm_salesbot, bitrix24_openlines, sip, webrtc, bothelp]
ext_channel_id object
- string
- null
channel_vendor object
- string
- null
Possible values: [wazzup24, self_wz, chatpush, greenapi, wappi, chatapp, yandex_messenger, salebot, bothelp, radist, fasttrack, usedesk, amocrm_salesbot, bitrix24_openlines, twilio, mail.ru, gmail, pinbox, unipile, voice]
channel_alias object
Optional exact name of another CRM field whose value selects the product channel for this chat-id contact. Supported only for chat_id contacts and mutually exclusive with ext_channel_id.
- string
- null
enum_fields object
property name* ProductCRMIntegrationEnumFieldConfig
Possible values: [select, multiselect]
crm_fields object
property name* ProductCRMIntegrationFieldConfig
crm_code object
- string
- null
textPossible values: [custom, system]
customfalsefalsefalseoptions object[]
falsetrueWhen enabled for amoCRM Salesbot imports, contacts with no phone, email, username, or chat id are imported as Salesbot-only placeholder chat_id contacts keyed by the amoCRM contact id.
falseWhen enabled for Bitrix24 imports, CRM entities without ordinary contact details are imported with a synthetic chat_id contact so outbound messaging can reuse an active Open Lines chat.
falsefalse86400falsemerged_lead_stage_id object
Stage that leads are moved to when their CRM deal is merged into another one (see POST /leads/crm-merge). The stage must belong to this product. Leave unset to deactivate and mute merged-away leads without changing their stage. The move is local only and is never pushed back to the CRM.
- integer
- null
classification_fields_resync_requested_at object
- date-time
- null
classification_fields_last_resynced_at object
- date-time
- null
classification_fields_last_resync_failed_at object
- date-time
- null
0truetruepipelines object[]
truestages object
property name* ProductCRMIntegrationStageConfig
Identifier of the matching record in the connected external CRM, if any.
false{
"import_enabled": true,
"import_to_stage_id": 0,
"import_interval_seconds": 86400,
"contacts_from_custom_fields": {},
"enum_fields": {},
"crm_fields": {},
"contact_duplicates_allowed": false,
"derive_phone_number_from_lead_title": true,
"allow_empty_amocrm_salesbot_contacts": false,
"allow_empty_bitrix24_openlines_contacts": false,
"sync_enabled": false,
"sync_interval_seconds": 86400,
"deactivate_on_external_move": false,
"merged_lead_stage_id": 0,
"classification_fields_resync_requested_at": "2024-07-29T15:51:28.071Z",
"classification_fields_last_resynced_at": "2024-07-29T15:51:28.071Z",
"classification_fields_last_resync_failed_at": "2024-07-29T15:51:28.071Z",
"classification_fields_last_resync_failures_count": 0,
"dump_message_enabled": true,
"dump_manager_messages_enabled": true,
"pipelines": [
{
"is_active": true,
"pipeline_id": "",
"stages": {}
}
]
}