Required permission:
- View automation
- Create automation
When it runs
The event runs when a task is created by any of these:- Web app: a user creates the task on the Task page.
- Import: tasks uploaded from a spreadsheet.
- Field app: a field worker creates the task.
- API: a task created through the API.
- Automation: a task created by another automation.
- Schedule: a task generated by a recurring schedule.
Set it up
- On Workflow › Automation, click New.
- Name: for example “Create Delivery when Pickup is created”.
- Event: On Task Created.
- Task Type: the task type to watch, for example Pickup.
- Automation Type: one of
- Optionally add Rules, fill in the Automation detail, and click Submit.
- Make sure the automation’s Active switch is on, then create a task of that task type to test it.
Use cases
Task type matching
The automation checks the task type of every new task:
You can create several automations on the same event for different task types, for example On Task Created › Delivery › send to the ERP, and On Task Created › Pickup › send to the WMS. Each runs on its own.
Webhook payload
With the Webhook action, the request body carries the new task. An example:Troubleshooting
The automation doesn’t run when tasks are created.- Check that its Active switch is on.
- Check that the task’s task type matches the automation’s Task Type.
- Check that the rules don’t exclude the task.
- Open the log and look for failed runs.
- Optional fields that were left empty when the task was created are not sent. Handle missing keys in your endpoint.
- Tasks created through the API with minimal data carry only what was sent.
- Look for several active automations on the same task type.
- Make sure you chose On Task Created and not On Task Finished.
- Make your endpoint idempotent, using the task ID.
- An automation that creates a task of the same task type it watches triggers itself. The Create Task list doesn’t offer the trigger’s own task type, but two automations can still feed each other. Use different task types, or add rules that stop the chain.