Create an admin manual trigger
POST /automations/{automationUuid}/automation_triggers/admin_manual
/automations/{automationUuid}/automation_triggers/admin_manualAdds a manual-start trigger to the automation. A manual trigger lets someone, or a step of another automation, put a contact into the automation by hand instead of waiting for an event.
When to use: Rarely needed: every automation already gets one active manual trigger when it is created. Use this only if that trigger was deleted and you want manual starts back.
When not to use: To start the automation from your own system, create a custom_api trigger with create_trigger_custom_api and call trigger_custom_api. To start it from the flow of another automation, use create_step_trigger_automation. To react to an event, use the trigger for that event.
Side effects: Only the first manual trigger of an automation is used, so a second one adds nothing. This API has no operation that starts a manual trigger: contacts are added from the app (Add to automation) or by a trigger-automation step of another automation (create_step_trigger_automation).
Permissions: Requires the author role or higher, or the marketing.automations.write capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the automation, as returned by list_automations.
The new AutomationTrigger resource
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://api.easymailing.com/automations/0df14405-90ff-4287-b3e4-ef088901ee6f/automation_triggers/admin_manual" \ -H "X-Auth-Token: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "workflow_repeat": true }'{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "automation": "/entity/1", "trigger_type": "trigger.admin.manual", "active": true, "workflow_repeat": true, "trigger": null, "count_automation_queues": 0, "count_completed_automation_queues": 0, "count_queued_automation_queues": 0, "count_canceled_automation_queues": 0}