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.
A run is one event going through an automation's steps: one abandoned checkout, one order. Each run keeps a step-by-step log, so you can always tell what happened to a customer and why.
Open an automation and click Run history, or click the numbers strip under its name. The strip shows Runs, 30 days, Waiting now, Emails sent (with how many are still queued), Failed when there are any, and Recovered for Checkout abandoned automations.
The run history
Each row is one run, newest first:
| Part | What it shows |
|---|---|
| Time | When the run started, and how long ago. |
| Subject | What the run is about: the checkout's email with its subtotal, item count and status; "Order #1042" with the customer and total; or the product. |
| Last line | The latest line of the log, or the error. A waiting run adds when its next step is due ("Next step in 23 h"). |
| Status | See Statuses. |
Filter with All, Waiting, Done, Failed, Skipped and Cancelled; each shows its count. The list loads 30 runs at a time (Show older runs) and refreshes itself every 15 seconds; Refresh reloads it now. Times are in the store's time zone.
Statuses
| Status | Meaning |
|---|---|
| Running | Being worked on right now. |
| Waiting | Parked on a Wait step, or waiting to try a webhook again. The next step is due at the time shown. |
| Done | Finished. Either every step ran, or a condition stopped it on purpose, or a checkout reminder found the checkout had become an order. |
| Skipped | The automation was paused: when the event happened, or when a waiting run came due. Nothing ran. |
| Failed | A step failed and the run ended there. The error is on the row and at the top of the run. |
| Cancelled | A team member cancelled it. Its remaining steps never ran. |
A Done run can still have skipped steps in it, for example an email skipped because the customer unsubscribed. Open the run to see each step.
Reading a run
Click a row to open the run. The top names the trigger, when it started, what it is about (with a link to the order, product or checkouts list) and its status. Below is the log, one line per step, each with its time:
| Line | Meaning |
|---|---|
| Started | The run began, "Started by Checkout abandoned". |
| Waiting | A wait began, with when it ends: "Waiting 1 hour, until 27 Nov, 18:04". |
| True | A condition held. The line lists what it found. |
| Not true, took the No path | A split condition did not hold. |
| Stopped here | A condition did not hold and ended the run, or a checkout reminder stopped because the checkout became an order. |
| Done | An action ran: "Queued "Your cart is waiting" to [email protected]", "shop.example.com answered 200 in 140 ms". |
| Skipped | An action was skipped, with why: "[email protected] did not agree to marketing email". |
| Will try again | A webhook failed in a way worth retrying, with when. |
| Failed | An action failed, with why. |
| Cancelled | Who cancelled the run. |
For a waiting run, the steps it has not reached yet are listed after the log as up next. Event data at the bottom shows the event's payload as it was recorded.
A run keeps the steps it started with. If the automation changed since, the run says "The automation changed after this run started. It keeps the steps it started with."
Very long runs keep their first log line and the latest 199.
Cancel runs
- Cancel on a waiting row, or Cancel run in an open run, stops that run. Its next steps will not happen.
- Cancel N waiting at the top cancels every waiting run of the automation at once.
Cancelling cannot be undone, and it is recorded in the store's activity log. To stop new runs too, pause the automation. To let waiting runs finish but start no new ones, there is no separate switch: pausing skips waiting runs when they come due.
Why a run did not start
- The automation was a draft or paused when the event happened. A paused automation shows a skipped run; a draft shows nothing.
- The event happened before the automation was turned on.
- The trigger's filters did not pass. Filtered-out events leave no run.
- The trigger is a different event than you think: check the line under Starts when in the trigger panel.
Use Test in the builder with the event in question to see what each step would do.
Related
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.
Emails
The emails your store can send - templates written in the email editor, the layouts they sit in, the ready-made ones every store starts with, types and languages.