Automations
Let Antero follow up for you: when something happens to a contact, wait, check and act, and see every run step by step.
Who can use this: Managers and above (
automations:manage).
How automations work
Marketing → Automations holds the current brand's automations. Each one has:
- a trigger (Starts when), such as a form being submitted;
- a list of steps: waits, if / else checks and actions;
- a rule for whether a contact can go through it again.
Every time the trigger fires for a contact, the automation starts a run for that contact, which goes through the steps in order. For example: when a form lead comes in, tag them, wait a day and remind the owner to call.
An automation is Draft, On or Paused. Only automations that are on start runs. The plan caps how many automations are on at once across the workspace (drafts and paused ones do not count). By default Trial allows 2, Starter 5, Growth 20 and Scale unlimited; see Plans, credits and billing.
The list shows each automation's trigger, number of steps, runs In progress, total Runs and Last run, with a switch to turn it on or off.
Create an automation
- Go to Marketing → Automations and press New automation.
- Name it (for example "Welcome new leads") and pick what it Starts when. Press Create.
- In the builder, set the trigger's options, add steps and press Save.
- Press Switch on.
Triggers
There are sixteen triggers. Each starts a run for one contact in the brand. When the event has no contact (for example an invoice without a customer contact), nothing starts.
| Starts when | Options | Notes |
|---|---|---|
| A form is submitted | Form: one form or Any form | A deal made by the form is the run's deal |
| A tag is added | Tag (required) | Fires whenever the tag is added: by hand, in bulk, by a form or lead ad, or by another automation |
| A contact is created | none | Contacts added by hand, from forms, bookings, WhatsApp, lead ads or webhooks. Imported contacts do not start it |
| A deal moves to a stage | Stage: one stage or Any stage | The moved deal is the run's deal |
| An appointment is booked | Booking page: one page or Any booking | The booking's deal, if any, is the run's deal |
| A message arrives | Arriving by: Any channel, WhatsApp or SMS; Only when the message contains (optional) a keyword | See below |
| Another app calls a webhook | The automation's Webhook URL | See below |
| It is the contact’s birthday | none | At 9am in the workspace's timezone, once a year per contact. Contacts need a birthday saved |
| An invoice is paid in full | none | For the invoice's customer, when the last payment is recorded |
| An invoice becomes overdue | none | For the invoice's customer at 9am the day after the due date, once per invoice, while money is still owed |
| A lead ad is submitted | none | Each time someone fills in one of your lead forms on Meta, Google or TikTok (see Ads) |
| A quotation is accepted | none | When the customer accepts online, or you mark it accepted |
| A shop order is placed | none | For the buyer, when they place an order in your online shop, before they pay |
| A shop order is paid | none | For the buyer, when the order is paid and invoiced |
| A shop order is shipped | none | For the buyer, when the order is marked shipped or its EasyParcel parcel is paid for |
| A shop checkout is left unpaid | none | For the buyer, when an order expires unpaid and they have placed nothing since (see Shop orders) |
Message keywords
A message arrives starts on WhatsApp or SMS messages from a contact. Text messages and button replies count; photos, files and voice notes do not.
- With a keyword, only messages that contain it start the automation, for example
menu. Upper and lower case do not matter. STOPandSTART(and their Malay forms) are handled by Antero and never start automations.
Webhook trigger
Another app calls a webhook gives the automation its own Webhook URL, /hooks/automations/{token}. Another app sends a POST with JSON or form data holding an email or a phone number (and a name and company if it has them). Antero finds the contact, or creates one within the plan's contact limit, and starts a run. Every field sent becomes a {{trigger.*}} merge tag. Keep the URL private. The full details, with examples and responses, are in Automation webhook trigger.
Steps
Press Add step at the end of the list, or inside a Yes or No branch, and pick a step. Use the arrows to reorder steps and Remove step to delete one. The builder groups steps like this. An automation holds up to 60 steps, and an if / else can sit inside another up to four levels deep.
Flow
| Step | What it does |
|---|---|
| Wait | Waits 1 to 365 minutes, hours or days, then carries on |
| If / else | Checks a condition and runs the Yes or the No branch (see Conditions) |
Contact
| Step | What it does |
|---|---|
| Add a tag | Adds a tag. Skipped if the contact already has it. It can start A tag is added automations |
| Remove a tag | Removes a tag. Skipped if the contact does not have it |
| Add to a list | Adds the contact to a list |
| Remove from a list | Takes the contact out of a list. Skipped if they are not in it |
| Assign an owner | Makes a person the contact's owner (PIC). They must still work in the brand |
| Update a field | Sets the name, email, phone, company, source or a named custom field to a New value, which can use merge tags. Leave it empty to clear the field (a name cannot be cleared). An email or phone must be valid and not belong to another contact |
| Score the lead with AI | Asks AI to score the contact (see Lead scoring) |
Deals and follow-ups
| Step | What it does |
|---|---|
| Open a deal | Opens a deal in the stage you choose (Open it in), with a Title ({{contact.name}} by default) and a Value (RM). The contact's owner owns it, and it becomes the run's deal |
| Move the deal | Moves the run's deal to a stage (Move it to): the deal that started the run or that it opened, else the contact's latest open deal. Skipped when there is none or it is already there |
| Schedule a follow-up | Adds an outbound follow-up with a Subject ("Follow up with" the contact by default), Due in (days) at 9am workspace time (0 is today), assigned to a person or The contact’s owner, and linked to the run's deal |
Messages
| Step | What it does |
|---|---|
| Send a WhatsApp template | Sends an approved template with its variables, which can use merge tags. Skipped for contacts without a phone number or who opted out |
| Reply on WhatsApp | Sends free text, only while the customer's 24-hour window is open, such as right after they write in. Otherwise it is skipped |
| Send an SMS | Sends a text through the brand's Twilio or AdaSMS. Skipped for contacts without a phone number or who opted out of SMS. To Malaysian numbers it follows the SMS rules and waits for 8am to 8pm |
| Send an email | Sends a Subject and Message through the brand's own Amazon SES or SMTP, with an unsubscribe link, and with Track opens and clicks on unless you untick it. Skipped for contacts who unsubscribed or whose address bounced or marked you as spam |
| Alert the team on Telegram | Sends your text to every Telegram chat linked to the brand's bot |
| Post to your webhook | Sends the contact and what started the run to your Outgoing webhook app as an automation.step event (see Outgoing webhooks) |
| Call with a reminder | Rings the contact from the brand's Twilio number with your text, then listens for 1, 2 or 9. Only contacts who agreed to reminder calls; between 9am and 8pm (see Call with a reminder) |
Tag, list, owner and field changes and emails sent are also written on the contact's timeline. Messages go out like those of campaigns: see Campaigns for unsubscribe links, tracking and opt-outs.
Call with a reminder
This step makes a short automated call, for example the day before a visit you arranged. The contact hears What the call says (required, up to 500 characters), then "Press 1 to confirm, 2 if you need to change it, 9 to stop these calls."
- The text can use merge tags, and
{name}(the contact's first name) and{brand}. - The call comes from the brand's Twilio number, spoken in its connection's Call language and Voice. The brand needs a Twilio connection that sends from a phone number; without one the builder warns "Connect Twilio with a phone number for this brand, or this step is skipped."
- Only contacts who agreed to reminder calls are called. The step is Skipped when the contact has no phone number, has not agreed, or stopped reminder calls, or when the brand has no Twilio phone number.
- Outside 9am to 8pm in the workspace's timezone, the run waits and calls at 9am.
- 1 adds an Automation entry, "Confirmed by phone", to the contact's timeline. 2 marks their conversation Needs a person and sends the Chatbot conversations that need a person Telegram alert. 9 stops reminder calls to them.
- The call is a Reminder call item in the contact's SMS conversation and in Inbox → Calls.
See Reminder calls for consent and what the contact hears.
Conditions
An If / else step asks one question (Check whether). Steps under Yes run when it matches, steps under No when it does not. Then the run carries on below the if / else.
| Check | Settings | Matches when |
|---|---|---|
| The contact has a tag | Tag | The contact has that tag |
| The contact is in a list | List | The contact is in that list |
| A field matches | Field (name, email, phone, company, source or a custom field), Compare (is, contains, is empty, is not empty), Value | The field compares as chosen; upper and lower case do not matter |
| The lead score | at least or below a Score out of 100 | The contact's lead score compares as chosen. Contacts not scored yet count as 0 |
| The deal is in a stage | Stage | The run's deal (or the contact's latest open deal) is in that stage |
Merge tags
Message texts, email subjects and bodies, WhatsApp template variables, Telegram alerts, field values, deal titles and follow-up subjects can use merge tags.
- The contact and brand tags are the same as in campaigns:
{{contact.first_name}},{{contact.name}},{{contact.email}},{{contact.phone}},{{contact.company}}and{{brand.name}}. See Campaigns. {{trigger.*}}tags hold what started the run.- A fallback works on every tag:
{{trigger.order_id|none}}. A{{trigger.*}}tag without a value takes its fallback, or nothing.
| Trigger | {{trigger.*}} values |
|---|---|
| A form is submitted | form, form_id, submission_id |
| A contact is created | via (how the contact was added) |
| A deal moves to a stage | deal, deal_id, from_stage, stage |
| An appointment is booked | appointment, appointment_id, starts_at |
| A message arrives | message (its first 500 characters), channel |
| Another app calls a webhook | Every field sent, with nested keys joined by _ (up to 50 fields) |
| It is the contact's birthday | year |
| An invoice is paid in full / becomes overdue | invoice_number, invoice_id, amount, amount_due, currency, due_date, invoice_url |
| A lead ad is submitted | campaign, ad, form |
| A quotation is accepted | quotation_number, quotation_id, amount, deposit, currency, quotation_url |
| A shop order is placed, paid, shipped or left unpaid | order_number, order_total, order_items, order_url, delivery_method, tracking_url, shop_url |
Re-entry
Can a contact go through it again?
| Option | Meaning |
|---|---|
| Only once per contact | A contact who has ever started a run never starts another |
| Again, once their last run has finished | The default. A contact can start again once no run of theirs is running or waiting |
| Every time | Every match starts a new run, even while another is in progress |
Birthday automations have no re-entry option: they run once a year per contact.
Switch on, pause and edit
- Switch on checks every step first. Anything missing is listed under "Finish these before switching it on:", and steps that need settings are marked with !. Switching on is also refused when the plan's limit of active automations is reached.
- Only events after it is switched on start runs; past events are not replayed.
- Pause stops new runs. Runs that are waiting stay where they are and carry on when you switch it back on.
- An automation that is on must stay complete when you save it. Pause it to save unfinished changes.
- You can edit steps while runs are waiting. A waiting run carries on from its step wherever that step has moved. If its step was removed, the run stops with "The step this run was waiting at was removed from the automation."
- Deleting an automation stops its runs in progress, and the history goes with it.
Runs
Runs (:count) at the top of the builder lists each contact who went through the automation, newest first, 25 a page, with Open the contact.
- A run is Running, Waiting (with when it carries on), Completed or Stopped.
- Each step shows its outcome and a short message: Done, Yes or No (for a condition), Skipped, Waiting, Failed or Stopped.
- An email step also shows what became of the email: how many times it was opened and clicked, "Not opened yet", "Opens and clicks not tracked" or "Bounced".
When a step fails
A step that fails, for example because the provider refused a message, is logged as Failed with the reason, and the run carries on with the next step. A step with nothing to do, such as adding a tag the contact already has or replying on WhatsApp after the 24-hour window, is Skipped and the run carries on. A run stops only when its contact is deleted or its waiting step is removed.
Loop protection
Steps can start other automations: Add a tag can start A tag is added, Move the deal can start A deal moves to a stage, and so on. To stop automations starting each other forever, chains stop three levels deep. Something a person or customer does starts the first level, its steps can start a second, and the second's steps a third. Nothing started by the third level runs.
What runs automatically
| Command | When | What it does |
|---|---|---|
automations:resume |
every minute | Carries on runs whose wait is over, for automations that are on |
automations:birthdays |
hourly | Starts birthday automations at 9am in the workspace's timezone |
invoices:overdue |
hourly | Starts An invoice becomes overdue at 9am local time |
Each run's steps are carried out on the queue, so the queue worker must be running. An SMS step to a Malaysian number outside 8am to 8pm waits until 8am, like a wait step, and a Call with a reminder step outside 9am to 8pm waits until 9am.
Related pages
- Automation webhook trigger: start runs from another app.
- Outgoing webhooks: the
automation.stepevent and how to verify it. - Campaigns: one message to many contacts at once.
- Telegram: linking the chats that get alerts.