Skip to content

Triggers and steps reference

This page lists everything you can put on an automation canvas: the 17 goal triggers, the 21 step types of a sequence, decision conditions, the time-window and time-zone options, and every problem the validator can report. For how goals, sequences and decisions fit together, publishing and reporting, read Automations first.

You configure all of this in the side panel of the canvas (Marketing › Automations › your automation, URL /t/<workspace>/automations/<automation-id>).

  • A goal has 1–10 triggers and is achieved when any of them matches an event for a contact. Entry goals (no incoming arrow) enrol contacts; other goals are milestones. Each goal is achieved at most once per enrolment.
  • A sequence runs its steps in order. Timers wait; actions do something and move on immediately.
  • A decision checks branches in order and sends the contact down the first that matches, otherwise down Otherwise.
  • Every step can have a Step label (shown on the canvas instead of the type) and Continue with the next step if this one fails.
  • Steps that fail temporarily are retried up to 5 attempts (30 s, 2 min, 8 min, 32 min); permanent failures stop the position immediately unless Continue with the next step if this one fails is on.

The palette’s Goals section has one item per trigger. Inside a goal, Add trigger adds another trigger of any type, and each trigger can be removed.

Trigger (label) API type Fires when Fields (empty = any)
Tag applied tag_applied One of the tags is applied to a contact Tags (required, 1–100)
Tag removed tag_removed One of the tags is removed from a contact Tags (required, 1–100)
Contact created contact_created A contact is created —
Form submitted form_submitted A contact submits a form Forms (Any form)
Product purchased product_purchased An order containing one of the products is paid Products (Any product)
Order paid order_paid An order is paid Minimum order total (minor units, e.g. cents)
Email opened email_opened The contact opens an email (first open of each email) Email sent by automation, Email sent by broadcast (Any email)
Email link clicked email_clicked The contact clicks a tracked link Email sent by automation, Email sent by broadcast, Link URL contains
Lead score lead_score The contact’s score crosses a threshold Score threshold (default 50), When the score: reaches or exceeds it / drops below it
API call api Your backend calls the trigger endpoint API call name (required)
Web goal web_goal An identified visitor completes a web analytics goal Web goal name (required), Site (Any site)
Appointment booked appointment_booked The contact books through a booking page Booking event types (Any event type), Also appointments created in the CRM calendar
Deal stage changed opportunity_stage_changed A deal of the contact moves between stages Pipeline (Any pipeline), Moved to stage, Moved from stage (Any stage)
Date anniversary date_anniversary Every year on (or around) a date field of the contact Date field, Offset in days (negative = before), Time of day, Time zone
App event app_event An installed app reports an event for the contact App, Event
Document signed document_completed Every party has signed a document sent for signature (fires for each signer) Signature templates (Any template)
Signature declined document_declined The contact declines to sign a document Signature templates (Any template)

Matches when any of the selected tags is applied (or removed), however that happens: by a user, an import, a form, the API or another automation. The goal cannot be saved without at least one tag. See Tags.

Matches every new contact. Combine it with a decision right after the goal to filter, for example by lead source.

Matches a submission of the selected forms, or of any form when none is selected. The submission must be linked to a contact. See Forms.

Both listen to paid orders. Product purchased matches when the order contains at least one of the selected products (any product when empty). Order paid matches when the order total is at least the minimum, expressed in minor units (cents: 5000 = 50.00). See Orders.

Listen to tracked emails sent by amabledata (broadcasts, automation emails, single emails; never test sends).

  • Email sent by automation: only emails sent by that automation (any of its email steps). Email sent by broadcast: only that broadcast. Both empty: any email.
  • Email opened fires on the first open of each message (repeated opens are ignored). A click also counts as an open.
  • Link URL contains: the clicked destination must contain this text (case-sensitive, up to 500 characters).

Through the API the email reference can also narrow to a specific node_id and step_id of an automation.

Fires when the contact’s score crosses the threshold: reaches or exceeds it means it was below and is now at or above; drops below it means it was at or above and is now below. A score that is already above does not fire again until it crosses again.

Fires when your system calls:

