CRMIntegrationConfig
lead_modeLead Mode
Possible values: [lead, deal]
Default value:
dealgoogle_sheets object
anyOf
- GoogleSheetsConfig
- null
sheet_url object
anyOf
- string
- null
string
sheet_name object
anyOf
- string
- null
string
pipeline_idPipeline Id
Default value:
google_sheets_pipelinemapping object
crm_id_column object
anyOf
- string
- null
string
name_column object
anyOf
- string
- null
string
contact_column object
anyOf
- string
- null
string
contact_type_column object
anyOf
- ContactType
- null
ContactType
Possible values: [phone, username, chat_id, email]
contact_platform_column object
anyOf
- string
- null
string
contact_type_defaultContactType
Possible values: [phone, username, chat_id, email]
Default value:
phonecontact_platform_default object
anyOf
- string
- null
string
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]
stage_columnStage Column
Default value:
stagecrm_fields_columnsstring[]
document_columnsstring[]
dialogue_history_column object
anyOf
- string
- null
string
crm_fields_dump_column object
anyOf
- string
- null
string
summary_column object
anyOf
- string
- null
string
rate_limit_requestsRate Limit Requests
Default value:
7rate_limit_periodRate Limit Period
Default value:
1responsible_whitelist_enabledResponsible Whitelist Enabled
Default value:
falseresponsible_whiteliststring[]
crm_id_whiteliststring[]
crm_id_whitelist_enabledCrm Id Whitelist Enabled
Default value:
falseskip_if_multiple_recent_ticketsSkip If Multiple Recent Tickets
Default value:
falseskip_if_multiple_recent_tickets_threshold_hoursSkip If Multiple Recent Tickets Threshold Hours
Default value:
72secrets objectrequired
client_idClient Idrequired
client_secretClient Secretrequired
redirect_uri object
anyOf
- string
- null
string
service_account_json object
anyOf
- object
- null
object
tokens object
anyOf
- CRMIntegrationTokens
- null
access_tokenAccess Tokenrequired
refresh_tokenRefresh Tokenrequired
account_idAccount Id
Default value:
token_typeToken Type
Default value:
expires_atdate-timerequired
refererReferer
Default value:
application_token object
anyOf
- string
- null
string
versionVersion
Possible values: [v1, v2]
Default value:
v1amojo_id object
anyOf
- string
- null
string
chat_scope_id object
anyOf
- string
- null
string
chat_channel_id object
anyOf
- string
- null
string
chat_bot_id object
anyOf
- string
- null
string
chat_client_secret object
anyOf
- string
- null
string
agent_id object
Идентификатор агента (настроенного ИИ-ассистента/бота), которому принадлежит запись.
- string
- null
string
amocrm_salesbot_bot_id object
anyOf
- integer
- null
integer
bitrix24_openlines_bot_id object
Идентификатор бота Открытых линий, созданного отдельным эндпоинтом настройки линии. Клиентам не следует задавать или изменять это поле.
- integer
- null
integer
CRMIntegrationConfig
{
"lead_mode": "deal",
"google_sheets": {
"sheet_url": "string",
"sheet_name": "string",
"pipeline_id": "google_sheets_pipeline",
"mapping": {
"crm_id_column": "string",
"name_column": "string",
"contact_column": "string",
"contact_type_column": "phone",
"contact_platform_column": "string",
"contact_type_default": "phone",
"contact_platform_default": "telegram",
"stage_column": "stage",
"crm_fields_columns": [
"string"
],
"document_columns": [
"string"
],
"dialogue_history_column": "string",
"crm_fields_dump_column": "string",
"summary_column": "string"
}
},
"rate_limit_requests": 7,
"rate_limit_period": 1,
"responsible_whitelist_enabled": false,
"responsible_whitelist": [
"string"
],
"crm_id_whitelist": [
"string"
],
"crm_id_whitelist_enabled": false,
"skip_if_multiple_recent_tickets": false,
"skip_if_multiple_recent_tickets_threshold_hours": 72,
"secrets": {
"client_id": "string",
"client_secret": "string",
"redirect_uri": "string",
"service_account_json": {}
},
"tokens": {
"access_token": "string",
"refresh_token": "string",
"account_id": "",
"token_type": "",
"expires_at": "2024-07-29T15:51:28.071Z",
"referer": "",
"application_token": "string"
},
"version": "v1",
"amojo_id": "string",
"chat_scope_id": "string",
"chat_channel_id": "string",
"chat_bot_id": "string",
"chat_client_secret": "string",
"agent_id": "string",
"amocrm_salesbot_bot_id": 0,
"bitrix24_openlines_bot_id": 0
}