When to use this workflow
Follow up when an identified shopper searches for something but does not complete a purchase. The email shows items related to the original search term rather than generic recommendations.
How the workflow works
- Start on an item.search event. Keep its query parameter for the lookup later in the workflow.
- Use an Event Filter to end the workflow if a product.buy event arrives in the example's 48-hour window. Adjust the waiting period to fit the buying journey.
- For the unmatched path, use an outgoing integration to retrieve matching products from the search index and insert them into the follow-up email.
What to check before sending
The search event needs to belong to a customer profile with an email address. Test both branches: completing a purchase must stop the workflow, and a follow-up must use the actual search term.