LemuAIDocs

Journeys · 5 min read

Branching and Timing

Control when each step of a journey runs and which path each contact takes: waits, reactions, A/B splits, exit events and catalog lookups

Open in ChatGPTOpen in ClaudeMarkdown

A journey rarely sends everything at once. Most good journeys pause, check what the contact did, and only then decide the next step. This page covers the steps that control timing and branching:

StepWhat it does
WaitPauses the contact for a fixed time, or until a date and time
Wait for reactionWaits until the contact does something (clicks, orders) or a timeout passes
A/B splitSends each contact down one of 2 to 5 branches, by weight
ConditionPicks a path based on data the journey already has
Look up catalog itemLoads a product (or other catalog item) so later steps can use its details
Exit eventsRemoves a contact from the journey as soon as a chosen event happens

All of these are in the Flow Control group of the Add New Node panel, except exit events, which you set on the trigger. For the full field reference of every step, see Journey Nodes & Triggers.

Wait#

The Wait step holds the contact at that point in the journey, then continues to the next step in the same run.

  • Set a duration in minutes, hours or days (you can combine them), or a date and time to wait until.
  • A wait can be as long as a year. Long waits do not use up any calling or sending capacity while they wait.
  • If the date you wait until is already in the past, the step finishes straight away.

Use Wait to space out steps inside one run, for example "send a WhatsApp, wait 1 day, then call". Use Schedule Follow-up when you want to try a step again a few times: set When the time is up to Continue from here, connect after wait back to the call, and set Max attempts. Use its Start the journey over mode when you want a fresh run later, for example "call back in 3 days and check what happened last time".

Wait for reaction#

Wait for reaction waits until the contact does one of the things you list, or until a time limit passes. It has two exits:

ExitWhen the contact takes it
reactedStraight away, as soon as one of the listed events happens for this contact
no_reactionWhen the time limit is up and none of the events happened

Counts as a reaction takes one or more contact event types. Only events that happen after this step starts count. Common choices:

  • link_clicked: a click on a link in a WhatsApp message or email this journey sent. See Link Click Tracking.
  • email_clicked: a click on a link in an email this journey sent.
  • Purchase: an order from your connected store, your website, your app or your own system. Older journeys may show order_placed, which matches the same orders.
  • Any event type you send yourself through the events API.

Wait at most sets the time limit in days, hours and minutes. The limit is 30 days.

The step also records which event the contact reacted with, so later steps can use it.

Example: one channel at a time#

A common pattern is to try the cheapest channel first and only fall back if the contact does not respond:

  1. Send a WhatsApp

    Add a WhatsApp step with your offer.

  2. Wait for a reaction

    Add Wait for reaction with Purchase as the reaction and a limit of 4 hours.

  3. Follow up only if needed

    Connect no_reaction to an Email or Call step. Connect reacted to an End step.

A/B split#

A/B split sends each contact down one of 2 to 5 branches so you can compare messages, offers or channels.

  • Each branch has a key (a to e), a label (for example "Discount" or "Free shipping") and a weight.
  • Weights are relative. A total of 100 is easiest to read, but 1 and 1 also gives a 50/50 split.
  • The same contact always goes down the same branch, even if they come through the journey again.
  • Connect each branch's handle (below the node) to the steps for that branch.

The step records which branch the contact got, so later steps and reports can use it.

The journey's Report tab compares branches on how many contacts placed an order. See Journey Reports.

A split needs at least two branches with a weight above 0, and each branch key must be different.

Condition#

Condition checks data the journey already has (from the trigger, a call, a lookup, or an earlier step) and routes to true or false. You can combine several checks with AND / OR. Use it to branch on things like call outcome, order value, or a contact field.

For the list of operators, see the condition step reference.

Use Condition for data you already have. Use Wait for reaction when you need to wait for the contact to do something.

Exit events#

Exit events end the journey for a contact as soon as something happens. You set them on the trigger, under Exit events (optional).

  • Add one or more event types, for example Purchase for a cart recovery journey.
  • If any of them happens for the contact, they leave the journey. This works during the trigger's delay and at any later step while the journey is waiting (for example during a Wait or Wait for reaction).
  • A contact who leaves does not get any of the remaining messages or calls.

For journeys started by a contact entering a segment, you can also turn on Exit when the contact leaves the segment.

Look up catalog item#

Look up catalog item loads one item from a catalog (such as your Products catalog) so later steps can use its details in messages and calls.

FieldWhat to enter
CatalogThe catalog to look in. Shopify stores get a Products catalog automatically
Item keyThe item's key, usually from the trigger, for example {{context.product_id}}
Save asWhere to store the item. Default catalog_item

Later steps use the item's fields, for example {{context.catalog_item.title}}, {{context.catalog_item.price}} or {{context.catalog_item.url}}.

The step has two exits: found and not_found. Use not_found to skip a message that would otherwise go out with empty product details.

Putting it together: cart recovery#

  1. Trigger on the event

    Use an Events trigger on InitiateCheckout with a 30 minute delay, and add Purchase as an exit event.

  2. Load the product

    Add Look up catalog item with the product id from the event.

  3. Test two offers

    Add an A/B split with "Discount" and "Free shipping" branches, each going to its own WhatsApp step.

  4. Wait, then call

    After each WhatsApp, add Wait for reaction on Purchase for 4 hours. Connect no_reaction to a Call step.

Anyone who orders at any point leaves the journey because of the exit event, so they never get the call.

Next steps#