Terminal window
curl -X POST 'https://<your-app>/api/v2/t/<workspace>/automationGoals/<call-name>/trigger' \
-H 'Authorization: Bearer amb_live_…' \
-H 'content-type: application/json' \
-d '{"contact_id":"<CONTACT_ID>","event_id":"<optional-dedupe-key>"}'
  • API call name: lowercase letters, digits, _, . and -, starting with a letter or digit, up to 64 characters (default my.goal). The panel shows a ready-to-copy snippet (Trigger from your backend).
  • Use an API key with the automations:trigger permission (see API keys).
  • event_id (optional, up to 128 characters): the same id fires only once (remembered for 7 days).
  • The response lists the goals achieved (matched: automation and node ids) and duplicate: true when the event_id was already used. An unknown contact returns 404.
  • The same call name can be used in several automations: all of them are matched.

Fires when a visitor who is identified as a contact completes the web analytics goal with exactly this name, on the selected site or any site. Anonymous visitors never trigger it. See Goals and funnels.

Fires when a contact books a meeting through a public booking page (the appointment.booked event), for the selected event types or any. With Also appointments created in the CRM calendar it also fires when an appointment linked to the contact is created by hand in the CRM calendar or through the API, whatever the event types selected. A booking counts once: the CRM appointment that every booking creates does not fire the trigger a second time. See Bookings.

Fires when a deal linked to the contact changes stage. Narrow it by Pipeline, by the destination stages (Moved to stage) and by the origin stages (Moved from stage); changing the pipeline clears the stage choices. See Deals.

Fires once a year for each contact whose date field falls on today, shifted by the offset:

  • Date field: Birthday, Anniversary, Created at, or any contact custom field of type Date or Date and time.
  • Offset in days (negative = before): −365 to 365 (default 0). -3 fires three days before the date, 7 a week after.
  • Time of day: default 09:00.
  • Time zone: default Workspace time zone (the automation’s fallback zone, or the engine zone). The same zone applies to every contact of this trigger.

The engine checks every hour; once the local time of the trigger is reached, every matching contact achieves the goal (once per day). People born on 29 February are matched on 28 February in non-leap years. The automation must be Active on that day.

Fires when an installed app reports the selected event for a contact (apps send events with POST /api/v2/t/<workspace>/apps/events). Choose the App (Choose an installed app) and the Event (Choose an event). If no installed app declares events, the panel reads No installed app adds automation events. Browse the apps in Settings → Apps. See Apps and Apps SDK.

Both listen to documents sent for signature (see Signatures), whoever sent them: a member, the API or the Send document for signature step.

  • Document signed fires when the last party signs and the request becomes completed. It fires once for each signer: every signer’s contact achieves the goal, not only the one who signed last. It listens to the esign.request_completed event.
  • Signature declined fires for the contact who declined (the esign.request_declined event). The other signers do not achieve it.
  • Signature templates: only requests sent from these templates (up to 100). Empty = Any template. The filter uses the template the request was sent from, even if the template was edited later.

A signer whose contact was deleted after the request was sent achieves nothing.

Each goal also has Who can achieve it:

  • Anyone (can start the automation) (default).
  • Only contacts already in this automation: the goal never enrols anyone.

Click Add step in a sequence. Steps are grouped as in the menu.

Waits for a duration.

Field Values Default
Amount 0–100,000 1
Unit minutes, hours, days (24 h), weeks days
Only within a time window Days (Mon–Sun), From, To off

With a window, if the delay ends outside the window the contact resumes at the next opening (in the contact’s time zone, falling back as described in Time zones).

Waits until a calendar date and time.

Field Values Default
Date YYYY-MM-DD tomorrow
Time HH:MM (24 h) 09:00
Time zone an IANA zone, or empty = Contact time zone (else workspace) empty

If the moment has already passed when the contact arrives, the step completes immediately (“date already past”).

Waits until a moment relative to a date field of the contact.

Field Values Default
Field Birthday, Anniversary, Created at, Date / Date and time custom fields Birthday
Offset amount + unit + before / after none
Time HH:MM 09:00
Every year (next occurrence) on/off on
If the field is empty Skip the timer / Stop the contact here Skip the timer
Time zone IANA zone or empty = Contact time zone (else workspace) empty

With Every year the timer targets the next yearly occurrence (29 February becomes 28 February in non-leap years); otherwise it targets the exact date, and a date already past completes the step immediately. Stop the contact here ends this path (the position is done).

