Create a campaign not clicked trigger
POST /automations/{automationUuid}/automation_triggers/not_click_on_campaign
/automations/{automationUuid}/automation_triggers/not_click_on_campaignStarts the automation for contacts who received the chosen email campaign but did not click any link in it, about 24 hours after the campaign finished sending.
When to use: To nudge people who ignored the links of a campaign with a reminder or a different offer.
When not to use: For contacts who did not open the campaign at all, use create_trigger_not_open_on_campaign. For those who did click, use create_trigger_click_on_campaign.
Side effects: A scheduled check, run about every minute, looks at campaigns that finished sending 24 to 28 hours ago, so create the trigger and activate the automation before the campaign is 24 hours old: later it is too late. Only campaigns that contain at least one link can match. Contacts whose message bounced are not filtered out and count as not having clicked. The campaign must belong to the same audience as the automation: the API does not check it, and a trigger for a campaign of another audience is saved but never fires. Works only while the automation is active and the trigger is enabled, and only for contacts with a confirmed subscription. A contact that is already running through the automation is not started again; after finishing, it can enter again only if workflow_repeat is true and 24 hours have passed.
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
application/problem+json
curl -X POST "https://api.easymailing.com/automations/0df14405-90ff-4287-b3e4-ef088901ee6f/automation_triggers/not_click_on_campaign" \ -H "X-Auth-Token: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "campaign": "/entity/1", "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}