Connect amoCRM, Bitrix24 or U-ON
dosai_connect_crmCheck and connect the owner's CRM in one step, so the bot's leads land there as deals. amocrm: address like company.amocrm.ru and a long-lived token from the integration the owner creates in amoCRM. bitrix24: the incoming webhook address from Bitrix24 (it holds the key, pass it as address). uon: the U-ON account address and API key. Returns the CRM's funnels and stages (metadata) for dosai_update_crm_integration and dosai_set_crm_stage_mapping: keep them, this is the only place they come from. Connecting ANOTHER account or CRM type erases the field and stage mapping of the previous one, so call it once and do not repeat it just to re-read the funnels. Two steps. The key passes through this chat, warn the owner. Requires editor role.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"crm_type": "<crm_type>",
"address": "<address>"
},
"name": "dosai_connect_crm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| api_key | No | ||
| crm_type | Yes | ||
| project_id | Yes | From dosai_list_projects. | |
| confirm_token | No | Leave empty on the first call: it changes nothing and returns what will happen and a code. Ask the owner; only after their explicit "yes" call again with the same arguments and this code. |