Skip to main content
enroll_automation adds up to 100 contacts to a published automation that is switched on. Pass contacts, each with to and phoneNumberRef. The assistant does not enroll a draft, and it does not enroll anyone until you ask. A draft says the workflow is a draft. A published workflow that is switched off says it is switched off. publish_workflow switches a workflow on. set_workflow_active can switch it off or back on.

Ask this

What the assistant calls

1

Read published automations

list_automations returns published automations that can be enrolled. list_workflows shows draft and published status if you need to tell those apart.
2

Enroll

enroll_automation takes contacts, up to 100 items of { to, phoneNumberRef }. The assistant calls it only after you ask, and only when the automation is published and switched on.
Publishing the draft is a separate step, on Publish a workflow. Tool order is on Automations.