Queues one email to the contact.

Field Values Notes
Source Content written here / Template
Template one of your email templates Used as it is at send time
Subject up to 500 characters, Liquid allowed Content written here; default Hello {{ contact.first_name }}
Edit email opens Email content: Subject, Preheader (up to 500), the email editor, and an HTML / Text preview with sample data Click Save in the dialog to keep changes
From name up to 200 characters Empty = template or workspace sender name
Reply-to email Empty = template or workspace reply-to
Only within a time window Days, From, To Off = Use the automation send window

At run time the step:

  1. waits for the send window (the step’s own, or the automation’s Default send window for emails), if any;
  2. asks the sending credit check: if it denies, the step is skipped (“email not sent: …”) and the contact continues; if it pauses, the position becomes paused and is re-checked later (every 15 minutes unless the plan says otherwise);
  3. queues the email and completes (“email queued”). The email itself is sent by the sending queue with all the usual checks (verified domain, suppression list, Email status, warm-up, rate limit). An email that cannot leave within 24 hours is skipped as expired.

Each queued email is unique per contact and step execution, so a retry never sends it twice. The panel shows the Email sending is blocked banner while no sending domain is verified. Validation requires a template or a subject and a body.

Sends a signature template to the contact (see Send a document for signature). The panel reads The contact receives a signing link by email; the other parties sign with the addresses below.

Field Values Default
Template one of your signature templates (Choose a template); archived templates are not listed none (required)
The contact signs as one of the template’s parties; shown only when the template has more than one party the first party
Signer for {party} one block for each other party: Email (required, up to 320 characters) and Name (optional) (up to 200) empty
Message up to 5,000 characters; Empty: the message of the template. empty

When the selected template is not active and ready, the panel warns This template is not active yet: the step fails until it is activated. Changing the template clears the party choices; choosing another party for the contact removes the signer block of that party.

At run time the step:

  1. creates a signature request from the template as it is at that moment (origin automation), with the enrolled contact as signer of the chosen party, signing with their primary email address;
  2. matches each other party’s email to an existing contact, or creates a contact (source “other”) when none exists;
  3. completes with “signature request … sent” and the result esign_request_id. The invitations leave shortly after, from the workspace timer, following the template’s signing order.

One request is created per step execution: a retry never sends the document twice. The step fails permanently (no retries) when the template was deleted or is no longer active or ready (the template must be active before sending it, the template is not ready to be sent), when a party has no signer, or when the contact has no email address (the contact has no email address). Turn on Continue with the next step if this one fails if the rest of the sequence must run anyway.

Calls a URL of yours.

Field Values Default
Method GET, POST, PUT, PATCH, DELETE POST
URL http(s) URL, up to 2,048 characters https://example.com/webhook
Headers Name (letters, digits, -, up to 64) and Value (up to 1,000); Add header none
Body Contact JSON, IDs only, No body Contact JSON (for GET: No body)
Timeout (ms) 500–30,000 10,000
Sign the request on/off on

Request details:

  • Headers always set: user-agent: amable-automation/1, idempotency-key (the same on every retry of this step for this contact), content-type: application/json when there is a body. Custom Host, Content-Length, Connection, Transfer-Encoding, Amable-Signature and Idempotency-Key headers are ignored.
  • Body (Contact JSON):
{
"event": "automation.http_request",
"id": "<step execution id>",
"automation_id": "…",
"version_id": "…",
"node_id": "…",
"step_id": "…",
"enrollment_id": "…",
"contact_id": "…",
"contact": { "…": "the full contact record" },
"sent_at": "2026-10-18T09:00:00.000Z"
}

IDs only sends the same object without contact.

  • Request signing: Each request carries Amable-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>"> computed with the automation secret. Reject old timestamps (5 minutes). Retries reuse the same Idempotency-Key. The panel offers Show secret and Rotate secret (needs automations:publish; rotating may ask for your second factor). Each automation has its own secret, stored encrypted.
  • Outcome: HTTP 2xx and 3xx succeed. 5xx, 408, 425 and 429 and network errors are retried; other 4xx fail permanently. URLs pointing to private or internal addresses are blocked (permanent failure, and a publish error). Responses larger than 64 KB fail.

Runs an action provided by an installed app.

