create_automation
Create an automation workflow from a trigger, saved as a paused draft. The API's create endpoint only accepts a name and trigger — it has no fields for workflow steps or starting active; configure the step sequence in the MisarMail dashboard's visual builder, and use toggle_automation to activate once reviewed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Automation name | |
| trigger | Yes | Event that starts the workflow | |
| trigger_config | No | Trigger parameters, e.g. { "tag": "trial" } for tag_added |