Skip to Content
StarsellDocs
MarketingAutomations

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

TriggerFires when
Checkout startedSomeone typed their contact details at checkout.
Checkout abandonedSomeone left checkout with contact details and items, and did not come back within the store's waiting time.
Checkout recoveredSomeone came back through a recovery link.
Checkout convertedA 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

TriggerFires when
Order placedA customer placed an order or one was added by hand.
Order paidPayment for an order came in. A test payment counts.
Order shippedAn order left the warehouse, with its tracking number if there is one.
Order deliveredAn order reached the customer.
Order cancelledAn order was cancelled.
Order refundedAn order was refunded.

An order that is paid when it is placed fires Order placed and Order paid together.

Customers

TriggerFires when
First orderSomeone 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

TriggerFires when
Product addedA product was added to the store. A duplicated product counts.
Product changedA product's details, price or stock changed.
Low stockA 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 stockA 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 aboutConditions and filtersEmail variablesCustomer to email
A checkoutCheckout and customer fieldsCheckout, customer, storeThe checkout's email
An orderOrder and customer fieldsOrder, customer, storeThe order's email
A customer (First order)Order and customer fieldsOrder, customer, storeThe order's email
A productProduct fieldsProduct, storeNone

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.

On this page