Field Notes
App Choose an installed app — only apps that add automation actions
Action Choose an action
Action inputs Defined by the app; choices may be loaded live from the app (Loading the choices from the app…). Text inputs accept merge tags (Merge tags such as {{ contact.first_name }} are allowed.)

Merge tags in app inputs can use contact.id, contact.first_name, contact.last_name, contact.name, contact.email, contact.phone, contact.job_title and contact.custom.<key>. The step is skipped while the app is not installed or paused (The app is paused: the step is skipped until it is resumed.). The panel shows the action’s outputs (Result: …). Inputs are validated against the app’s schema when you publish.

Step Fields Behaviour
Apply tag Tags (1–100) Adds the tags to the contact (fires Tag applied goals elsewhere).
Remove tag Tags (1–100) Removes the tags.
Add note Title (optional, 255), Text (rich text, required) Adds a note to the contact.
Create task Title (required, 255; default “Follow up”), Due in (duration; default 1 day), Assign to (Contact owner or a user; default Contact owner), Priority (Low, Normal, High), Type (To do, Call, Email, Meeting, Other) Creates a task linked to the contact, due that long after the step runs.
Create appointment Title (required; default “Call”), Starts in (duration; default 1 day), Duration (minutes) (5–1,440; default 30), Owner (Contact owner or a user), Location, Description (up to 10,000) Creates a CRM calendar appointment linked to the contact.
Set field value Field, Mode (Set to / Add), Value, Clear the field See below.
Assign owner Users (1–50), Strategy (Always the first user / Round robin; new steps default to round robin) Sets the contact owner. Round robin rotates through the users, one per contact.
Create deal Title (required; default “New deal”), Pipeline, Stage, Value (minor units), Currency (3 letters), Owner (default the contact owner) Creates a deal for the contact.
Move deal stage Pipeline and Stage (both required), If the contact has no open deal: Skip / Create one Moves the contact’s most recent open deal in that pipeline. Skipped if already in that stage. Create one creates a deal titled “Opportunity” in the stage.

Set field value can write: First name, Middle name, Last name, Preferred name, Prefix, Suffix, Job title, Website, Spouse name, Time zone, Language, Company, Lead source, Birthday, Anniversary, Score, and any contact custom field. Add (increment) adds a number to Score or a numeric custom field (an empty value counts as 0); the value must be a number. Clear the field sets it to empty. A value the field does not accept makes the step fail permanently (“invalid value for …”). New steps default to Score, Add, 10.

CRM writes are made exactly once per step execution, even when a step is retried.

Step Fields Behaviour
Create order Items (1–50): Product, Quantity (1–10,000), Unit price (minor units, optional); Add item; Currency Creates a finalized, unpaid order and its invoice. The order notes mention the automation. See Orders.
Cancel subscription Only subscriptions of these products (All live subscriptions), At the end of the paid period (default on) Cancels the contact’s subscriptions in status trialing, active, past due or paused, at period end or immediately. Skipped if there is none. See Subscriptions.
Step Fields Behaviour
Add to sequence Automation (This automation or another), Sequence Puts the contact at the start of that sequence. If the contact is not in the target automation, they are enrolled there (re-entry rules do not apply). Does nothing if the target is not published, the sequence does not exist in its live version, or the contact is already in that sequence.
Remove from sequence Automation, Sequence or The whole automation Cancels the contact’s positions in that sequence, or removes the contact from the whole automation (status Removed). Does nothing if the contact is not in it.
End automation — The contact leaves the automation here; every other position is cancelled. The enrolment is Completed.

Each branch of a decision has a Branch name and a filter built with the same condition builder as saved searches: contact fields, custom fields, tags and related data, combined with AND / OR groups. The filter is evaluated against the contact at the moment they reach the decision. A branch with no condition matches everyone (shown as Everyone on the canvas; otherwise {n} condition(s)). New decisions start with one branch named “Yes”.

Option Where Values
Send window Delay, Send email, automation Default send window for emails Days (Mon–Sun, all when none), From and To (HH:MM). End before start = across midnight.
Time zone Wait until date, Field timer, Date anniversary An IANA zone, or empty for the default
Fallback time zone Automation settings IANA zone, empty = Workspace time zone

Windows are evaluated in the contact’s time zone, then the automation fallback, then the engine zone (UTC unless configured).

