b24_bizproc_start
Launch a Bitrix24 business process on a specific document by template ID, optionally passing parameters, and return the running workflow ID.
Instructions
Launch a business process on a document (bizproc.workflow.start).
Potentially impactful — a workflow can move stages, send mail, create tasks. Returns the running workflow id.
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": {
"template_id": "<template_id>",
"document_id": "<document_id>"
},
"name": "b24_bizproc_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parameters | No | Optional template parameters {code: value}. | |
| document_id | Yes | Target document as [MODULE, ENTITY, ID], e.g. ['crm','CCrmDocumentDeal','DEAL_42'] or ['lists','BizprocDocument','123']. | |
| template_id | Yes | Workflow template id to launch. | |
| webhook_url | No | Override the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default. | |
| personal_webhook | No | Act as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |