Required permission:
- View automation
- Create automation
When it runs
The event runs when a task is assigned by any of these:- Manual assignment on the Task page of the web app.
- Bulk assignment of several tasks at once.
- Routing dispatch: tasks assigned when a routing result is dispatched.
- Automation: a task assigned by another automation.
- API: assignment through the API.
Set it up
- On Workflow › Automation, click New.
- Event: On Task Assigned.
- Task Type: the task type to watch.
- Automation Type: one of
- Fill in the Automation detail and click Submit.
Use cases
Webhook payload
An example request body:Troubleshooting
The automation doesn’t run when tasks are assigned.- Check that its Active switch is on and the task type matches.
- Check that the rules don’t exclude the task.
- Assign to a user, not only to a team: the task must become assigned.
- Look for several active automations on the same task type.
- Make your endpoint answer with a 2xx status (200 or 204).
- Check the phone number in the field chosen as Receiver Phone Number.
- Look at the log for the failed run and its response.