Skip to Content
StarsellDocs
MarketingAutomations

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.

A Condition step checks something about what the automation is working on, at the moment the step runs. Add one with + and Condition, then add checks in its panel.

Conditions read the store as it is when the step runs, not when the automation started. A condition after a one-hour wait sees whether the checkout became an order during that hour. That is what makes "wait, then check" work.

Stop or split

Under What happens, pick one:

ModeWhat happens when the checks are trueWhen they are not true
Stop if not trueThe run goes on with the next step.The run ends here. Nothing below happens. The run counts as done.
Split into Yes and NoThe run takes the Yes path.The run takes the No path.

A split draws two columns under the condition card. Add steps to each with its own + buttons. A path can be left empty ("Nothing, carry on"). After its path, the run carries on with the steps below the split, whichever path it took.

When: Order placed
  Condition (split): Order total is more than ₪500
    Yes: Alert the team "Big order {{ order.number }}"
    No:  (nothing)
  Wait 1 hour
  Send email: Order confirmation
End

Rules for splits:

  • A split can only sit on the main line, not inside another split's path.
  • A condition inside a Yes or No path can only stop. When it is not true, the whole run ends, including the steps below the split.
  • A split needs at least one step under Yes or No.
  • Removing a split removes the steps in its paths too.

Adding checks

Click Add a check (or Start with ... on an empty condition), pick what to check, how to compare, and the value.

With two or more checks, choose Go on when all are true or any is true. Cards read "Order total is more than ₪500 and 1 more" (or "or 1 more").

The same checks work as trigger filters under Only when, where every filter has to be true. See Triggers.

Fields

The list only offers fields that fit the trigger. A field that does not fit (for example after you changed the trigger) is flagged on the card.

Checkout

For checkout triggers.

FieldTypeNotes
Checkout is still abandonedYes / NoAbandoned now, not recovered and not turned into an order. When it is not, the log says why: "it became an order", "they came back to it", "it expired" or "they are still shopping".
Checkout became an orderYes / No
Checkout statusIs / is notOpen, Abandoned, Recovered, Converted, Expired
Checkout subtotalMoneyIn the store's currency, converted at the market's rate for checkouts in another currency.
Items in checkoutNumberTotal quantity.

Order

For order triggers and First order.

FieldTypeNotes
Order totalMoneyIn the store's currency.
Items in orderNumberTotal quantity.
Order statusIs / is notOpen, Fulfilled, Cancelled
PaymentIs / is notPaid, Waiting for payment, Refunded, Test payment
Shipping statusIs / is notNot shipped, With the supplier, Shipped, Delivered, Returned
Sales channelIs / is notOnline store, Synce game, Instagram, TikTok, Added by hand
Test orderYes / NoA test-mode order or a test payment.

Customer

For checkout, order and First order triggers. The customer is matched by email address.

FieldTypeNotes
CountryIs / is notWhere the order ships, or the country typed at checkout.
Customer agreed to marketingYes / NoThe marketing checkbox at checkout. For an order, the checkout it came from.
Customer has an email addressYes / NoA checkout can have only a phone number.
First order from this customerYes / NoOrder triggers and First order only.
Orders from this customerNumberEvery order from the same email address, this one included.
Ordered again sinceYes / NoAnother order from the same email address after this one (or after the event, when there is no order).

Product

For product triggers.

FieldTypeNotes
Stock leftNumberOf the version the event is about.
Product statusIs / is notActive, Draft, Archived
Fulfilled byIs / is notYour stock, CJ
Product titleTextIn the store's main language.

Event data

Under Advanced, A value in the event data checks any value in the event's payload by its path, such as order.total_minor or checkout.country. It compares with is, is not, is more than, is less than, contains, is set and is not set. Unlike the fields above, it reads the event as it was when it happened. See Events for what each payload holds.

How values compare

TypeComparisons
Yes / NoYes or No
Moneyis more than, is at least, is less than, is at most, is. Typed in the store's currency.
NumberThe same five.
Textis, is not, contains, does not contain. Not case-sensitive.
Is / is notPick one or more values: is passes when it is any of them, is not when it is none of them.

Missing data does not pass

A check on something that is not there fails, for example Orders from this customer on a checkout with only a phone number. The log says so ("no email address to check"). The exceptions are is not and is not set, which pass when the value is unknown.

What the log shows

Each condition writes what it found into the run's log, failing checks first when it did not hold, for example "Checkout is still abandoned: no, it became an order; Customer agreed to marketing: yes". A stopped run reads Stopped here; a split reads True or Not true, took the No path. See Runs.

Tips

  • After every wait, check intent again. A reminder sequence should check Checkout is still abandoned before each email, not only the first.
  • Put marketing checks in a condition, not a filter, when there is a wait first: the customer's details are read fresh after it.
  • Use Test in the builder with two events, one that should pass and one that should not, and read the result on each card.

On this page