MCP tools: remote-automations
remote-automations
Registered when: org: automations.enabled, crm.enabled and crm.api.enabled (all on by default); never a runner key. Workflows have no mail sending action.
automation_create
Create a CRM workflow. dryRun records planned steps. No mail sending action.
| Parameter | Type | Required | Description |
|---|---|---|---|
orgId | string | yes | |
name | string | yes | |
trigger | "contact_created" \ | "tag_added" \ | "tag_removed" \ |
conditions | object[] | no | |
actions | any[] | yes | |
enabled | boolean | no | |
dryRun | boolean | no |
Example call:
{"name":"automation_create","arguments":{"orgId":"<orgId>","name":"<name>","trigger":"contact_created","actions":[]}}
Related: automation_list, automation_update, automation_enable, automation_runs.
automation_enable
Enable or stop one CRM workflow.
| Parameter | Type | Required | Description |
|---|---|---|---|
orgId | string | yes | |
workflowId | string | yes | |
enabled | boolean | yes |
Example call:
{"name":"automation_enable","arguments":{"orgId":"<orgId>","workflowId":"<workflowId>","enabled":true}}
Related: automation_list, automation_create, automation_update, automation_runs.
automation_list
List CRM workflows in this org.
| Parameter | Type | Required | Description |
|---|---|---|---|
orgId | string | yes |
Example call:
{"name":"automation_list","arguments":{"orgId":"<orgId>"}}
Related: automation_create, automation_update, automation_enable, automation_runs.
automation_runs
Read paged workflow outcomes and step history; pass nextCursor as cursor for older runs. A webhook step is queued until the delivery log confirms its transport.
| Parameter | Type | Required | Description |
|---|---|---|---|
orgId | string | yes | |
workflowId | string | yes | |
limit | integer | no | |
cursor | string | no |
Example call:
{"name":"automation_runs","arguments":{"orgId":"<orgId>","workflowId":"<workflowId>"}}
Related: automation_list, automation_create, automation_update, automation_enable.
automation_update
Update a CRM workflow with expectedVersion; an edit increments its version.
| Parameter | Type | Required | Description |
|---|---|---|---|
orgId | string | yes | |
workflowId | string | yes | |
name | string | no | |
trigger | "contact_created" \ | "tag_added" \ | "tag_removed" \ |
conditions | object[] | no | |
actions | any[] | no | |
enabled | boolean | no | |
dryRun | boolean | no | |
expectedVersion | integer | yes |
Example call:
{"name":"automation_update","arguments":{"orgId":"<orgId>","workflowId":"<workflowId>","expectedVersion":1}}
Related: automation_list, automation_create, automation_enable, automation_runs.