Skip to content
  • There are no suggestions because the search field is empty.

Change a message with if/else

Send one message that says different things to different people — a different door for the stalls, a drinks note only VIPs see. The Criteria Builder decides who gets a whole step; if/else changes the wording inside a single message everyone receives.

Criteria Builder vs if/else — which to use

Both target by customer, but at different levels:

  • Criteria Builder — sends an entire flow step to a chosen group (e.g. a text only to the stalls). Reach for this first; it's simpler.
  • if/else — keeps one message going to everyone, but swaps a line based on who's reading it. Use it when the message is 90% the same and you just want one detail to differ.
The building block

An if always has to be closed with an endif:

 

So this shows a line only to customers named John — everyone else sees nothing there:

  Add an alternative with else

To give everyone else different wording, add else:

Your name is not John. 

Now Johns get "Your name is John!" and everyone else gets "Your name is not John."

Where it earns its keep

A different door by seating area — stalls in one entrance, everyone else another:

If you're in the stalls, please use the south entranceplease use the north entrance 

(wrap the first half in the