Easymailing
Automation triggers

List automation triggers

GET /automations/{automationUuid}/automation_triggers

GET/automations/{automationUuid}/automation_triggers

Lists the triggers of an automation. Each one shows its type, whether it is enabled, whether contacts can repeat the workflow, its configuration, and how many contacts it started, how many are running, completed or cancelled.

When to use: To see what starts an automation and to get a trigger's uuid before updating, pausing or deleting it.

When not to use: To read the steps of the automation, use list_automation_steps.

Side effects: The counters are recalculated periodically in the background, so they can lag behind what just happened. The list also includes triggers created in the app of a type this API has no create or update operation for (for example a survey answered); they can be paused, enabled or deleted here.

Permissions: Requires the author role or higher, or the marketing.automations.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

automationUuid*string

UUID of the automation, as returned by list_automations.

Query Parameters

page?integer

Page number, starting at 1.

Default1
itemsPerPage?integer

Number of items per page (default 30, maximum 50).

Range0 <= value <= 50
Default30

Response Body

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/automations/0df14405-90ff-4287-b3e4-ef088901ee6f/automation_triggers?page=1&itemsPerPage=30" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "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  }]