For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cart abandonment automation

The wait-then-remind pattern: catch users who did not complete an action, and stop chasing the ones who did.

Your goal

Bring back users who showed intent and did not follow through - and stop contacting them the moment they do.

Expected outcome

An active automation that adds users on an intent event, holds them for a few hours, sends a reminder through a custom action to those who have not converted, and removes anyone who converts in the meantime.

When this is useful

The scenario. Cadabra Inc is a major online retailer. They noticed that a lot of their users stop browsing after adding items to their carts, and would like to have them complete their purchases.

The automation should:

  • Add to the automation users who have added an item to their cart.

  • Wait a few hours - say 2 - in case those users complete their order. If they do, they should exit the scenario before the next action.

  • Send the remaining users a reminder, or a promotion code, to entice them into completing the order.

Prerequisites

  • Automations enabled on your organisation, and the UserScenario schema requirement satisfied. See Automations reference.

  • The events you will trigger and exit on being ingested, and their fields carrying @TreeIndex in the runtime schema.

  • A custom action built for your organisation, for the Custom action node. Your Account Manager can help you get started.

The build

1

Trigger on the intent event

Choose React to an event as the trigger, configured on a $basket_view event.

An event trigger, rather than a segment trigger, because the scenario has to act within hours - segment triggers run at the pace of segment computation. See Triggers.

2

Wait

Add a Wait node configured to 2 hours - long enough for a genuine purchase to happen, short enough for the reminder to still be relevant.

3

Add the exit condition

Add an exit condition on a $transaction_confirmed event. Because an exit condition is evaluated at any moment regardless of the user's position, a user who buys during the wait leaves before the reminder node is reached.

4

Send the reminder

Add a Custom action node configured to send the reminder.

5

Test, then activate

Force a user through with the Test button and follow the notifications in that user's timeline. Then save and activate. See Lifecycle, testing & analytics.

The same pattern, one step earlier in the funnel

Post-visit reminder. Cadabra Inc also noticed that many users look at item pages without adding anything to their basket, and want to draw them into the purchase funnel. Same shape, different values:

  • Entry triggered by a $page_view event.

  • Wait node configured to 3 hours - not too pushy, and long enough to let the user add items themselves.

  • Custom action node configured to send a reminder with the products consulted during the last visit.

  • Exit condition on a $transaction_confirmed event.

The two differ only in the entry event and the wait duration. That is the general form of this pattern:

Element
Cart abandonment
Post-visit

Entry event

$basket_view

$page_view

Wait

2 hours

3 hours

Exit condition

$transaction_confirmed

$transaction_confirmed

Action

Reminder or promotion code

Reminder listing consulted products

Verification

  • The test user's timeline shows the entry, the wait, and the reminder.

  • Once active, the per-node counters advance. Remember they count passages, not unique users.

  • The exit condition's detailed stats show users leaving - which is the signal that people are converting during the wait rather than that the scenario is broken.

Troubleshooting

Symptom
Likely cause

Buyers receive the reminder anyway

The exit condition is missing, or configured on a different event than the one your schema actually records.

A user who abandoned a second cart never re-enters

They are still inside the scenario. See Re-entry.

The trigger query cannot be saved

A field in it does not carry @TreeIndex in the runtime schema.

Users are woken late from the wait node

More than 50,000 users per hour are passing that node. See Usage limits.

Last updated

Was this helpful?