Triggers
Every store event that can start an automation, when each one fires, what it is about, and how trigger filters narrow it down.
The trigger is the When card at the top of an automation. Pick it in the Trigger panel under Starts when. The list is grouped into Checkouts, Orders, Customers and Products, and the line under the select says when the chosen event fires.
These are the same events webhooks subscribe to. See Events for their payloads.
Checkouts
| Trigger | Fires when |
|---|---|
| Checkout started | Someone typed their contact details at checkout. |
| Checkout abandoned | Someone left checkout with contact details and items, and did not come back within the store's waiting time. |
| Checkout recovered | Someone came back through a recovery link. |
| Checkout converted | A checkout became an order. |
Checkout abandoned
A checkout with items and an email or a phone number counts as abandoned once it has been quiet for the Waiting time in Store settings > Checkout (60 minutes unless you change it; 1 minute to 7 days). The check runs every minute. A checkout fires Checkout abandoned once: if the shopper comes back to checkout and leaves again, it does not fire a second time. See Abandoned checkouts.
Abandoned checkouts are not emailed by themselves
Checkout abandoned only starts automations and webhooks. Nobody gets a reminder unless an automation on this trigger sends one. The Recover abandoned checkouts recipe is a good start.
Checkouts with only a phone number fire the trigger too, but there is no address to email. Check Customer has an email address in a condition before a Send email step, as the recipe does.
Orders
| Trigger | Fires when |
|---|---|
| Order placed | A customer placed an order or one was added by hand. |
| Order paid | Payment for an order came in. A test payment counts. |
| Order shipped | An order left the warehouse, with its tracking number if there is one. |
| Order delivered | An order reached the customer. |
| Order cancelled | An order was cancelled. |
| Order refunded | An order was refunded. |
An order that is paid when it is placed fires Order placed and Order paid together.
Customers
| Trigger | Fires when |
|---|---|
| First order | Someone ordered from the store for the first time. |
"First time" is judged by the email address (or the phone number when the order has no email). First order is about the customer, through that order: order conditions, order placeholders and order notes all work on it.
Products
| Trigger | Fires when |
|---|---|
| Product added | A product was added to the store. A duplicated product counts. |
| Product changed | A product's details, price or stock changed. |
| Low stock | A version of a product fell to the store's low stock level: Alert when this many are left in Notifications, 3 by default. |
| Out of stock | A version of a product sold out. |
Product triggers have no customer. A Send email step on one can only go to the team or a fixed address, and Add order note does not apply.
What a trigger is about
Each trigger is about a checkout, an order, a customer or a product. That decides what the rest of the automation can use:
| Trigger is about | Conditions and filters | Email variables | Customer to email |
|---|---|---|---|
| A checkout | Checkout and customer fields | Checkout, customer, store | The checkout's email |
| An order | Order and customer fields | Order, customer, store | The order's email |
| A customer (First order) | Order and customer fields | Order, customer, store | The order's email |
| A product | Product fields | Product, store | None |
Conditions, emails and placeholders read the checkout, order or product as it is when the step runs, not as it was when the event happened. A reminder an hour after Checkout abandoned knows the checkout became an order since.
Filters
Under Only when on the trigger card, click Add a filter. Filters are checks on the event before a run starts: an event that does not pass every filter starts nothing and leaves no run behind. With no filters, every event of that kind starts a run.
Filters use the same fields as conditions, for example:
- Order placed only when Order total is more than ₪500.
- Order placed only when Sales channel is Instagram.
- Low stock only when Fulfilled by is Your stock.
Use a filter when the check belongs to the event itself. Use a Condition step when it has to be checked later, after a wait, against fresh data.
When runs start
- Only events after you turn it on. Events from before an automation was turned on never start it, even if they are read later.
- Within seconds. New events are picked up about every 5 seconds.
- One run per event. Every matching event starts its own run, even for the same customer. Two orders from one person 60 days apart start two separate win-back runs.
- Paused automations record each matching event as a skipped run, so you can see what was missed.
Related
Automations
Let the store follow up on its own. An automation waits for something to happen, then waits, checks and acts. The list, recipes, the builder, testing, and turning automations on and off.
Conditions
Check the checkout, order, customer or product before the next steps run. Stop the run when a check is not true, or split it into Yes and No paths. Every field and how it compares.