Check and Publish report these problems. Errors block publishing; warnings do not.

Code Severity Message
no_entry_goal error the automation needs at least one goal without incoming connections
unreachable error … cannot be reached from any entry goal
cycle error connections starting at … form a loop without a goal
duplicate_node_id / duplicate_step_id / duplicate_branch_id / duplicate_edge_id error duplicate id
unknown_node error edge source/target … does not exist
note_connected error notes cannot be connected
self_loop error a node cannot connect to itself
unknown_branch error decision … has no branch …
email_content_missing error an email step needs a template or a subject and a body
increment_not_number error increment needs a numeric value
url_blocked error URL not allowed: …
invalid_date error invalid date
invalid_time_zone error unknown time zone …
unknown_automation error automation … does not exist
unknown_sequence error sequence … not found in automation …
app_not_installed error app … is not installed
unknown_app_action error … has no action …
app_input_* error an app action input is missing or invalid
unknown_signature_template error signature template … does not exist
unknown_signature_party error the template has no party …
invalid_signature_party error party … is unknown or already assigned
signature_parties_missing error no signer for …
signature_template_inactive warning the template is not active: the step fails until it is activated
empty_sequence warning sequence … has no steps
duplicate_edge warning duplicate connection
ignored_handle warning source_handle is only meaningful on decisions

Shape problems (a required field left empty, a value out of range) are flagged on the canvas before saving and prevent the draft from being saved until fixed.

Item Limit
Triggers per goal 1–10
Tags per tag trigger / tag step 1–100
IDs per list (forms, products, event types, stages) 100
Steps per sequence 100
Branches per decision 1–10
Delay amount 0–100,000
Offset days (date anniversary) −365 to 365
Appointment duration 5–1,440 minutes
Order items 1–50, quantity 1–10,000
HTTP timeout 500–30,000 ms; response up to 64 KB
Signature step up to 9 other signers; message up to 5,000 characters
Signature templates per document trigger 100
Step and node labels 200 characters
Node ids letters, digits, _, -, up to 64

Editing triggers and steps requires automations:write (Owner, Admin, Marketer); publishing requires automations:publish; viewing requires automations:read. Showing or rotating the HTTP signing secret requires automations:publish. Choosing a signature template in a step or trigger lists the templates, which requires esign:read (every role). Firing API call goals requires an API key or user with automations:trigger (Owner, Admin, Marketer, Sales).

Symptom Cause Fix
A tag goal is red and the draft does not save No tag selected Pick at least one tag.
An API goal call returns 404 The contact id does not exist Send an existing contact id.
An API goal call returns matched: [] No Active automation has a goal with that call name, the contact cannot (re-)enter, or the goal was already achieved Check the call name, status and re-entry.
duplicate: true The event_id was already used in the last 7 days Expected: send a new id for a new event.
A web goal never fires The visitor is anonymous, or the goal name differs Identify visitors (see Goals and funnels); match the name exactly.
A date anniversary fires at an unexpected hour The trigger time zone is the workspace/engine zone Set the trigger Time zone.
HTTP step fails with “blocked URL” The URL points to a private or internal address Use a public URL.
HTTP step fails with “HTTP 401/403/404” immediately 4xx responses are permanent Fix the endpoint or credentials.
HTTP step retried several times 5xx, 408, 425, 429 or a timeout Make the endpoint reachable; retries reuse the same idempotency-key.
Set field value fails with “invalid value for …” The value does not fit the field (e.g. text in a number field) Correct the value.
Move deal stage shows “no open opportunity in the pipeline” The contact has no open deal there Choose Create one or expect the skip.
App action skipped The app is not installed or paused Install or resume the app in Apps.
Add to sequence does nothing The target automation is not published or the contact is already in that sequence Publish the target; check the log message.
Publishing fails with “no signer for …” A party of the signature template has no email in Signer for {party} Fill the email of every other party.
Send document for signature fails with “the template must be active before sending it” The template is a draft or archived (the publish warning signature_template_inactive) Activate the template in Signatures › Templates.
Send document for signature fails with “the contact has no email address” The enrolled contact has no email Add an email to the contact, or filter contacts without email with a decision before the step.
Document signed does not fire Not every party has signed yet, or the template filter excludes the request’s template Wait for the last signature; check Signature templates.