LemuAIDocs

Recipes · 2 min read · For everyone

Look up an order or product in a journey

Find the product a customer viewed or asked about, by SKU or name, and use its title, price, image and link in a WhatsApp message.

Open in ChatGPTOpen in ClaudeMarkdown

At the end you'll have a journey that finds a product in your catalog (by ID, SKU or name) and sends a WhatsApp message with its name, price and link. The same pattern works for any catalog or record type, like orders or loans.

Before you start#

  • A catalog under Audience → Catalog, for example the Products catalog synced from Shopify, with fields like sku, title, price, url, image_url.
  • An approved WhatsApp template, for example: "Still thinking about {{1}}? It's ₹{{2}} today: {{3}}"

Two ways to get the value to look up#

Journey starts fromWhere the product comes from
An event about the product (ViewContent, AddToCart)The event itself: {{context.content_ids}} or {{context.product_id}}
Something else (entering a segment, a schedule)A Look up events step first: the product they viewed most

Steps#

  1. Trigger

    Engage → Journeys → New Journey, trigger Enters or leaves a segment (for example "Viewed but didn't buy, last 7 days").

  2. Find the product they viewed most

    Add Look up events: event ViewContent, look back 7 days, group by content_ids. found → next step; not_found → End.

  3. Look it up in the catalog

    Add Catalog lookup: catalog Products, key {{context.events.top.value}}. Under Find the item by, tick sku, then group_id if your events send SKUs or style codes instead of product IDs. found → next; not_found → End.

  4. Send it

    Add a WhatsApp step: {{1}} = {{context.catalog_item.title}}, {{2}} = {{context.catalog_item.price}}, {{3}} = {{context.catalog_item.url}}.

  5. Go live

    Check Track link clicks is on in the journey's Settings (it is by default), then Go live.

Find by name instead of ID#

If customers or events give a product name (for example a WhatsApp reply "Blue kurta" extracted by an AI step), set Find the item by to title. Matching is exact but ignores case, so "blue kurta" finds "Blue Kurta". The run shows which column matched (matched_field).

Check it worked#

View a product on your site with your phone known (logged in or after a message click), join the segment, and check Journey Runs: the Catalog lookup step shows found and the item.

Common problems#

What you seeFix
Catalog lookup goes to not_foundThe value doesn't match exactly in the chosen columns. Compare the event's value with the catalog's sku / key; add another column under Find the item by
Price shows emptyThe catalog item has no price field or it's empty
Look up events goes to not_foundThe contact has no ViewContent events in the window. Check the Event Log