Skip to main content
A flow’s steps run in order under its trigger. There are four kinds. An output can lead to several steps, each on its own path.

Condition

A condition checks its criteria, then goes on along True or False. Each output holds its own steps. An output with no steps ends that path. A new condition starts with one criterion. Add more with And another. With two or more, choose under True when: all of these criteria hold or at least one of these criteria holds. The fields you can test depend on the flow’s trigger: Notes on the fields:
  • Status is pending, shipped, ready_for_pickup, completed or cancelled. A purchase with no status matches Not equal to and Is none of.
  • Brand and Product UPC test the items of the purchase that are shared with your brand. Includes is true when at least one item matches. Contains matches part of a brand name.
  • In the last X days counts back from the day of the event.
  • Since account linked matches a purchase dated on or after the day the consumer linked the account.

Action

An action sends to one of your apps for each event that reaches it. An action needs its app to be installed: a step whose app is not connected sends nothing until you connect it. A Meta or TikTok action needs a dataset or pixel first. Not every action runs on every trigger; see Which actions run on each trigger.

Wait

A wait pauses a purchase until its status changes. It is available on Purchase shared flows only. While a purchase waits, Subtotal keeps checking the order’s status with the retailer, as long as the retail account stays linked. A Wait step open in the builder: Max wait 30 days, For status Equal to Completed. What happens when a purchase reaches a wait: completed and cancelled are final. To act on cancelled orders too, wait for both statuses and add a Status condition after the wait.

Retailer status limits

At some retailers an order’s status stops updating once the order is old. A waiting purchase there can end unsent at the max wait.

Example: reward a purchase only when it completes

  1. Trigger: Purchase shared.
  2. Wait, with For status set to Completed.
  3. Action: Award points.
A purchase that is cancelled never meets the condition, so it earns nothing. A purchase at a retailer outside the status list never has a status, so to wait only where one exists, put the wait under a condition with a Retailer criterion.

Go back to

Go back to ends a path by returning to an earlier step on the same path. Use it to check a purchase again after each status change. The earlier step, or a step between it and Go back to, must be a Wait, so that each loop pauses. After a Go back to, the wait holds until the next status change, even if the purchase already meets For status.

Example: send an event at each status change

  1. Trigger: Purchase shared.
  2. Wait, with For status set to Is any of Shipped, Ready for pickup, Completed, Cancelled.
  3. Action: Send event.
  4. Go back to step 2.
Each lap waits up to the max wait for the next status change.

Paths

The trigger, an action, a wait and each output of a condition can lead to up to 10 steps. Each of those steps starts its own path, and the paths run at the same time:
  • A wait holds its own path only. The other paths go on.
  • A path that ends ends that path only. A failed send to an app does not stop the steps after it.

Example: send an event now and reward the purchase when it completes

  1. Trigger: Purchase shared.
  2. Two steps under the trigger:
    • Action: Send event.
    • Wait, with For status set to Completed, then the action Award points.
The event goes out when the purchase is shared. The points wait for the order to complete.