Actions
The steps that do something - wait, send one of your emails, alert the team, send a signed webhook, add an order note - and the placeholders alerts and notes can use.
Click a + between two cards (Add a step here) to add a step. Besides Condition (see Conditions) there are five:
| Step | What it does |
|---|---|
| Wait | Pause for a while, or until a time of day. |
| Send email | One of your emails, to the customer, the team or an address. |
| Alert the team | A short email to chosen team members. |
| Send a webhook | A signed POST with the event to a URL. |
| Add order note | A line on the order's timeline for the team. |
How a step ends
Each step writes one line to the run's log. What happens next depends on the result:
| Result | Example | The run |
|---|---|---|
| Done | The email was queued. | Goes on to the next step. |
| Skipped | The customer has no email address, or unsubscribed. | Goes on to the next step. A skip is a normal outcome, not an error. |
| Stopped | A checkout reminder found the checkout became an order. | Ends, as done. |
| Failed | The email this step sends was deleted. | Ends as failed. |
Wait
Under Kind of wait:
- For a while: a number of minutes, hours or days. At least 1 minute, at most 365 days.
- Until a time of day: the next time the clock shows that time in the store's time zone. If it is already past that time today, the run waits for tomorrow. Use it to send at 09:00 instead of at 3 in the morning.
The wait counts from the moment the run reaches the step. Changing a wait later does not move runs already waiting on it. An automation cannot end with a wait.
Send email
Sends one of your emails.
| Setting | Notes |
|---|---|
| Any email in the store, grouped into Automation, Campaign and Store emails (transactional). Preview opens it. | |
| Send to | Customer, Team (tick team members) or An address (type one). |
| Marketing email | For Customer only. On: sent only to customers who agreed to marketing at checkout. Off: sent whether or not they agreed, for service emails about their own order. |
- Language. A customer gets the email in their language (the one they shopped in) when the email has it, otherwise the closest one it has: the store's main language, then English. Team and address emails use the store's main language.
- Variables. The email is filled in with the checkout, order or product the trigger is about, read fresh when the step runs. For the customer,
unsubscribe_urlis their personal unsubscribe link. - Checkout reminders stop themselves. On a checkout trigger, the step looks at the checkout again right before sending. If it became an order, the run stops: no more reminders go out.
- Product triggers have no customer. Send to the team or an address instead.
- Never twice. If a run is interrupted and the step runs again, an address that already got the email is not sent a second copy.
The step is skipped when there is no email address for the customer, when Marketing email is on and the customer did not agree to marketing, when the address is on the store's suppression list for a reason that stops this email (see below), or when none of the chosen team members can open the store any more. It fails when no email is picked, when the email was deleted, or when the typed address is not valid.
The email's type decides what an unsubscribe stops
An email whose type is Transactional goes out as transactional mail: a customer who unsubscribed still gets it, and it has no unsubscribe headers. Any other type goes out as automation mail, which an unsubscribe stops. Marketing email is about consent at checkout, not this. A bounced address, one marked as spam or one blocked by hand gets neither. See Unsubscribes.
If the store has no email account yet, or its sender address can't be used, the email is queued anyway and the log says "Not sent yet" with the reason. It goes out once the account is fixed. See Sending.
Alert the team
A short email to the team, not the customer.
| Setting | Notes |
|---|---|
| Who gets it | Team members who can open the store and have an email address: owners, admins, and members given this store. |
| Subject | Required. Placeholders work. |
| Message | Placeholders work. Blank lines start new paragraphs. |
Click a placeholder under Insert into the subject (or the message) to put it where the cursor is. The email links to the order or product with a View order, View product or View checkouts button, and its footer says which automation sent it. It goes out as transactional mail, so a team member who unsubscribed from the store's marketing still gets it.
Placeholders
Alerts and notes use these. Each trigger offers only the ones that fit it.
| Placeholder | What it is | Triggers |
|---|---|---|
store.name | Store name | All |
customer.name, customer.email | Customer name and email | Checkouts, orders, First order |
order.number | Order number | Orders, First order |
order.total | Order total | Orders, First order |
order.link | Link to the order in the admin | Orders, First order |
checkout.total | Checkout subtotal | Checkouts |
checkout.items | Items in checkout | Checkouts |
checkout.link | Link to the checkouts list | Checkouts |
product.title | Product title | Products |
product.variant | Version | Products |
product.stock | Stock left | Products |
product.link | Link to the product in the admin | Products |
Write them in double braces, as the buttons do:
Big order {{ order.number }}: {{ order.total }} from {{ customer.name }}Placeholders are plain text replacements: there are no filters or if blocks here, unlike the email editor's variables. One that has no value prints nothing.
Send a webhook
Sends the event to your own system: a CRM, Zapier, n8n, your app.
| Setting | Notes |
|---|---|
| URL | A public https:// address, without a user name or password in it, on port 80, 443 or above 1023. Plain http:// is refused. Turning the automation on checks that the host resolves to a public address. |
| Signing secret | Made when you save. Click Reveal, then Copy. It starts with whsec_. |
Each call is one POST with a JSON body:
{
"id": "<run id>:<step id>",
"type": "checkout.abandoned",
"created_at": "2026-11-27T09:12:44.000Z",
"store": { "id": "...", "name": "...", "slug": "..." },
"automation": { "id": "...", "name": "Recover abandoned checkouts" },
"run_id": "...",
"data": { "checkout": {}, "customer": {} }
}| Header | Value |
|---|---|
X-Starsell-Signature | t=<unix seconds>,v1=<hex>: an HMAC-SHA256 of <t>.<body> with the signing secret |
X-Starsell-Event | The event type, such as order.created |
X-Starsell-Delivery | The same value as id in the body. The same step on the same run always sends the same one. |
User-Agent | Starsell-Automations/1.0 |
Verify the signature the same way as for store webhooks: see Webhooks. data is the event payload described in Events.
- Any 2xx answer is success.
- Your server has 10 seconds to answer. Redirects are not followed: a 3xx counts as a failure.
- A timeout, no answer, a 5xx, a 429 or a 408 is tried twice more, 1 minute and 10 minutes later. The run waits in between. Any other answer, or the third failure, fails the step and the run.
Add order note
Adds a line to the order's timeline, for the team. For order triggers and First order only.
| Setting | Notes |
|---|---|
| Note | The text, with placeholders. Example: "VIP customer: add a handwritten card". |
The note shows on the order with the automation's name after it, in brackets. It is skipped when there is no order or the note comes out empty.
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.
Runs
Every time a trigger fires, a run goes through the steps and logs what each one did. The run history, what each status means, reading a run, and cancelling waiting runs.