Every guide, recipe and troubleshooting page: how to set up and use LemuAI, and how to fix what goes wrong.
Checked against LemuAI app version 1.0.53. The latest version is always at https://docs.lemuai.com. Plain-text copies for AI assistants: https://docs.lemuai.com/llms-users.txt
Introduction
Reach customers by voice, WhatsApp and email with AI agents and journeys built on your own customer data
Lemu AI is a platform for building voice AI agents and journeys: conversational phone agents backed by an easy drag-and-drop workflow builder, plus a journey layer that can trigger calls, messages, and HTTP actions from your own data and events.
Lemu AI is multichannel. Voice agents handle calls, and journeys can also send WhatsApp messages and email, and pick up replies in the Inbox. Your audience comes from your own customer data: contacts with their consent for each channel, segments that update themselves as people match your rules, and custom records such as orders or subscriptions. Events from your system, your Shopify store and the website pixel keep that data current.
With Lemu AI you can:
Design a conversation flow visually and connect a phone number in minutes
Run calls at scale with campaigns, using your own contact lists
Extend beyond voice with journeys that send WhatsApp messages and email, call APIs, and react to events, webhooks and schedules
Build agents, journeys, tools and contact lists from one chat with AI Copilot
Test your agents automatically with AI personas before they ever talk to a real caller
Every page of these docs is written so an AI assistant can read it and help you: exact menu paths and button names, every field explained, worked examples, and every error message quoted exactly as the app shows it. Give your assistant the docs, describe what you want or paste the error, and it can guide you.
Copy all docs for AI (top of every page) copies every page for your audience into one block of text to paste into a chat. Or give the assistant one of these links:
Cursor, VS Code, Windsurf: add https://docs.lemuai.com/llms-developers.txt as a docs source (in Cursor: @Docs → Add new doc).
Claude or ChatGPT connected to your workspace: the LemuAI MCP server also has a search_docs tool, so the assistant can look up these docs while it works in your workspace.
The whole user guide and the developer reference are also each on one printable page: /handbook/guide and /handbook/developers. Open one and use your browser's Print → Save as PDF. They're built from the same pages as this site, so they're always current.
llms-users.txt is about 90,000 words and llms-developers.txt about 35,000. Claude, Gemini and ChatGPT's larger models read them whole. For assistants with a smaller limit, give one page (Copy page) or a few pages from /llms.txt instead.
Copy one, fill in the brackets, and send it with the docs.
Do something in the app
Text
Using the LemuAI docs at https://docs.lemuai.com/llms-users.txt,walk me through [sending a WhatsApp reminder 3 days before each EMI due date].Give me the exact menu path and button names for each step,tell me what I need set up first, and how to check it worked.
Fix an error
Text
I use LemuAI. I got this error: "[paste the exact message]"I was [what you were doing, e.g. sending a WhatsApp campaign].Using https://docs.lemuai.com/llms-users.txt (the Troubleshooting pages quote every message),tell me what it means, why it happened, how to fix it, and who in my team can fix it.
Plan a campaign
Text
Read https://docs.lemuai.com/llms-users.txt. I run [a footwear brand selling to retailers in North India].Suggest 3 journeys I should build in LemuAI to [win back retailers who haven't ordered in 60 days],with the trigger, each step, and the segment rules, using only features the docs describe.
Write code against the API
Text
Using https://docs.lemuai.com/llms-developers.txt and https://docs.lemuai.com/openapi.json,write a [Python] script that sends a Purchase event to LemuAI for each new order in my system,with retries and the right headers.
Explain in my language
Text
Read https://docs.lemuai.com/segments/overview.md and explain in simple Hindihow to make a segment of customers who ordered twice but not in the last 30 days.
Paste the exact error. The troubleshooting pages quote messages word for word, so the assistant can match them.
Say what you were doing and which page of the app you were on.
Ask it to quote the docs page it used, so you can check.
If the assistant suggests a button or menu that doesn't exist, tell it to use only what the docs say. The docs reflect the app version shown at the bottom of each page.
Glossary
What every LemuAI term means, in one place: contacts, segments, records, journeys, runs, consent, the 24-hour window, balances and more.
https://docs.lemuai.com/getting-started/glossary
Terms are in alphabetical order. Each links to the page that explains it in full.
Term
Meaning
24-hour window
WhatsApp lets you send free-form messages only within 24 hours of the customer's last message. After that, only approved templates. Also called the reply window or customer service window
A/B split
A journey step that splits contacts between 2 to 5 branches by weight, to see which message or timing works better. Each contact always gets the same branch
The hours and days a journey may call, message or email, per channel, in its time zone. Outside them, steps wait
API key
A secret that lets your own systems use the LemuAI API (X-API-Key header). Created under Settings → API Keys. See Authentication
Attribution window
How long after a message or answered call an order is still credited to it (default WhatsApp 72 h, email 120 h, calls 72 h). See Journey goals and revenue
Autopilot
Copilot launching and running campaigns on its own, within a budget you set. See Autopilot
Balance
Prepaid money or credits for a channel: Voice minutes, WhatsApp balance, Email credits, SMS credits, AI balance. Added under Usage & Plan → Usage & balances
Calculated field
One number or date per contact worked out from their events or records, like total spent. See Calculated fields
Caller ID
The phone number your calls come from. Must be a number on your telephony provider account
Campaign
Calling, WhatsApp-ing or emailing a list or segment once. Under Engage → Campaigns (Voice, WhatsApp, Email tabs). See Campaigns
Catalog
Your products (or any items) with price, stock, image and link, often synced from Shopify. See Catalog
Consent
Whether a contact agreed to be contacted on a channel (WhatsApp, email, calls). Marketing needs a yes; an opt-out is always respected
Contact
One person, found by phone, email or external ID. See Contacts
Conversion event
The event that counts as an order for revenue, Purchase by default. See Sending Limits
Copilot
The AI in the app that plans and builds agents, journeys, segments, templates and campaigns from a chat. See AI Copilot
Custom field
Your own field on a contact, like city or loyalty_tier
Custom record
Something a contact has several of, like orders, loans or bookings, in a record type you define. See Custom Records
Disposition
The outcome a call ended with, like interested or call back
Event
Something a contact did, like Purchase, AddToCart or link_clicked, with properties. See the Event Log
Experience
A popup, bar, block or widget on your website. See Experiences
External ID
The ID of a person in your own system (CRM, store), used to match updates to the right contact
Extraction / variables
Details a voice agent saves from a call, like preferred_date. See Agent Node
Frequency cap
The most marketing messages (or calls) one contact gets on a channel in a period. Set under Settings → Sending Limits
Global Node
Instructions every step of a voice agent follows. See Global Node
Inbox
Where your team and the AI assistant read and answer WhatsApp conversations. See Inbox
Journey
Automatic steps (calls, messages, waits, conditions) that run for each contact who qualifies, from a trigger. See Journeys
Landing page
A web page built in LemuAI with a form. See Landing pages
Lines
How many calls your telephony account allows at the same time
List
A named group of contacts you add people to (by import, sheet or hand)
MCP
A way for AI assistants like Claude or ChatGPT to use your LemuAI workspace. See AI Assistants (MCP)
Offer / offer head
A discount and its code; the head is the slot messages link to ({{ offer.welcome.code }}). See Offers
Opted out
A contact who asked not to be contacted (on one channel or all). LemuAI never sends to them on that channel. On WhatsApp an opt-out stops marketing; replies, order updates and codes still go
Prediction
Churn risk, next order date, lifetime value and RFM, per buyer. See Predictions
Quality rating
Meta's rating of a WhatsApp number, lowered when people block or report messages
Record type
The definition of a kind of custom record (its fields and key), like loans
RFM
Recency, frequency and monetary scores (1-5) and segments like Champions or At risk
Role
What a team member can do: Owner, Admin, Member, Editor, Viewer or Finance. See Team
Run
One go through an agent (a call) or a journey (one contact). See Runs
Segment
A live group of contacts that match rules, updated every 15 minutes. See Segments
Sender
The email address emails come from, on a verified domain. See Email Setup
Step / node
One box in a journey or voice agent
Suppressed
An email address LemuAI won't send to, after a hard bounce or spam complaint
Telephony provider
The phone company account calls go through (Plivo, Exotel, Twilio…). See Telephony
Template (WhatsApp)
A message approved by Meta, needed outside the 24-hour window and for marketing. Has variables like {{1}}
Template variable
A {{…}} placeholder filled in per contact, like {{first_name}}. See Template Variables
Tool
Something a voice agent can do during a call: transfer, end the call, call your API, look up a catalog. See Tools
Tracking source
Your website or app sending events to LemuAI (snippet or SDK), with a write key. See Tracking Sources
Transactional
Order and account updates, as opposed to marketing. Transactional emails don't need marketing consent
Trigger
What starts a journey: an event, entering a segment, a WhatsApp message, a record date, a schedule, a webhook…
Voice agent
An AI that makes or answers phone calls, built from steps with prompts. See Voice Agent Builder
Workspace / organization
Your company's space in LemuAI, with its own contacts, agents, journeys and team. You can belong to several
What's new
Changes in each LemuAI app version, newest first. The version you're on is shown at the bottom of the app's sidebar.
https://docs.lemuai.com/getting-started/whats-new
The app's version is at the bottom of the sidebar. Each docs page says which version it was last checked against.
Segments: the rule types now say where they look: In a list (Contacts) and Has records (Custom records). The rule type picker is wider so the names fit. See Segments.
All contacts:Audience → Contacts opens on All contacts, with search across name, phone (including the last 4 digits), email, company and external ID, and sortable columns. See Contacts.
Contact timeline: a contact opens on a Timeline of orders, website visits, WhatsApp, email and SMS messages (with their text) and calls, with filters by kind.
Custom records filters: each filter row has its own and / or; "and" is checked first. The and/or picker is wider. See Custom Records.
Earlier versions added, among others: Offers, Experiences and Landing pages, Ad audiences, Predictions and calculated fields, journey goals and link tracking, Copilot autopilot, the Lemu Tickets integration, app SDKs and standard conversion events, and the Event Log side panel.
How Lemu Works
The big picture, from your customer data to a call, message or email and its result
Lemu is a platform for building and running voice AI agents. You define a conversation flow, connect a phone number, and Lemu handles the rest: transcribing the caller's speech (STT), generating intelligent responses (LLM), speaking them back in a natural voice (TTS), and returning structured results when the call ends.
Calls are one channel. Journeys decide who to reach, when and how: a journey can place a call with a voice agent, send a WhatsApp message or an email, wait, and branch on what happened. Replies come back to the Inbox.
The audience is your customer data:
Contacts: the people you reach, matched across phone, email, your own ids and website visits, with consent recorded for each channel.
Segments: groups defined by rules (for example "ordered in the last 30 days"), kept up to date as people match or stop matching.
Custom records: orders, subscriptions, bookings and other data linked to a contact, which journeys, segments and messages can use.
Events keep this data current. They come from your own system through the API, from Shopify, from the website pixel, and from every message and call. You can see them in the Event Log.
The rest of this page explains what happens during a call.
Workflows (Agents)
The conversation logic. A workflow is a graph of nodes (conversation steps) connected by edges (conditional transitions). You define what the agent says, when it moves on, and what data it collects.
Runs
Every execution of a workflow creates a run. The run record holds the transcript, recording, extracted data, and cost information.
Telephony
The phone infrastructure. Lemu connects to your telephony provider (Twilio, Vonage, etc.) to place and receive calls. The audio streams between the caller and Lemu in real time.
Transcriber (STT)
Converts the caller's speech to text in real time. Lemu sends the audio stream to your configured speech-to-text provider and uses the transcript to drive both the LLM and the final run record.
LLM Provider
Processes the transcript and the active node's prompt to generate the agent's next response. It also evaluates edge conditions to decide when to move the conversation forward.
Voice Synthesizer (TTS)
Converts the LLM's text response to audio and streams it back to the caller. The choice of TTS provider and voice is configurable per agent.
In Lemu, what you see as an agent in the dashboard is called a workflow in the API. They are the same thing — a workflow is the underlying definition, agent is the product name for it.
Anywhere the API says workflow, think "agent". Anywhere the API says workflow_definition, think "the conversation logic inside your agent".
A workflow is a directed graph — a set of nodes connected by edges.
1
Start Call
Caller greets
2
Qualify Intent
3
Then one of
Wants support
Support Agent
Wants sales
Sales Agent
Issue resolved / demo booked
4
End Call
Nodes are the steps in the conversation. Each node has a prompt that tells the LLM what to say and do at that point.
Edges are the transitions between nodes. Each edge has a condition — a natural language description of when to move on. The LLM evaluates whether the condition has been met based on the conversation so far.
Every time you update a workflow's workflow_definition, Lemu saves a new version while keeping the history. The current version is always what runs. Old versions are retained for auditing.
Every time a workflow executes, Lemu creates a run. The run is the record of that execution: what was said, what data was collected, how long it took, and what it cost.
A call is the audio connection — whether over the phone via a telephony provider, or through the browser via Web Call.
A run is the Lemu record of the workflow execution. Every call — outbound, inbound, web, or campaign — creates a run with the same contents: transcript, recording, gathered context, usage, and cost. Campaign runs are additionally linked to their parent campaign.
Outbound calls are initiated by Lemu — you trigger them via the API or dashboard with a phone number and agent. Used for proactive outreach, reminders, and campaigns.
Inbound calls are initiated by the caller — your telephony provider routes incoming calls to a Lemu agent via a webhook URL. Used for support lines, hotlines, and IVR replacement.
Web Call lets you talk to your agent directly from the browser — no phone number or telephony setup required. It runs the full pipeline: STT, LLM, TTS, recording, and transcript, exactly the same as a phone call.
Use it to try out your agent before going live. The run view shows the live transcript as the conversation progresses, node transitions as the workflow moves through the graph, and any tool or function calls the agent makes in real time.
Lemu has a simple data model for passing information through a call. Understanding it is key to building agents that feel personalised and to extracting useful results after a call.
Data available to the agent before the call starts — the contact's name, account details, appointment information, anything the agent should know upfront. It can be set from several places:
API trigger — pass it in the request body when calling POST /public/agent/{uuid} or POST /telephony/initiate-call
Campaign CSV — columns beyond phone_number automatically become initial_context fields for each contact's call
Dashboard — set default template context variables on the agent, used when no external context is provided
Values from initial_context are available in your agent's prompt using {{double_brace}} syntax.
Text
You are calling {{customer_name}} about their {{plan}} plan,which renews on {{renewal_date}}. Be friendly and confirmwhether they'd like to continue.
When the call starts, Lemu substitutes the values before sending the prompt to the LLM — so the agent speaks naturally as if it already knows the contact.
Data the agent collects during the call. You configure what to extract in the agent node's extraction settings — each variable has a name, type, and a prompt that tells the LLM what to look for.
gathered_context is returned in the run record after the call completes and is available in webhook payloads for downstream processing.
Evaluated against the live conversation — no explicit variable syntax needed
Webhook payload templates
All context objects via {{initial_context.field}}, {{gathered_context.field}} etc.
Campaign CSV columns
CSV columns beyond phone_number become initial_context fields automatically
Campaigns
Running a voice agent against a list of contacts at scale
https://docs.lemuai.com/core-concepts/campaigns
A campaign is how you run a workflow against many contacts automatically. Instead of triggering calls one by one via the API, you upload a list of phone numbers and Lemu dials them for you — respecting scheduling windows, concurrency limits, and retry rules.
Columns beyond phone_number are automatically passed as initial_context to each call, making them available as template variables in your agent's prompt — so each call can feel personalised at scale.
Lemu doesn't call contacts who opted out of calls or of everything, whether the campaign uses a contact list, a Google Sheet or a CSV file (matched by phone number). They're left out when the campaign loads its rows. Someone who opts out while the campaign runs is skipped just before their call, and that row counts as failed.
The circuit breaker automatically pauses a campaign when the call failure rate gets too high — protecting against wasted spend and telephony reputation issues caused by a misconfigured agent or a bad contact list.
When enabled, Lemu monitors the failure rate within a rolling time window. If it exceeds the threshold, the campaign is paused automatically and must be manually resumed after the issue is investigated.
Setting
Default
Description
Failure Threshold (%)
50
Pause when the failure rate within the window exceeds this percentage
Window (seconds)
120
Rolling time window over which the failure rate is calculated
Min Calls in Window
5
Minimum number of calls required before the circuit breaker can trip — prevents false positives on small samples
A campaign paused by the circuit breaker behaves the same as a manually paused campaign — in-flight calls complete normally, and it can be resumed once the underlying issue is resolved.
Each contact's call creates a run record with the full transcript, recording, and gathered context, the same as a manually triggered call. Open the campaign in the dashboard to see every call and its outcome. To receive results in your own system as calls finish, add a Webhook node to the agent.
Recipes
Step-by-step setups for common goals: COD confirmation calls, abandoned carts, EMI reminders, repeat-buyer segments, order lookups and win-backs.
https://docs.lemuai.com/recipes/overview
Each recipe is a complete setup for one goal: what you need first, every step with the exact menu paths, how to check it worked, and what usually goes wrong. Change the names, messages and numbers to fit your business.
At the end you'll have a journey that, five minutes after a cash-on-delivery (COD) order, calls the customer, confirms the order (tag cod-confirmed) or cancels it with the reason, and sends a WhatsApp message if nobody answers. Fewer fake orders and fewer returned parcels.
Your Shopify store connected under Settings → Integrations (see Shopify), with Order placed events on. To confirm or cancel orders, the app needs the write_orders permission.
Telephony set up under Voice Agents → Telephony with a caller ID (see Telephony), and Voice minutes in Usage & Plan.
For the fallback message: WhatsApp connected and an approved template, for example "Hi {{1}}, please confirm your order {{2}} of ₹{{3}}" with Confirm and Cancel buttons.
Open Voice Agents → Agents and create an agent named COD confirmation (Copilot can build it: "An agent that confirms cash on delivery orders in Hindi or English").
In Start Call:
Greeting:Namaste {{first_name}}, this is Riya from Asian Footwears about your order {{order_name}}. (use your store's name)
Prompt:Confirm the customer wants the order of {{total_price}} rupees delivered with cash on delivery. If yes, thank them. If they want to cancel, ask why politely.
Open Engage → Journeys → New Journey. Choose the trigger Events, event Purchase, with the condition payment_method is cod. Set the delay to 5 minutes and add shopify.order.cancelled as an exit event, so a cancelled order isn't called.
Add the call
Add a Call step: choose the COD confirmation agent and phone {{context.phone}}. List the variables the agent's prompts use (first_name, order_name, total_price) so they're filled from the order event, and confirmed and cancel_reason as outcomes to bring back into the journey.
Act on the answer
From the call's completed exit, add a Condition: {{context.confirmed}} is true.
true → Shopify step, action Confirm order (adds the tag cod-confirmed).
false → Shopify step, action Cancel order, reason from {{context.cancel_reason}} (only unpaid, unshipped orders can be cancelled).
Handle no answer
From the call's no_answer, busy and voicemail exits, add a WhatsApp step with your confirmation template, then Wait for reply (24 hours): the Confirm button → Shopify Confirm order; Cancel → Cancel order; timeout → Shopify Tag order with not-reached.
Set allowed hours and go live
In the journey's Workflow Settings, set Allowed hours for calls (for example 10:00 to 19:00). Then Go live.
Check Order placed is ticked in the Shopify integration's Store events, and the order's payment method name contains cash on delivery or cod (see Cash-on-delivery payment methods)
At the end you'll have a journey that sends a WhatsApp reminder one hour after someone starts checkout without ordering, waits for them to click, emails them if they don't, and leaves them alone the moment they buy. Orders after the reminder are credited to it in the journey's report.
Checkout events reaching LemuAI: from Shopify (Checkout started in Store events) or from your site's tracking snippet or SDK sending InitiateCheckout with the shopper's phone.
WhatsApp connected and an approved Marketing template, for example:
Hi {{1}}, you left something in your cart. Complete your order here: {{2}}
Optional: an email template for the follow-up, and a sender under Engage → Email → Setup.
Engage → Journeys → New Journey, trigger Events, event InitiateCheckout. Delay: 60 minutes. Exit events: Purchase, so anyone who orders leaves the journey at once.
Check link tracking
Open the journey's Settings and check Track link clicks is on (it is by default). Optionally turn on Own attribution windows with WhatsApp at 24 hours. See Link Click Tracking.
Send the WhatsApp reminder
Add a WhatsApp step with your template. Set {{1}} to the contact's first name (with a fallback like there) and {{2}} to the cart link: {{context.checkout_url}} for Shopify checkouts, or the URL your site sends.
Wait for a click
Add Wait for reaction: events link_clicked, timeout 6 hours.
reacted → End (they're back on the site; the exit event stops the journey if they buy).
no_reaction → next step.
Email follow-up
Add an Email step with your cart email template (kind Marketing), then End.
Go live
Check Allowed hours for WhatsApp and email (for example 09:00 to 21:00), then Go live.
Check the order arrives as Purchase with order_id and value, within the attribution window
EMI or payment reminder from a Google Sheet
Keep due dates in a Google Sheet, remind each customer on WhatsApp 3 days before the due date, call those who don't respond, and write the result back to the sheet.
At the end you'll have reminders going out automatically 3 days before each customer's EMI or payment due date: a WhatsApp message first, a call from an AI agent if they don't react, and the outcome written back to your Google Sheet.
There are two ways to keep due dates in LemuAI. This recipe uses custom records (one record per loan or invoice, with its due date), because a customer can have several. The sheet feeds the records; journeys run on the record's date.
Audience → Custom records → New record type named Loans, from the spreadsheet: fields loan_id (the identifier), emi_amount (Number), due_date (Date), status (Choice: active, paid, overdue). The owner is matched by phone. See Custom Records.
Load the rows
Import the sheet (or a CSV export of it) into Loans, mapping each column. Re-import when the sheet changes, or send changes with the records API.
Create the journey
Engage → Journeys → New Journey, trigger Record date: record type Loans, date field due_date, 3 days before, start at 10:00 in Asia/Kolkata, with the filter status is active. Each record starts one run per due date; changing the date sets it up again.
WhatsApp reminder
Add a WhatsApp step with the template. {{1}} = first name, {{2}} = {{context.object.emi_amount}}, {{3}} = {{context.object.due_date}}.
Wait for a reply
Add Wait for reply (24 hours).
text → AI step in Classify mode with labels paid, will_pay, problem. On paid: Update recordstatus = paid, then End.
timeout → next step.
Call
Add a Call step with your payment reminder agent (pass emi_amount and due_date; bring back promised_date).
Write back to the sheet
Add Update Google Sheet: columns last_reminder = now(), promised_date = {{context.promised_date}}. The row is found by the contact's phone.
Go live
Set Allowed hours (calls 10:00 to 19:00 are typical for collections), then Go live.
Add a test row with your phone and a due date 3 days from today, and load it.
At the start time (10:00) on the day 3 days before the due date, you get the WhatsApp message. Record date journeys check every 15 minutes after the start time; a record added later that day still starts.
Don't reply: after 24 hours your phone rings. Promise a date.
The sheet row now has last_reminder and promised_date, and Journey Runs shows each step.
At the end you'll have a segment that always holds your customers in Delhi who placed at least two orders, updated every 15 minutes, ready for a campaign, a journey or an ad audience.
Audience → Segments → New segment. Name: Repeat buyers, Delhi.
City rule
+ Rule → Contact property → city → is in → Delhi, New Delhi, Gurgaon, Noida. Matching ignores upper and lower case; list every spelling your data has.
Orders rule
+ Rule → Did an event → didPurchaseat least 2 times. Leave the days empty for "ever", or set in the last 365 days.
Check the joiner and save
Keep the word between the two rules as and. The right panel shows how many match and a few examples; In plain words should read like "city is in Delhi, New Delhi, Gurgaon, Noida, and did Purchase at least 2 times". Click Create segment.
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.
Engage → Journeys → New Journey, trigger Enters or leaves a segment (for example "Viewed but didn't buy, last 7 days").
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.
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.
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).
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.
The 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 empty
The catalog item has no price field or it's empty
Look up events goes to not_found
The contact has no ViewContent events in the window. Check the Event Log
Win back inactive retailers
Retailers or customers who haven't ordered in 60 days get a WhatsApp offer with their own code, then a call from an AI agent if they don't respond.
At the end you'll have a journey that notices when a regular buyer (for example a retailer who orders from you every month) hasn't ordered in 60 days, sends them a WhatsApp offer with a unique code, and has an AI agent call the ones who don't respond. Orders that follow are credited to the journey.
Audience → Segments → New segmentInactive retailers 60d:
Contact propertyorders_total≥3 (they were regulars),
andContact propertylast_order_datenot in the last60 days.
Journey trigger
Engage → Journeys → New Journey, trigger Enters or leaves a segment → Inactive retailers 60d (enters). Leave Exit when the contact leaves the segment on, and add exit event Purchase.
WhatsApp offer
Add a WhatsApp step: {{1}} = first name, {{2}} = {{ offer.winback.code }}, {{3}} = {{ offer.winback.headline }}.
On no_reaction: a Call step with your agent. In its Start Call, add the winback offer under Offers, so the agent can mention it and read out the caller's own code.
Go live
Set Allowed hours, check Track link clicks is on (the default), then Go live. Everyone already in the segment enters too.
Let LemuAI pick the channel and offer per person instead: replace the WhatsApp and Call steps with Choose channel, time and offer (see AI, conversation, data and ticket steps). It gives a bigger offer to at-risk big spenders and calls only the ones worth a call.
Add the offer to the step's Offers and mention it in the prompt
Dashboard
Read the Dashboard: revenue credited to your journeys, how many people you reached on each channel, and where to act.
https://docs.lemuai.com/dashboard/overview
The Dashboard (first item in the sidebar) shows revenue, reach and responses across your journeys and agents for the period you pick. Use it to see what's working, then open a journey's report or the runs for details.
For voice: Connect rate (conversations divided by attempts), Qualified outcomes, Avg call duration, Talk time, Best hours to dial, and What the agents captured (the variables your agents extracted). Outcomes over time shows the trend.
Revenue is ₹0 but I have orders: orders count only when they arrive as conversion events and follow a message or answered call within the attribution window. Check Settings → Sending Limits → Revenue attribution and that orders reach the Event Log as Purchase events.
Calls show no spend or ROI: call minutes aren't counted as message spend, so ROI reflects WhatsApp and email costs.
A number looks too low: check the date range and journey filter at the top.
Contacts
Find anyone in All contacts, see everything that happened with them on one timeline, and keep them in lists with your own custom fields.
Contacts in the sidebar is where you keep the people your agents call and message. Contacts are grouped into lists, such as "Distributors" or "Website Customers", and campaigns call everyone on a list.
Each person is kept as one contact, even if they are on several lists or arrive from different places (a file import, a Google Sheet, Shopify or the API). When new details come in, Lemu finds the existing contact by phone, external ID or email and updates it instead of creating a duplicate.
Each contact has:
Phone (international format, for example +919876543210), Email, First name, Last name and Company
External ID: the ID of this person in your CRM or other system, used to match updates
Custom fields: any extra details you want your agent to use, such as a city or an order number. Custom fields can be used in your agent's prompts as template variables
Audience → Contacts opens on All contacts, the first entry in the list sidebar: every contact in the workspace, whichever lists they're on. The search box is ready to type in (press / to jump back to it) and finds people by:
name (first, last, or full name like Priya Sharma),
phone (any part of the number: 98765, the last 4 digits, or the full number with or without +91),
email, company, or external ID.
Click a column heading (First name, Last name, Phone, Email, Company, Job title, External ID, Opted out, Created) to sort by it; click again to reverse. Your own lists appear below All contacts.
Click a contact to open their profile. The top shows their name, when they were added and last active, how many lists they're in, and their tags. It has these tabs:
Timeline (opens first): everything that happened with this person, newest first and grouped by day: orders and carts, website visits, WhatsApp, email and SMS messages (with the message text, direction and status: sent, delivered, read, failed), calls (with outcome, the run and what the agent captured), and other events. Filter it with All, Orders & carts, Website, Messages, Calls and Other; each shows a count. Open an event to see its details. Show older activity loads more.
Details: their fields, custom fields, email consent, and the lists they're in (click a list to open it).
WhatsApp: their WhatsApp conversation.
Custom records: things this contact has, such as loans, policies or bookings. See Custom Records.
Tickets: their Lemu Tickets tickets, if connected.
Phone numbers are masked unless you're an Owner or Admin or have See unmasked contact phone numbers turned on (Settings → Team). Click the reveal button to see the full number.
Contacts who asked not to be contacted are marked Opted out. They are skipped by campaigns, so they won't be called again. Contacts who opted out of calls only (on their contact page, or by a WhatsApp STOP when Sending limits says a STOP stops every channel) are skipped by campaigns too.
You can add many contacts at once by importing a file or a Google Sheet into a contact list. Every imported row becomes a contact, or updates one you already have, and is added to the list you imported into.
Go to Contacts, open a list (or create one with New Contact List) and click Import contacts. The Import Contacts window opens with two tabs: CSV or Excel file and Google Sheet.
Choose your file
On the CSV or Excel file tab, click Choose a CSV or Excel file. The first row must be the header. Not sure how to lay it out? Download the Sample file to start from.
Check each column
Lemu reads the header and suggests what each column becomes. Change any column with its dropdown before importing (see the table below).
Import
Click Import N rows. When it finishes you see a summary like "Import complete: 120 created, 15 updated, 0 failed, 3 skipped", with the reason for up to 20 rows that didn't import.
The contact's phone number. Numbers are tidied into international format
Email
The contact's email address
First name / Last name
The contact's name
Full name (split into first and last)
One name column, split into first and last name for you
Company
Company name
Job title
Job title
External ID
The person's ID in your own CRM or system
Tags (comma-separated)
Tags for the contact. Commas, semicolons and vertical bars all work as separators
Custom field
Saves the column as a custom field. Type the field name you want
Don't import
Skips the column
Columns that don't match a built-in field become custom fields. Their names are saved in lowercase with underscores, so a column called "Order Number" becomes order_number. If a custom field with nearly the same name already exists (only the case or spaces differ), the existing one is reused.
Custom fields can be used in agent prompts and messages as template variables.
On the Google Sheet tab, pick a sheet from your connected Google Sheets integration. A list linked to a sheet reads the sheet again when you import, so new and changed rows are picked up.
A segment is a live list of contacts. Instead of adding people by hand, you describe who belongs, for example "added to cart in the last 7 days and didn't order", and Lemu keeps the list up to date. Segments update every 15 minutes.
Use segments to:
Start a journey for everyone who joins or leaves a segment
See how many people match a set of rules before you message them
Save a snapshot of the members as an ordinary contact list
Give it a Name (for example "Cart abandoners, last 7 days") and an optional Description.
Add rules
Click + Rule to add each rule. Between two rules there's a small and picker: leave it on and (contacts must match every rule) or switch it to or (any one rule is enough). The word is the same for all rules at one level, so switching one switches them all; to mix and and or, put some rules in a group (below). The panel on the right shows how many contacts match and a few examples, and updates as you edit.
Save
Click Create segment. Lemu works out who is in it, and the member list fills in shortly after.
You can filter on First name, Last name, Email, Phone, Company, Title, External id, Number of calls, Added on, Last called, Opted out of everything, Tags and any custom field.
The choices depend on the kind of field:
Text: is, is not, is in, is not in, contains, doesn't contain, starts with, is set, is not set
Numbers: =, ≠, >, ≥, <, ≤, is set, is not set
Dates: in the last … days, not in the last … days, before, after, is set, is not set
Yes / no: yes, no
Tags: include, don't include, include any of, include none of
is in and is not in take a list of values separated by commas, for example Delhi, Mumbai, Pune, up to 500 values. Matching ignores upper and lower case. Event and record filters (+ where…) have them too.
Calculated fields (like total spent) and predictions (like churn risk) appear in the property list marked "(calculated)". See Calculated fields.
Pick an event name from the list (or type one), choose did or didn't do, and set at least … times and in the last … days. Leave the days empty to mean "ever". Click + where… to narrow by the event's own properties, for example only purchases where value is more than 1000. You can add up to 10 filters to one event rule.
A rule on one of Meta's standard events also counts events stored under its older name, so did Purchase includes orders recorded as order_placed.
Event rules use events received through the Events API, Shopify and WhatsApp.
Website page and product views from your Tracking Sources (Settings → Tracking Sources) are included in event rules only once this is turned on for your workspace. Until then, the builder shows a note saying so. Contact support to have it turned on.
Click + Group to add a set of rules that are checked together, with their own and / or between them. For example: "In a list (Contacts) is VIP" and (did InitiateCheckoutor did ViewContent). Use Rule in group to add rules inside it. Groups go one level deep.
The summary under the builder (In plain words) reads the whole segment back as a sentence, with brackets around groups, so you can check it says what you mean.
In a journey's trigger, under Start from a segment, choose Enters a segment or Leaves a segment, then pick the segment. The journey runs for each contact who joins (or leaves), with their phone available as {{phone}}.
People who were already in the segment when you created or edited it don't start the journey. Only people who join or leave after that do.
With Exit when the contact leaves the segment turned on (the default), someone who leaves the segment while the journey is waiting doesn't get its remaining messages or calls.
If more than 5,000 contacts join or leave a segment in a single update, the members still update but journeys are not started for that change. This protects you from accidentally messaging a very large group after a big edit.
Work out one figure per contact from their events or records, like orders in the last 90 days or total spent, and use it in segments, messages and journeys.
A calculated field is a number or date LemuAI works out for every contact, for example "orders in the last 60 days", "total spent", "average order value" or "last order date". It's stored on the contact like any other field, so you can use it in:
segment rules (Contact property → the field, marked "(calculated)"),
Name (like Total spent in the last 60 days) and Key (like total_spent_60d). The key is fixed once created, because templates use it.
Choose what to calculate from
From events (a contact's events, like Purchase) or From records (a record type, like orders or loans).
Choose the calculation
From events
From records
Number of times
Number of records
Total of a property
Total of a field
Average of a property
Average of a field
Smallest value of a property
Smallest value of a field
Largest value of a property
Largest value of a field
Number of different values of a property
Number of different values of a field
Date of the first time
Date of the most recent time
Pick the event (or record type), the property or field (for events, type a property name like value, order.total or items.quantity), and a time window if you want one.
Preview and create
Preview shows sample values. Create field: values are calculated in a few minutes.
Number of different values of a property: items.category
Then a segment "Total spent is at least 10000 and Orders in the last 90 days is 0" finds big spenders who stopped buying.
Predictions
Predicted churn risk, next order date, lifetime value and RFM segments for every buyer, recalculated nightly and usable in segments and messages.
https://docs.lemuai.com/segments/predictions
Predictions work out, for every customer who has ordered, how likely they are to keep buying and what they're worth. They appear as built-in calculated fields, so segments, journeys, templates and the contact page can use them like any other field.
Find them under Audience → Segments → Calculated fields, in the Predictions card.
In the Predictions card, choose where orders come from (Orders from): Purchase events (the default) or a record type of orders (Custom records, with its date field).
Turn predictions on. The first run takes a few minutes ("Working out the first predictions…").
Optionally create the RFM segments: one segment per RFM group, found under Segments.
Predictions are recalculated nightly (Updated nightly) and when you press Recalculate. Only buyers get values; with no orders yet the card says "No orders yet. Predictions appear once customers order."
"The recalculation stopped before it finished. Try again." Press Recalculate again.
Values look wrong: check Orders from points at your real orders, and that each order carries its value (the value property of Purchase, or the order record's total).
Ad audiences
Keep segments in sync with Meta and Google ad audiences, and send purchases to the Meta Conversions API.
https://docs.lemuai.com/ads/overview
Audience → Ad audiences does two things:
Synced audiences: a segment becomes a custom audience in Meta Ads or a Customer Match list in Google Ads, and stays up to date: people who join the segment are added, people who leave it are removed.
Meta Conversions API: purchases (and other standard events you choose) are sent to Meta from LemuAI's server, so Meta can measure and optimise your ads even when the browser pixel is blocked.
Setting this up needs the config permission (Owner or Admin).
Under Ad accounts, connect Meta or Google and choose the accounts LemuAI may use. For Google, you can also enter a Manager account ID (optional) such as 123-456-7890 if you manage ads through a manager account.
Pick the segment and account
Under Sync a segment to an ad audience, choose the Segment and the Ad account. Audience name (optional) defaults to Lemu: <segment name>.
Create it
LemuAI creates the audience and runs the first sync: "Audience created. The first sync is running."
Only hashed email and phone are sent (SHA-256), never names in plain text. Meta and Google match them to their users.
Contacts who opted out are never sent. Contacts with neither email nor phone can't be matched and are skipped.
Each sync sends only the changes: new members are added, people who left the segment (or opted out) are removed, and someone whose email or phone changed is updated.
Synced audiences lists each audience with Sync now and Stop syncing. When you stop, the audience stays in the ad account with its current members.
Under Meta Conversions API, enter your Dataset ID (the pixel or dataset ID from Meta Events Manager) and an Access token generated in Events Manager.
Choose the events
Under Events to send, pick the standard events to send. Purchase is the default.
Test
Enter a Test event code from Events Manager (like TEST12345) and send a test purchase. You should see it under Test events in Meta Events Manager.
Every matching event LemuAI records from then on (from Shopify, the tracking snippet, the events API or WhatsApp orders) is sent with the contact's hashed details. Turning it on doesn't send past events.
Needs a new token: the access token expired or was revoked. Generate a new one in Meta and press Reconnect.
The audience is small in Meta: Meta shows only matched people, and small audiences may show as "below 1,000". Add more people or check contacts have email and phone with country code.
No events sent yet.: no matching event has arrived since you connected. Check the Event Log for Purchase events.
Custom Records
Store things a contact can have several of, like loans, policies or bookings, and use them in journeys, segments, messages and agents
Custom records hold things a contact can have several of, each with its own dates and amounts. A lender might keep Loans, an insurer Policies, a clinic Appointments.
Each kind of thing is a record type with fields you choose. Every record belongs to one contact, called its owner. Once records are in Lemu you can:
Start a journey a few days before a due date or renewal date
Start a journey when a record is added or changes
Call or message everyone with a matching record, once
Go to Custom records in the sidebar and click New record type.
Start from a spreadsheet (optional)
Under Have a spreadsheet? Start from it., click Upload CSV or Excel. Lemu sets up the fields from the file's columns and imports its rows once you create the type. The file needs a phone, email or customer ID column so each row can be linked to its contact. Without one, rows can't be imported.
Name it
Enter a Name, such as "Loans". Lemu also makes an API name from it (for example loans) that you use in the API and in templates.
Add fields
List the fields each record has. See Fields below.
Choose the identifier
Under Each one is identified by, pick the field that holds the ID from your own system, like a loan number. Importing or sending a record with the same ID updates that record instead of adding a new one. The identifier must be a Text or Number field.
One value from a fixed set. Type the choices separated by commas, for example active, overdue, closed
Link
A web address
Required: every record must have a value.
Personal: the value is kept out of journey data, events and AI prompts, and is hidden from teammates who aren't allowed to see personal data. Use it for things like account numbers.
Lemu also picks up to 5 fields to make quick to filter on in triggers, segments and the records list, choosing dates first.
Open the record type and go to Fields & settings. While no records exist, any field can change. Once records exist, a field's type can't change and fields can only be archived: they are hidden but their values are kept. To store something new, add a new field.
On the Records tab, click Add record, fill in the fields and give the Owner's phone or email. If no contact has that phone or email, a new contact is created.
On the Import tab, click Choose CSV or Excel file.
Lemu suggests what each column becomes. Change any column, or set it to Don't import.
Map at least one owner column: Owner: phone, Owner: email, Owner: your customer id or Owner: Shopify customer id.
Check the preview of the first 20 rows as they'll be saved, then click Import N rows.
The import runs in the background. The Imports list shows its progress and, when done, how many records were new, updated, unchanged or failed. Open Rows that failed to see why.
Things to know:
A row with the same identifier as an existing record updates that record.
A blank cell leaves that field as it is.
Dates can be YYYY-MM-DD or DD/MM/YYYY.
New records need the owner's phone or email. A contact is created when no one matches.
The Records tab lists every record with its identifier, fields, owner and when it was last updated. Use the search box and Filter to narrow the list, and the icons on each row to edit or delete a record.
Press Filter and add rows ("Show only records where"): pick a field, an operator and a value. Text and choice fields have is, is not, is in, is not in (comma-separated values, like Paid, Partly paid), contains, doesn't contain, starts with, is set and is not set; numbers have =, ≠, >, ≥, <, ≤; dates have in the next … days, in the last … days, on, before and after.
Each row after the first has its own and / or. When you mix them, and is checked first: "A and B or C" means "(A and B) or C". The active filters show as chips next to the button, with or between the ones joined by or, and the list shows Loading… while it updates.
When you delete a record, journeys already running for it can still read it for 30 days. After that it is removed for good. Sending it again with the same identifier brings it back.
A contact's records also show on their profile, on the Custom records tab. See Contacts.
On Fields & settings, click Archive to hide a record type without losing anything (turn on Show archived on the Custom records page to see it again, and Unarchive to bring it back). Delete record type is only offered while it has no records.
Journeys, segments and templates that use a deleted record type stop finding it.
A journey that starts from a record (a date, a change, or a records source) has that record as object. Every journey and email also has all of the person's records as objects. Personal fields are left out.
Text
{{ context.object.amount_due }} in journey steps{{ object.amount_due }} in email templates sent by that journey{{ objects.loans.count }} how many loans the person has{{ objects.loans.latest.amount_due }} the most recently updated loan
Replace loans and amount_due with your own API name and field. Values are read again before each step, so a message sent after a wait shows the latest numbers.
A catalog holds items that aren't tied to one contact, like products, branches or plans. Your voice agents can look items up during a call (for example to answer "how much is it?" or "is it in stock?"), and journeys can look up an item and use its details in later messages.
Catalogs work like custom records, with two differences: items have no owner contact, and they are used through lookups rather than triggers.
Go to Catalog in the sidebar and click New catalog.
Start from a spreadsheet (optional)
Under Have a spreadsheet? Start from it., click Upload CSV or Excel. Lemu sets up the fields from the file's columns and imports its rows once you create the catalog.
Name it and add fields
Enter a Name, such as "Products", and list the fields each item has, like name, price and link. Field types are the same as for custom records.
Choose the identifier
Under Each one is identified by, pick the field that holds the ID from your own system, like a SKU or branch code. Importing an item with the same ID updates that item. The identifier must be a Text or Number field.
Go to Agent Setup > Tools, create a new tool and choose Catalog lookup.
Pick the catalog
Give the tool a name (for example "Look up product"), choose the Catalog, and describe in When should the agent use it? when the agent should look something up, such as "when the customer asks about price, stock or details".
Attach it to the agent
Add the tool to your voice agent. During a call, the agent can look an item up by its identifier or by name.
Personal fields are never shown to the agent. See the Tools library for how tools work.
Read and answer your customers' WhatsApp messages in one place, with your team and the AI assistant
https://docs.lemuai.com/messaging/inbox
Setup required: the Inbox shows customer replies only once your WhatsApp provider sends them to Lemu. Connect a provider and set up its webhook as described in WhatsApp Messaging.
Inbox (top level in the sidebar) holds your WhatsApp conversations with customers, answered by your team and, if you turn it on, the AI assistant.
There is one conversation per contact. It holds every WhatsApp message to and from that person: their replies, what your team wrote, and what journeys, voice agents and the AI assistant sent.
The list on the left shows each conversation with the contact's name or phone, the latest message and an unread count. When the latest message is one you sent, it starts with who sent it: AI, Team, Journey, Campaign or API. The total unread count is shown next to Conversations.
Search by name or phone with the box above the list, and pick a view under it:
View
Shows
Open
All open conversations
Mine
Open conversations assigned to you
Needs a person
Open conversations your team is handling, including ones the AI handed over
Press Filters next to the search box. The button shows how many filters are on, and each one shows as a chip under the views: press × on a chip to remove it, or Clear all to remove them all.
Filter
Options
Shows
Last message from
Anyone, Customer (waiting for a reply), AI, Team, Journey, campaign or API
Conversations whose newest message came from them. Customer means the customer wrote last and is waiting for an answer. A reaction doesn't count, and neither does a message that failed to send.
Has replied
Customer, AI, Team (tick any)
Conversations where any one you ticked wrote at least once. With dates picked, that message has to be in those days.
Reply window
Any, Open, Closed
Open: the customer wrote in the last 24 hours, so you can reply freely. Closed: only templates can be sent.
Sort: Newest message (the default), Oldest message, Waiting longest (conversations waiting for a reply first, the longest wait on top, then the rest newest first) or Most unread.
Dates: All time by default. Pick Today, Yesterday, This week, Last week, This month, Last month, Last 7 days, Last 30 days or your own days, then press Apply. The list shows conversations with a message in those days.
Example: to answer today's customers who have waited longest, press Filters, choose Customer (waiting for a reply), set Sort: Waiting longest and pick Today in the dates.
When nothing matches, the list says "No conversations match these filters." with a Clear filters button.
Open a conversation to see the full thread. The header shows the contact's phone, who is handling it (AI assistant is handling or Team is handling) and who it is assigned to.
Each message you sent shows where it came from and how far it got:
From: AI assistant, Team, Journey, Voice agent or Test send
Status: Queued, Sent, Delivered, Read or Failed
If the AI handed the conversation to your team, a note under the header says why, for example "Handed to the team: The customer asked for a person".
WhatsApp only allows free-form messages within 24 hours of the customer's last message.
The thread looks like WhatsApp: your messages on the right with their time and ticks (one grey tick sent, two grey delivered, two blue read), the customer's on the left, and a chip for each day. Template messages show their text and buttons, not just the template name.
Inside the 24 hours: type in the Type a message box and press Enter to send (Shift + Enter starts a new line), as on WhatsApp. Attach a file with a caption, send products from your WhatsApp catalog, or send a template.
After 24 hours: the composer shows Reply window closed, because WhatsApp only allows an approved template until the customer replies. Pick a template, fill in its variables and click Send template. See Working with templates.
Replying yourself takes the conversation over from the AI, so the assistant stops answering it.
A contact who replied STOP or stopped marketing still gets your replies in a chat they start; only broadcasts and marketing templates are refused. A contact marked Opted out of everything gets nothing, from the Inbox or anywhere else.
Customer replies arrive through your WhatsApp provider's webhook.
Messages sent by journeys (a message step), by voice agents (the Send Message tool) and by the AI assistant are added to the same conversation, so your team always sees the whole history.
Each customer message is also recorded as a whatsapp_message_received event on the contact, which you can use in segments and journeys.
Inbox AI Assistant
Let an AI assistant answer WhatsApp messages in the Inbox and hand conversations to your team when it should
https://docs.lemuai.com/messaging/inbox-assistant
Setup required: the assistant answers WhatsApp messages that reach the Inbox, so your WhatsApp provider's webhook must be set up first. See WhatsApp Messaging. The assistant is off until an admin turns it on.
The WhatsApp AI assistant answers customers automatically in conversations it is handling, using your instructions and documents. It hands the conversation to your team when a customer asks for a person, is upset, or when it isn't sure.
What you sell, delivery times, return policy, store hours, tone of voice, and what the assistant must never promise. Up to 8,000 characters
Knowledge documents
Documents from your Knowledge Base the assistant searches for each message. Up to 50
Message when handing over to the team
Sent to the customer when the conversation goes to your team. Leave empty to send nothing. Default: "Thanks! I'm connecting you with our team, they'll reply here shortly."
Most replies per conversation per hour
A safety limit, from 1 to 60 (10 by default). Stops endless loops, for example with another business's bot
The assistant uses the same AI model as your voice agents.
New conversations start with the AI handling them. If the assistant is off, they simply wait for your team.
After a customer writes, the assistant waits a few seconds, so several quick messages get one answer.
It replies in the customer's language, in short, friendly WhatsApp style.
It only states facts from your instructions, your documents and the conversation. It does not invent order details, prices, dates, policies or links. If it doesn't know, it says a teammate will help and hands over.
It only replies within WhatsApp's 24-hour window. It never sends templates.
Replies of STOP or START (and similar words such as "unsubscribe" or "opt in") are not answered by the assistant. They update the contact's WhatsApp consent instead. A STOP stops marketing, not replies: if the customer writes again later, the assistant answers as usual. See WhatsApp Messaging.
Voice Agent Builder
Build a voice agent by creating a new agent at https://app.lemuai.com/workflow and talking through the setup with the AI Copilot.
https://docs.lemuai.com/voice-agent/introduction
Creating a new agent opens the workflow canvas with a default flow already scaffolded — a Global node, a Start Call node, a main conversation node, and an End Call node — plus an AI Copilot panel on the right. The Copilot adds extra steps when your use case needs them (for example, finding a slot and then confirming the booking).
Talk (or type) through what you're building — the Copilot has a live call connection while you describe your use case, and fills in the canvas nodes and prompts as you speak. Be as specific as you like: deadlines, offers, what to say when a customer refuses, how firm or friendly the agent should be. Everything you ask for is written into the agent as you said it. The only exceptions are abusive language, made-up threats and harassment, which Lemu agents never use. See AI Copilot for more on what it can do beyond initial setup.
Once the starting flow is in place, you can:
Edit any node's prompt directly on the canvas to fit your use case
Test the agent with a Call right from the builder
Save your changes as a draft, or Publish when it's ready to take real traffic
Editing a Workflow
Learn the fundamentals of building workflows with nodes, pathways, and conversation flow in the voice agent builder.
You can reference template variables which is passed as initial_context either using the API Trigger or when uploading a Sheet for a campaign. You can also use any extracted variable as gathered_context
Lemu Voice Agents are composed of various nodes. These nodes can provide instructions to the voice agent, help you setup a trigger where you can trigger the voice agent to call someone, or help you setup a webhook, where you can update the results of the call in your CRM or trigger a downstream workflow in n8n. In the next steps, we will be documenting the nodes that you can use in building the voice agent.
Agent Settings
Voice, language, turn detection, call limits and background sound for one voice agent
Each voice agent has its own settings for how it sounds and how it handles a call. Open an agent and click Configurations (the gear icon) in the editor toolbar. Click Save Configuration when you're done.
Turn detection decides when the caller has finished speaking and the agent can reply. Too eager and it interrupts; too patient and replies feel slow.
Detection Strategy
Best for
Transcription-based
Short answers such as yes or no, amounts and dates. Ends the caller's turn after a short silence once speech is transcribed
Smart Turn Analyzer
Longer answers with natural pauses. Uses a speech model to tell a pause from a finished thought
With Smart Turn Analyzer, Incomplete Turn Timeout (seconds) sets how long to wait in silence when the caller seems to be mid-thought (0.5 to 10 seconds).
A Web Call asks for microphone access the first time. A Phone Call needs a telephony provider connected under Agent Setup → Telephony; if none is set up, the dialog walks you through it.
After the call, open it from Runs in the sidebar to see the transcript, the recording, the details the agent captured, and every tool call. See Tracing.
Test Chat opens a chat window where you type as the caller and the agent replies in text. It follows the same prompts, transitions and tools as a voice call, so it's a fast way to check the logic before testing by voice.
Test vs Agent creates a LoopTalk test. Instead of you playing the caller, another voice agent (the Adversary Agent) does. Write that agent's prompt like a customer persona, for example an impatient caller or someone who keeps changing their mind.
Test Type: Single Test runs one conversation; Load Test runs several at once
Concurrent Pairs (1 to 10): how many conversations run in parallel in a load test
LoopTalk tests and their transcripts are listed on the LoopTalk page.
Changes you make are saved to a draft. Calls and campaigns keep using the published version until you click Publish. Use Discard draft to throw away unpublished changes.
Click the history (clock) button to see earlier published versions. While viewing an older version, click Back to Draft to return to your working copy.
Web Widget
Put your voice agent on any website as a chat window, a voice call button or both, with product buttons and support tickets.
https://docs.lemuai.com/voice-agent/web-widget
The web widget puts your voice agent on your own website. Visitors press a button and chat with the agent by text, talk to it by voice in the browser, or both in one window. You paste one piece of code into your site once; whatever you save later in LemuAI reaches your site by itself.
The widget can also show the products your agent looks up as cards with your own buttons (like Add to cart), and let the agent open support tickets in Lemu Tickets for visitors it can verify.
Open your voice agent and press Deploy Workflow in the editor toolbar. The dialog is called Put your agent on your website, with a Live preview of the widget on the right that you can try.
Setup
Under What visitors can do, pick Chat and call (one window for both: a call carries on from the chat, and the chat from the call), Chat, or Call.
Under Websites it works on, type your site, such as yourshop.com, and press Add. *.yourshop.com covers every subdomain, and yourshop.com also covers www.yourshop.com. Anywhere else the widget doesn't show.
Button, Window and Behaviour
Match the widget to your site. The fields are listed in Customization below. The preview changes as you go.
Press Save and get code. The dialog moves to Add to website.
Add to website
Copy the code and paste it just before the closing </body> tag of a template or footer that every page uses. Pick Your website is built with (Any website, Shopify, WordPress, Wix, Webflow, Google Tag Manager, React / Next.js) to see where that is on your platform.
The switch at the top of the dialog says Live on your website, and the line at the bottom says your website has the latest settings.
On your site, the button shows in the corner you chose and opens the chat or starts a call.
Each chat and call shows up in the agent's runs like any other conversation.
To take the widget off your site, turn off Live on your website and confirm Take the widget off your website?. The code can stay on your site; it shows nothing until you turn the widget back on.
When your agent looks products up with a catalog tool, the widget can show them as cards with a photo, name, price (with the MRP struck through) and up to two buttons. Cards are built from the catalog, never from what the agent writes, so a card can't carry a made-up price or link. A product needs a name and a product page link in the catalog to get a card.
Turn on Show products as cards in Products & tickets, then set the buttons:
Field
What it does
Main button
The filled button on each card. Label up to 24 characters.
Second button
Optional, outlined. Add a second button to add it, the bin to remove it.
When pressed
Open the product page; Open a link (built from the product, like https://yourshop.com/cart/add?id={variant_id}); Send a message to the agent (like Is {title} available in size 9?, not on Call widgets); or Run a function on your website (a function your site adds, see Product buttons from your own code).
Product pages open in
Same tab (the chat stays open on the next page) or New tab. During a call a card opens a quick view instead, so the call isn't cut.
Links and messages can use these product details: {title}, {sku}, {variant_id}, {product_id}, {price}, {url}, {size}, {colour}. For a Shopify store connected to LemuAI, {variant_id} is Shopify's variant ID (what Shopify's cart takes) and {product_id} is Shopify's product ID.
Every press of a card button is recorded as a product_button_clicked event with the button's label and the product's details, so you can see it in the Event Log and start a journey from it. When the visitor is verified (see below), the event is on their contact.
The agent can open a ticket in Lemu Tickets when a visitor has a problem it can't solve, in the chat and on calls, and tell them the ticket number. Only verified visitors can get a ticket. A visitor the widget can't verify gets the message you set and is shown how to verify; no ticket is opened for them, and the agent can't tell them about any tickets.
Turn on Agent can open tickets for verified visitors in Products & tickets (it needs Lemu Tickets connected). On your website these settings replace the agent's own ticket options from Tools & files for every step (see Agent Node).
Field
What it does
When to open a ticket
Plain words the agent follows, like "A refund started more than 5 days ago that hasn't arrived. A damaged or wrong item." Up to 1,000 characters.
Priority when the agent doesn't choose one
P1 (urgent) to P4 (low). Default P3.
Project for new tickets
A Lemu Tickets project, or Default project.
Agent can tell visitors the status of their tickets
The agent can look up the verified visitor's own tickets.
Customers signed in on your website
Always on. Shows the widget's secret (with Copy secret) that your server signs with.
Visitors can verify their phone with a WhatsApp code
For visitors who aren't signed in. Pick the WhatsApp template for the code: an approved Authentication template. Each code is one WhatsApp message paid from your WhatsApp balance.
What the agent tells visitors who aren't verified
Up to 300 characters. Default: "To raise a support request, please sign in to your account first, then come back to this chat."
Sign-in page link (optional)
Shown as a Sign in button in the chat or call window. During a call it opens in a new tab, so the call isn't cut.
Use See it in the preview: Verified visitor / Not verified to see both cases in the Live preview.
Signed in on your website. Your site tells the widget who is signed in, with a signature your server makes (below). The widget sends it with the chat or call. A visitor who signs in after starting a chat is verified on the next page they open.
A WhatsApp code. The agent's reply shows Verify it's you to raise a request. The visitor types their number with the country code (+91 98765 43210), presses Send code, and types the 6 digits from WhatsApp. In a chat, the agent then carries on and opens the ticket. On a call, the window says "You're verified. Tell the assistant to go ahead." and the agent opens the ticket when asked again.
The ticket's requester is always the verified visitor: their email or phone, never details the page or the conversation gave. The ticket shows in the chat or call window as a card with its number and status. Tickets from the widget have the source web_chat (chat) or voice (call).
Before the widget code, put the signed-in customer in window.LemuWidgetConfig.user. Make the signature on your server, never in the browser, because the secret must stay secret:
signature is the HMAC-SHA256, in lower-case hex, of the customer's email in lower case, made with the widget's secret.
With no email, sign the phone number in international format with the +, like +919876543210, and pass phone instead of email.
import hashlibimport hmacimport ossignature = hmac.new( os.environ["LEMU_WIDGET_SECRET"].encode(), customer_email.strip().lower().encode(), hashlib.sha256,).hexdigest()# Put it in the page as window.LemuWidgetConfig.user.signature, with the email and name.
Shopify's Liquid example puts the secret in your theme's code, which only your store's staff can read. Don't put the secret in JavaScript files or anywhere a visitor can download it.
// A function a card button can run ("Run a function on your website").// product has sku, variant_id, product_id, title, url, price, mrp,// currency, in_stock, size and colour.LemuWidget.registerAction("addToCart", async (product) => { await fetch("/cart/add.js", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ id: product.variant_id, quantity: 1 }), }); return { message: "Added to your cart" }; // shown to the visitor for a moment});// This page's own buttons (up to two). They replace the ones set in LemuAI on this page.LemuWidget.setProductActions([ { label: "Add to cart", run: "addToCart" }, { label: "Ask about it", message: "Tell me more about {title}" }, // { label: "Size guide", link: "https://yourshop.com/size-guide?sku={sku}" }, // show: (product) => product.in_stock (hide a button for some products)]);// Know when a card button is pressedLemuWidget.onProductAction(({ label, product }) => { console.log(label, product.sku);});
The same buttons can be set before the widget code with window.LemuWidgetConfig = { productActions: [...] }. A function that throws shows "Couldn't do that. Please try again." to the visitor; a button whose function your site hasn't added shows "This button isn't set up on this site yet."
LemuWidget.open();LemuWidget.close();LemuWidget.toggle();// Start or end a voice call (Call, and Chat and call)LemuWidget.start();LemuWidget.end();// Hide it on some pages, e.g. checkoutLemuWidget.hide();LemuWidget.show();// Before the widget code: change settings for one page and// pass visitor details to your agent's template variableswindow.LemuWidgetConfig = { buttonText: "Ask about this product", context: { product_name: "Runner Lite", customer_name: "Asha" },};
Settings in LemuWidgetConfig use the names the widget saves, such as buttonText, buttonColor, launcherShape and position. What visitors can do (chat, call or both), product cards and tickets can only be changed in LemuAI. context fills the agent's template variables; it never makes a visitor verified.
A chat allows 50 messages from the visitor; after that they start a new chat.
WhatsApp codes: 3 per conversation a day, 5 per phone number an hour, 10 an hour from one internet address, and one every 30 seconds. A code lasts 10 minutes and allows 5 tries.
The widget doesn't show on my site. Check that Live on your website is on and your site is under Websites it works on. See Calls and telephony troubleshooting.
A signed-in customer still has to verify. The signature doesn't match: sign the email in lower case with the secret from Products & tickets, in hex. See Web widget troubleshooting.
The first step of every voice agent: what it says first, how it opens the conversation, and what it collects.
https://docs.lemuai.com/voice-agent/start-call
The Start Call step is where every call begins. It decides the first thing the caller hears and how the agent opens the conversation. Each voice agent has exactly one Start Call step.
Open it by clicking the step on the agent's canvas (Voice Agents → Agents, open an agent). The panel is titled Start Call.
Optional. Words spoken as soon as the call connects, exactly as written, instead of letting the AI write the first line. Supports variables like {{first_name}}.
Empty (the AI writes the opening line from the prompt)
Prompt
Instructions for this part of the call: who the agent is, why it's calling, what to find out first.
Empty
Delayed Start
Waits before the agent speaks, so the caller can say "hello" first. Set Delay (seconds) between 0.1 and 10.
Off, 2 seconds when turned on
Allow Interruption
Whether the caller can talk over the agent and make it stop.
On
Enable Variable Extraction
Saves details from the conversation into variables (for example preferred_date). Add an Extraction Prompt and each Variable with its type (String, Number or Boolean).
Off
Tools, Documents, Catalogs, Offers
What the agent can use in this step: tools, knowledge base files, catalogs to look items up in, and offers it can talk about. Items shared with every step aren't added to Start Call.
Greeting:Namaste {{first_name}}, this is Riya from Asian Footwears about your order {{order_id}}.
Prompt:You are Riya, a polite order confirmation assistant. Ask the customer to confirm they want the order of {{order_total}} rupees delivered to {{city}} with cash on delivery. If they say yes, thank them. If they want to cancel or change something, note why.
The agent waits in silence at the start: check Delayed Start isn't set too long, and that the greeting or prompt isn't empty.
The greeting says {{first_name}} out loud: the variable had no value. Check the contact has the field, or write the greeting without it.
End Call
The last step of a voice agent: what the agent says before it hangs up, and what it saves from the call.
https://docs.lemuai.com/voice-agent/end-call
The End Call step closes the conversation: the agent says its final words and the call ends. Each voice agent has one End Call step. Agent steps lead to it when the conversation is done.
To end a call from inside any step instead (for example when the caller asks to stop), give that step the End Call tool.
What the agent should say before hanging up: thank the caller, confirm the next step, say goodbye.
Add Global Prompt
Adds the Global Node's instructions to this step's prompt.
Enable Variable Extraction
Saves details from the whole conversation into variables when the call ends, with an Extraction Prompt and a type for each Variable (String, Number or Boolean).
Prompt:Thank the customer by name. If they confirmed the order, tell them it will arrive in 3 to 5 days. If they cancelled, say the order is cancelled and no money was taken. Then say goodbye.
Variables:outcome (String: confirmed, cancelled or call_back), call_back_time (String).
Extracted variables appear on the call's run (Insights → Runs → Agent Calls), in the webhook after the call, and in the journey that placed the call.
The call ends without a goodbye: the agent used the End Call tool from another step. Add a short goodbye to that step's prompt.
Variables are empty: describe each variable clearly ("the date the customer asked to be called back, as YYYY-MM-DD") and turn on extraction in the step where the detail is discussed.
Agent Node
Agent steps hold the conversation: one prompt per stage of the call, with tools, files, catalogs and the paths to the next stage.
https://docs.lemuai.com/voice-agent/agent
An Agent step is one stage of a call, like "confirm the address" or "handle an objection". A voice agent is a set of these steps joined by arrows (edges), starting at Start Call and ending at End Call.
The arrows leaving an Agent step are the paths the AI can take next. Give each arrow a clear label and condition (for example "the customer agreed to pay"); the AI picks the path that fits what was said.
Use another voice or language for this stage only: Voice Provider, Voice Model, Voice Override, Voice Language, Transcriber Provider, Transcriber Model, Transcriber Language.
Some things the agent needs throughout the conversation, not in one step. Press Tools & files for every step in the editor toolbar to open Available in every step. What you add there goes to every Agent step on top of its own items. The Start, End and Global steps don't get them, and a step can turn off Use tools & files shared with every step.
Section
What it does
Knowledge files
Files for FAQs, policies and price lists the caller may ask about at any point.
Catalogs
Catalogs the agent looks products, sizes and stock up in.
Offers
Offers the agent can tell callers about, with their personal code.
Agent can open support tickets
Lets the agent open a ticket in Lemu Tickets in calls and chats, for problems it can't solve, and give the customer the ticket number. Needs Lemu Tickets connected.
Tools
Other tools. Usually better on the step that needs them.
With Agent can open support tickets on:
Field
What it does
When to open a ticket
Plain words the agent follows, like "A refund started more than 5 days ago that hasn't arrived. A damaged or wrong item. A payment taken twice." Up to 1,000 characters. Empty lets the agent judge.
Priority when the agent doesn't choose one
P1 (urgent) to P4 (low). Default P3.
Project for new tickets
A Lemu Tickets project, or Default project.
Customers can ask about their tickets
The agent can also look up the status of the customer's own tickets. On by default.
The ticket is for the person the agent is talking to: on a phone call, the caller's number and the contact it belongs to. On your website only verified visitors get a ticket (see Web Widget), and the widget's own ticket settings are used there when they're on. A step that has its own saved Create ticket tool uses that one instead.
Example: a support agent with When to open a ticket set to "The order hasn't arrived 7 days after the delivery date, or the item came damaged". A caller says their order SO-10422 came damaged. The agent says "I've raised ticket SUP-1042 for the damaged item. Our team will call you within a day." and carries on helping.
Remind: "Tell the customer that EMI {{emi_amount}} is due on {{due_date}}. Ask when they will pay." Paths: "customer gives a date" → Note date; "customer has a problem paying" → Hardship.
Note date: "Repeat the date back and confirm." Variable promised_date (String). Path → End Call.
Hardship: "Listen, be kind, and offer a call from the collections team." Tool: Call Transfer. Path → End Call.
One goal per step. A long prompt that tries to do everything is harder for the AI to follow than three short steps.
Name paths by what the caller said, not by what happens next.
Test each path with a web call before going live (see Testing Your Agent).
Global Node
Instructions every step of a voice agent follows: tone, language, rules and objection handling, written once.
https://docs.lemuai.com/voice-agent/global
The Global Node holds instructions that apply to the whole call. Its prompt is added to every step that has Add Global Prompt turned on, so you write shared rules once instead of in each step. Each voice agent has one Global Node.
You are Riya from Asian Footwears customer care.Speak in the language the customer uses (Hindi, English or Hinglish).Keep each answer under two sentences.Never ask for OTPs, card numbers or passwords.If the customer is busy, ask for a better time and end politely.If asked how we got their number: they ordered from us or signed up on our website.
initial_context is a valid JSON object, which contains any contextual information that you would want your voice agent to access. You can refer to these values in your prompts using Handle Bars, which are values enclosed in {{ and }}.
Example: If you have below JSON as your initial_context
you can refer to the user name in your prompts as {{user.name}}. The keys of initial_context are added to the call's context directly, so you don't prefix them with initial_context.
Webhook
Webhook node allow you to sync the result of Voice Agent runs to your external systems, like CRM or to other workflow orchestrator like Zapier or n8n.
https://docs.lemuai.com/voice-agent/webhook
You can have multiple Webhook Nodes for a single Voice Agent, if you want to sync the result of the call at multiple places.
The payload can contain a valid JSON, and you can reference variables while constructing that payload. You can reference below variables while constructing the payload.
The Call Transfer tool enables your AI agent to transfer active calls to phone numbers or SIP endpoints. When configured, your agent can seamlessly transfer callers to human operators, departments, or other systems while maintaining a professional experience.
Asterisk ARI transfers only work with SIP endpoints configured on your Asterisk server. External phone numbers require additional PSTN trunk configuration.
The End Call tool enables your AI agent to terminate calls programmatically when conversations reach a natural conclusion, specific conditions are met, or when instructed by the caller.
HTTP API tools allow you to attach extrernal REST API calls directly to workflow nodes, enabling your voice agents to call any internal or external system during live conversations based on LLM judgment and your prompts. This works similar to function calling on any agentic platform and is fully customizable.
All the tools that you have created will be available for selection in the node
Tools are only callable when attached to that node
The LLM will choose which one to call
Inside the node, guide the LLM using simple English instructions.
Example:
"If the user shows interest in speaking to sales or wants a callback, immediately call the capture_lead_interest tool and set interest to true."
This instruction is often the deciding factor for correct tool usage.
This instruction is often the deciding factor for correct tool usage.
Lemu Platform ships with its own LLM, TTS (voice), and STT (transcriber) models by default, and manages which underlying providers power them. There is no separate screen for bringing your own provider account or API key for these models — this is handled by the platform.
What you can configure:
Voice — pick the agent's voice and language. See Voice.
Transcriber — pick the transcription language. See Transcriber.
LLM — the model itself is managed by Lemu; you shape behavior through prompts. See LLM.
API Keys under API Keys are for pushing data into your contacts and campaigns programmatically — they are not used to configure model providers.
LLM
Voice Agents use an LLM (Large Language Model) to understand conversational context and generate responses.
https://docs.lemuai.com/configurations/llm
Lemu manages the underlying LLM for your voice agents. There is no per-agent provider or model picker to configure — Lemu selects and maintains the model powering your agents so conversations stay fast and reliable as models improve.
What you do control is the agent's behavior: the Global Prompt and each node's prompt, which together are sent to the LLM to generate every response. See Workflows and Agents for how prompts are structured.
Voice
Voice Agents use TTS (Text to Speech), which generates the audio the end user hears during the call.
https://docs.lemuai.com/configurations/voice
Lemu manages the TTS engine for you — there's no provider to pick. For each agent, you choose a voice and a language.
Open the gear icon in the workflow builder toolbar to configure voice and language for that agent.
Select Agent Voice lists the voices available in your Voice Library (in the sidebar) — browse, preview, and clone voices there. If you don't pick a language for an agent, it uses your organization's default. Speech speed and volume can also be adjusted per agent; see Agent settings.
Transcriber
Voice Agents use STT (Speech to Text) to transcribe what the caller says. The transcript is sent to the LLM to generate the agent's response.
Lemu manages the transcription engine for you — there's no provider to pick. You only choose the language transcription should run in, per agent.
Open the gear icon in the workflow builder toolbar for that agent — the same Configurations panel used for Voice settings also has Transcriber (STT) Settings.
If you don't set a language for an agent, it uses your organization's default language. See Agent settings for everything else in the Configurations panel.
Interruption Handling
Control whether users can interrupt the bot while it is speaking by configuring the Allow Interruption toggle on each node.
Interruption handling controls whether the user can "barge in" and interrupt the bot while it is speaking. This is configured per node in the workflow editor, giving you fine-grained control over conversation flow.
Each node in your workflow has an Allow Interruption toggle:
Disabled (default) — The bot finishes its entire response before accepting user input. The user's microphone is temporarily muted while the bot speaks.
Enabled — The bot stops speaking as soon as the user starts talking, and immediately processes their input. This creates a natural, conversational experience.
When interruption is disabled and the user tries to speak during bot speech, a one-time warning appears in the live transcript indicating that interruption is disabled for that step.
Toggle Allow Interruption on or off in the node settings panel.
Save your workflow.
You can set different interruption behavior for each node. For example, disable interruption on your Start Node greeting but enable it on all subsequent Agent Nodes.
Bot continues, user input is ignored until bot finishes
Either
No
Yes
User input is processed normally
When interruption is disabled, the platform mutes the user's audio input while the bot is speaking. Once the bot finishes, the microphone is automatically unmuted and the user can respond normally.
Tracing
See what happened during a call: the transcript, tool calls, and optionally full traces in your own Langfuse project.
Every call run has a Call Transcript panel showing the conversation as it happened, message by message. When the agent calls a tool during the conversation, it appears inline as an expandable card showing the function name, its arguments, the result, and how long the model took to decide to call it.
Open a call from Runs in the sidebar (or from the agent's run history) to see this panel alongside the recording, starting details, and collected details (extracted variables, call disposition, tags).
For a complete trace of every LLM call, prompt, and tool invocation, Lemu can send trace data to your own Langfuse project. To turn this on for your organization, create API credentials for a Langfuse project and contact us at hello@lemuai.com. New calls start sending traces to your project once it is connected.
Debug unexpected responses — expand a tool-call card to see exactly what arguments the model sent and what came back.
Check transcription accuracy — review the transcript for places the agent misheard the caller.
Confirm tool usage — the transcript shows whether a tool was actually invoked, which helps when a workflow node has multiple tools attached.
WhatsApp Messaging
Send WhatsApp messages from a live call or a journey, and receive replies and delivery receipts, using your own WhatsApp Business provider
https://docs.lemuai.com/messaging/whatsapp
Lemu can send WhatsApp messages on your behalf, either while a voice agent is on a call or as a step inside a journey, and receive your customers' replies in the Inbox. Everything uses the same organization-level WhatsApp configuration, so you only connect a provider once.
WhatsApp sending shows up in four places:
A "Send Message" tool you attach to an agent node, so the model can send a WhatsApp message (a link, a confirmation, a follow-up) to the caller mid-conversation.
A message node inside a journey, so a workflow can text someone as one of its steps, for example after a call ends or when a trigger condition fires.
Your own system, through the API: Send a WhatsApp Template sends an approved template to one number with your API key, and Get a WhatsApp Message tells you whether it was delivered and read.
WhatsApp sending must go through an approved WhatsApp Business Solution Provider (BSP). Lemu does not provide WhatsApp numbers or templates itself; you connect your own provider account.
Configuration lives on the Integrations page (Settings → Integrations in the sidebar), in the WhatsApp messaging section. Choose one of the supported providers and save its credentials:
Provider
Credentials
WATI
API endpoint, API token
Meta Cloud API
Phone number ID, access token, (optional) WhatsApp Business Account ID, needed to list templates, and App secret (recommended), used to check that webhooks really come from Meta
Gupshup
API key, source WhatsApp number, and (optional) app name, needed to list templates
Twilio WhatsApp
Account SID, auth token, WhatsApp-enabled from number, or reuse your existing telephony Twilio credentials
Saved secrets (API tokens, access tokens, auth tokens, app secret) are masked once stored. The dashboard shows them back as asterisks, and re-saving the form without touching a masked field keeps the existing value.
Once a provider is connected, use Test send on the same page to send a real WhatsApp template message to a number you specify. This confirms your credentials and template work before you wire them into a call or journey.
To see customer replies in the Inbox and know whether your messages were delivered and read, your provider must send them to Lemu. After you save a provider, the Receipts and replies section on the same page shows a Callback URL (and, for Meta, a Verify token) to copy, plus what to do at the provider:
Provider
Where to set it
Meta Cloud API
In your Meta app → WhatsApp → Configuration, set the Callback URL and Verify token, then subscribe to the messages field
Twilio WhatsApp
Delivery receipts are requested on every send automatically. For customer replies, set the Callback URL as the "A message comes in" webhook (HTTP POST) on your WhatsApp sender
WATI
In WATI → Webhooks, add the URL and tick Message received, Template/Session message sent, Delivered, Read and Template message failed
Gupshup
In your Gupshup app → Webhooks, add the URL and tick the sent, delivered, read and failed message events
The Callback URL is unique to your organization and provider. Keep it private. Lemu also checks the provider's own signature where the provider signs its webhooks (Meta with the app secret, Twilio with the auth token), and ignores anything that doesn't check out.
Once it is set up:
Delivery receipts update each message's status (sent, delivered, read or failed) in the Inbox, on the contact and in the Event Log (with Message updates ticked).
Customer replies appear in the Inbox and are recorded as a whatsapp_message_received event on the contact, which segments and journeys can use. A reply also opens WhatsApp's 24-hour window for free-form messages.
A customer stops your WhatsApp marketing when they reply with an opt-out word, tap Stop promotions on a marketing template, or choose Stop marketing for your business in WhatsApp itself. Lemu sets their WhatsApp consent to opted out. An opt-in word sets it back.
Opts out
Opts in
STOP, STOP ALL, UNSUBSCRIBE, OPT OUT, STOP PROMOTIONS (Meta's opt-out button), बंद करें
START, SUBSCRIBE, UNSTOP, OPT IN, RESUME PROMOTIONS
Only a whole message counts: "stop" opts out, but "please don't stop my order" does not. Words like "cancel" or "end" are ignored on purpose, because customers use them about orders.
An opt-out stops marketing, as Meta's own opt-out does. Lemu doesn't send them broadcasts or marketing templates, whether the send comes from a call, a journey, a campaign or the API; the send fails with "This contact stopped marketing messages on WhatsApp". Replies in a chat they start (from the AI assistant, an agent or your team), utility templates such as order updates, and authentication codes still go.
A contact marked Opted out of everything gets nothing on any channel; the send fails with "This contact has opted out of all messages".
If Meta refuses a marketing message because the customer stopped marketing in WhatsApp (code 131050) and Lemu hadn't heard, Lemu records the opt-out then. See who opted out, and after which message, on WhatsApp analytics.
session: a free-form text message. This only works if the recipient has messaged your WhatsApp number within the last 24 hours (WhatsApp's session window).
template: a pre-approved WhatsApp message template. This works at any time, which makes it the right choice for anything business-initiated (outbound reminders, payment links, confirmations).
Templates must already be approved in your WhatsApp Business account. Lemu lists your approved templates by calling your provider's API. It doesn't create or submit templates for approval.
Wherever you configure a WhatsApp send (the in-call tool, a journey node or the Inbox), you pick a template from a searchable picker that:
Loads your approved templates from the connected provider
Shows a WhatsApp-style preview of the template body, with {{variable}} placeholders highlighted
Lets you fill in a value (or a template expression like {{context.name}}) for each variable the template defines
Shows a URL button suffix field if the template has a URL button, so you can fill in the dynamic part of the link (for example, a payment or callback URL). For a button made with Count clicks on this button, the field asks for the whole page to open instead; see Link Click Tracking
If no approved templates are found, the picker falls back to a plain text field for the template name and shows a hint pointing back to the messaging configuration.
Attach a Send Message tool to an agent node so the model can send a WhatsApp message while the call is active. In the tool's configuration you set:
Destination: either the current caller (the tool defaults to the phone number on the call) or the model provides the number (the model must pass a phone number as an argument)
Message kind: session or template, and if template, which template and its variables and URL button suffix (with the same template picker described above)
Spoken line before sending: optional. None, or a custom line the agent says before it sends the message (for example, "I'm sending that on WhatsApp now.")
To add one, go to Agent Setup → Tools, click New, choose the Send Message type, then tick the tool in the Agent Node's tool list. See Tools Library.
At runtime, the model can still pass a link or name argument when it calls the tool. These fill in remaining template variables (a URL button suffix, or a name variable) even if you didn't set them at configuration time. If the destination is set to "current caller", Lemu resolves the recipient's number from the call itself; you don't need the model to know or repeat it.
Session messages sent from this tool only succeed if the caller has an open 24-hour WhatsApp session with your number. Otherwise, use a template.
Inside a journey, a message node sends a WhatsApp message as one step in the workflow. Its configuration includes:
Field
Purpose
to / to_field
Recipient phone number, or a template expression that resolves to one (e.g. {{context.phone}})
kind
session or template
template_name
Which approved template to send (required for template)
language
Template language code (defaults to en)
template_params
Values for the template's variables, keyed by variable name or position (e.g. {"1": "{{context.name}}"})
button_url_suffix
Dynamic part of the template's URL button, if it has one
A message node fails validation (and won't run) if it's missing a recipient, a template send is missing a template, or a session send is missing a body.
To send a template from your store, CRM or backend (an order update, a payment reminder, a login code), call Send a WhatsApp Template with an API key from Settings → API Keys. You send the template's id (the Template ID in its side panel under WhatsApp → Templates, or its name and language instead), the number, and the values for its variables:
The message is paid from your WhatsApp balance, is never sent to a contact who opted out of everything (nor a marketing template to one who stopped WhatsApp marketing), and shows in the contact's Inbox conversation labelled API. Check delivery with Get a WhatsApp Message.
Recipient numbers should be in E.164 format (e.g. +919876543210). Lemu normalizes numbers before sending and rejects a number it can't send to. A 10-digit US-style number without a + is assumed to be +1; anything else without a recognizable country code is treated as invalid.
"No organization on this call; cannot send a message": the call isn't associated with an organization. This shouldn't happen in normal use.
Messaging not configured: no WhatsApp provider has been saved for your organization yet, or the saved configuration is incomplete. Go to Settings → Integrations and save valid credentials for a provider.
No approved templates found: your provider account has no templates in an approved state, or a piece of provider config needed to list them is missing (Meta Cloud API needs a WABA ID; Gupshup needs an app name). Outbound WhatsApp must use an approved template outside the 24-hour session window.
Invalid recipient: the phone number couldn't be normalized to E.164. Check that the number (or the field or expression supplying it) includes a country code.
"This contact stopped marketing messages on WhatsApp": the contact replied STOP (or a similar word), tapped Stop promotions, or stopped marketing in WhatsApp, and this is a broadcast or a marketing template. They can opt back in by replying START.
"This contact has opted out of all messages": the contact is marked Opted out of everything.
Replies don't show up in the Inbox: check the webhook at your provider against Receipts and replies on the Integrations page. For Meta, make sure the messages field is subscribed and the app secret matches.
Provider rejected the send: Lemu shows the provider's error message as-is. Check the template's approval status and parameter count against what the provider expects.
If you run into an issue connecting a provider or sending a message, reach out to ashish@lemuai.com.
WhatsApp numbers
Add and manage WhatsApp numbers: quality and daily limits, the business profile, conversation starters, PIN, chat links and numbers you also use in the WhatsApp Business app.
https://docs.lemuai.com/whatsapp/numbers
Engage → WhatsApp → Numbers lists every WhatsApp number on the workspace with its quality and daily limit. Managing numbers needs the config permission (Owner or Admin).
Numbers and health (on the Setup page) shows each number's quality, daily limit and status, and the account's Account review, Business and Payment checks. Low quality or a restriction pauses marketing until it recovers; see WhatsApp troubleshooting.
Template messages are paid from your prepaid WhatsApp balance in LemuAI, never billed by Meta. Each template costs Meta's rate for its category and the customer's country plus a small LemuAI margin (at most 5%); a failed message is refunded. Replies inside the 24-hour window are free. Recharge under Usage & Plan → Usage & balances.
WhatsApp Flows
Create forms customers fill in without leaving the WhatsApp chat, and save their answers to the contact.
https://docs.lemuai.com/whatsapp/flows
A Flow is a form inside WhatsApp: the customer taps a button in a message and fills in screens (name, email, city, a choice) without leaving the chat. Flows are under Engage → WhatsApp → Flows and belong to your WhatsApp Business account.
Press New Flow, or Start from a ready Flow. Give it a Name.
Choose where answers go
Under Save answers to the contact, map each answer: First name, Last name, Email (only if the contact has none), Company, WhatsApp opt-in (when ticked), a Custom field (give it a name like city), or Don't save.
Publish
Preview it, then Publish. Meta must accept it before you can send it.
The list shows each Flow's Status and Answers saved to. A published Flow can be Deprecated (no longer sent); a draft can be deleted (Delete draft).
Answers update the contact as mapped, so segments and journeys can use them right away.
A journey can start when a customer sends a Flow: trigger WhatsApp message received (a Flow reply). A Wait for reply step gets the answers as {{context.reply.flow_response}}.
WhatsApp catalog
Show your products on WhatsApp, send them in chats and templates, and receive orders that start journeys.
https://docs.lemuai.com/whatsapp/catalog
Engage → WhatsApp → Catalog puts your products on WhatsApp. Customers can browse them in the chat, add several to a cart and send an order, which LemuAI records and journeys can act on.
Sync from a Lemu catalog: LemuAI creates a catalog in Meta and keeps it up to date from a catalog under Audience → Catalog (including your Shopify products). Pick the Lemu catalog and an optional Name on Meta. Products need a price, an image and a link.
Connect a Meta catalog: use the catalog you already manage in Meta Commerce Manager (if you sell on Facebook or Instagram).
The Products list shows each product's price, stock and whether it's Ready or Not on WhatsApp, with the Problem for products that aren't (fix them in your catalog; the next sync picks it up). The status shows In sync, Syncing, Waiting to sync or Sync failed, with Products on WhatsApp, Last synced and the Meta catalog ID.
When a customer sends a cart, a journey with the trigger WhatsApp order placed starts, with the items, total and currency in the run. Use it to confirm the order, ask for the address, or create the order in your store.
From the Inbox you can send products in a chat (within the 24-hour window; otherwise use a catalog template). In templates, use a catalog or product button.
WhatsApp analytics
See how your WhatsApp messages perform, what they cost, what failed and why, how fast conversations are answered, and who opted out.
https://docs.lemuai.com/whatsapp/analytics
Engage → WhatsApp → Analytics covers the last 7, 30 or 90 days.
Per day charts outbound messages by the day sent (UTC). Why messages failed lists failure reasons with counts; each reason is explained in WhatsApp troubleshooting.
By template and By journey show the same figures for each template and journey, so you can see which message works. Their Opted out column counts the people who stopped your WhatsApp marketing with that message as the last one they got from you (in the 7 days before), and what share of the people it was sent to that is. Green is under 0.5%, peach under 1.5%, red above: a red message is driving people away.
New conversations, Customer messages, Median first response and Answered. First response time runs from a customer's message to the next reply from the AI assistant, an agent, a journey or your team.
People who stopped your WhatsApp marketing in the period. Each person counts once, even if they sent STOP twice.
Figure
Meaning
Opted out
The share of the people you messaged in the period who stopped, with the numbers
Messages before stopping
How many WhatsApp messages from you each person got before stopping (the median, and the average)
Stopped after your message
The median time from your last message to the stop
Came back
How many sent START or tapped Resume promotions afterwards
How they stopped splits them by: Typed STOP (or another opt-out word), Tapped Stop promotions on a marketing template, Stop marketing in WhatsApp (the option in WhatsApp itself, or Meta refusing a message because of it) and Marked by your team on the contact page.
At the bottom of the page, everyone who stopped in the period, newest first: when, how, how many messages they got before (and how many in the 30 days before), the last message they got from you and how long before, and whether they're still stopped. Click a name to open the contact. Phone numbers are masked unless you may see contact phone numbers.
Opt-outs are counted from 25 Oct 2026, when Lemu started keeping consent history. What an opt-out stops is on WhatsApp Messaging.
Journeys
Multi-step journeys that send WhatsApp messages and emails, place calls and call APIs, triggered by your own data and events
https://docs.lemuai.com/automation/introduction
A journey is a set of steps ("nodes") that runs when something happens: a contact adds to cart, a record changes, a schedule ticks, a webhook fires, or you click Run. Where a voice agent workflow is the conversation inside one call, a journey is the business logic around it: who to reach, on which channel, when, and what to do next.
Journeys are stored and run separately from voice agent workflows (which you build in the Voice Agent Builder). A Call step inside a journey is what connects the two: it dials out using one of your existing voice agents.
Journeys were previously called "Automations". You may still see the old name in a few places.
A voice agent only knows how to run one conversation. A journey decides when to start that conversation, gives it context, reacts to how the call went (answered, no answer, voicemail, busy), and carries on afterward: a WhatsApp follow-up, an email, an update to your CRM, a retry later, or a call to a different agent.
From Journeys in the dashboard, click New Journey and choose:
One-time: dial a set of contacts once, right now. Pick a voice agent and the contacts to call, from a Contact List, a CSV File, or Records (one call per record, for example one per loan or policy). Map the source's columns to the agent's variables, set the calling hours, and click Create journey.
Ongoing: runs automatically on a trigger. Pick a trigger type, then describe what should happen in your own words (for example, "when someone adds to cart, wait 30 minutes, send a WhatsApp, and call if they don't order within 4 hours"). The AI Copilot turns each step into a configured node on the canvas.
You land in the canvas builder, where you can keep editing by hand, then Save.
You can also click Import on the Journeys list to upload a journey you exported earlier as JSON.
A new journey starts as a draft. Set it to active before its trigger will fire. A draft or paused journey can still be run with Test, but real triggers (events, webhooks, schedules) only fire for active journeys.
Sends, orders, revenue, A/B results and call results. See Journey Reports
Runs
Every run of this journey, step by step
Use Test to run the journey straight away with your own context. Test runs ignore pause state, allowed hours, frequency caps and the call queue, so you can check a step without waiting for a real trigger. They are kept out of your report figures.
Every journey has exactly one trigger, set on the canvas's trigger node:
Trigger
Starts a run when
Events
A contact event happens: from the API, Shopify, your websites and apps, messages, segments or records (for example InitiateCheckout, Purchase, segment_entered)
Record changes
A record (a loan, a policy, a booking) is added, changes or is deleted
Record date
A date on a record is some days away or has passed (an EMI due date, a renewal)
Data Condition
A row in a contact list matches a condition. One run per row
Schedule
A cron expression matches, in the time zone you pick
Webhook
An outside system sends a POST to the journey's own URL
Workflow Event
Another journey's Emit Event step fires a matching event name
Every time a trigger fires (or you click Test), Lemu creates a run: one contact's pass through the journey. A run moves through these states:
State
Meaning
queued
Created; no step has run yet
pending
About to start
running
Running steps
waiting
Paused on a step: a call in progress, a wait, a wait for reaction, or a call waiting for a free line
completed
Reached an End step
failed
A step failed and the run could not continue
cancelled
Stopped by hand, or the contact left through an exit event
You can see all runs on Journeys → Runs, or one journey's runs on its Runs tab. Each run shows every step that ran, its input and output, and timing, which helps you see why a contact didn't get the result you expected.
Days and hours (with time zone) when the journey may send messages or place calls. A run that reaches a message or call outside the window waits for it to reopen
Respect frequency caps
On by default. Skips a message or call to a contact who already reached your sending limits. Turn off for order updates and other messages that must always go out
Count this journey's own conversions
Off by default: the journey's report counts your workspace's conversion events. Turn on and pick other events, for example Lead or a booking, to count those in this journey's report instead. Revenue on the dashboard still counts only the workspace's events
Own attribution windows
Off by default: orders are credited using your workspace's attribution windows. Turn on to set the hours per channel for this journey's messages
Track link clicks
On by default. Links in this journey's WhatsApp messages and emails go out as short links that count clicks. See Link Click Tracking
Retries
Retry calls that don't connect: how many times, how long to wait between tries, and whether to retry on busy, no answer or voicemail
Parallel calls are not set per journey. They come from a shared pool across all campaigns and journeys, set by your plan. When every line is busy, journey calls wait in line ahead of campaign calls. WhatsApp and email steps never wait for a line.
Automatic pausing when too many calls fail applies to campaigns only. A journey keeps running until you pause it.
The Call step is the bridge to your voice agents. It:
Places an outbound call through one of your active voice agents.
Can wait for the call to finish before continuing.
Passes chosen journey values into the call, renaming them if the agent's variables use different names.
Can bring the agent's captured data back into the journey.
Goes down a different path depending on how the call ended: completed, busy, no answer, voicemail, failed, or not called (when no line came free in time).
This is what makes journeys useful on top of voice agents: the journey decides who to call and when, the voice agent handles the conversation, and the journey picks up again with the result.
Steps that choose the channel and offer per person, read events, chat on WhatsApp with an agent, use AI, update records and sheets, or open tickets are on AI, conversation, data and ticket steps.
When you create a journey, the trigger list offers: Events, Enters or leaves a segment, WhatsApp message received, WhatsApp order placed, Customer opted out of WhatsApp, Record changes, Record date, Catalog item changes, Data Condition, Schedule, Webhook, Workflow Event and Manual. The WhatsApp, segment and catalog choices are ready-made versions of the Events and record triggers described below. Customer opted out of WhatsApp starts when a customer stops your WhatsApp marketing: replies STOP (or a similar word), taps Stop promotions, or chooses Stop marketing in WhatsApp itself.
This page is a reference for building journeys. For what journeys are and how to create one, see Journeys first. For how to combine waits, reactions, A/B splits and exit events, see Branching and Timing.
Each step keeps its settings in the node's data. Most text fields accept {{context.*}} placeholders, which are filled in from the run's context just before the step runs.
Every journey has exactly one Trigger step. When a run starts it simply passes through, because the run's starting context has already been set by whatever started it. Its real job is configuration: the node's data holds the trigger_type and that trigger's settings, described in Triggers below.
Call: place an outbound call
Dials out through one of your voice agents and, optionally, waits for the result.
Field
Purpose
agent_id
Required. The voice agent to call with
phone_number / phone_field
Required. The number to dial, or a placeholder that resolves to one
wait_for_completion
Default true. If true, the run waits until the call ends. If false, the step finishes as soon as the call is placed
timeout_seconds
Default 300. The longest to wait for the call
max_queue_minutes
When every line is busy, wait at most this long for one, then take the not_called path. For example 30 for cart recovery, so a WhatsApp goes out instead. Leave empty to wait as long as it takes
agent_input_vars
Names of variables the agent's prompts expect
agent_input_var_aliases
Maps an agent variable to a differently named journey value, when the names don't match
extract_outcomes
Which of the agent's captured values to bring back into the journey
Paths: with wait_for_completion on, the step goes down completed, busy, no_answer, voicemail or failed depending on how the call ended. With it off, it goes down initiated once the call is placed. It goes down not_called if no line came free within max_queue_minutes.
Phone lines: calls from journeys and campaigns share your organization's call limit. When every line is busy, journey calls wait in line ahead of campaign calls, oldest first. A waiting run holds nothing while it waits. WhatsApp, email and SMS steps never wait for a line.
Sends a WhatsApp message through your organization's WhatsApp setup. See WhatsApp Messaging for its full field reference (to_field, kind, template_name, language, template_params, body, button_url_suffix), alongside the WhatsApp setup it depends on.
Use a template (kind: template) for the first message to someone outside the 24 hour session window. Use a plain session message only when replying inside an open session.
Email: send an email
Sends one of your email templates to the contact. Setup required: a sending domain and sender in Email Setup.
Field
Purpose
template_id
Required. The email template to send
template_version
Optional. Pin a version. Leave empty to always send the latest
sender_id
Optional. The from address. Leave empty for your default sender
subject
Optional. Overrides the template's subject. Merge tags allowed
kind
marketing (default) or transactional
to_field
Optional. A placeholder for the address. Defaults to the contact's email
Marketing emails need email consent and get an unsubscribe footer. Transactional emails are for order updates, receipts and similar messages the contact expects.
Paths:success, skipped (the contact unsubscribed, is suppressed, has no address, or reached a frequency cap) and error.
SMS: send an SMS
Sends one of your SMS templates to the contact's Indian mobile number. Setup required: your DLT entity id and a sender in SMS Setup, and SMS credits.
Field
Purpose
template_id
Required. The SMS template to send
sender_id
Optional. The sender (header). Leave empty for the default sender that fits the template
variables
Optional. Values for the template's {#var#} slots, in order. Merge tags allowed. Leave empty for the template's own
to_field
Optional. A placeholder for the number. Defaults to the contact's phone
Promotional and service-explicit templates go only to contacts who opted in to SMS; service-implicit and transactional templates go unless the contact unsubscribed from SMS. Each value holds at most 30 characters once filled in. While SMS credits are empty, the step waits and tries again.
Paths:success, skipped (no opt-in, unsubscribed, no Indian mobile number, a value too long, or a frequency cap) and error.
HTTP Request: call an external API
Sends an HTTP request to any URL, with retries and response extraction.
Field
Purpose
method
GET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS. Default GET
url
Required. Must start with http:// or https:// unless it's a placeholder
headers, body, query_params
All accept {{context.*}} placeholders. A body that is an object or list is sent as JSON
timeout_seconds
Default 30, max 300
retry_config
{ "max_retries": 0-10, "retry_on_status": [502,503,504], "backoff_seconds": 1 }. The wait grows with each try (backoff_seconds times the attempt number)
success_status_codes
Default [200, 201, 202, 204]
response_path
A dot path (for example data.result.id) to keep one field of a JSON response instead of the whole body
Paths:success or error. A status code outside success_status_codes, a timeout, or a network error all count as failure once retries run out.
Emit Event: start other journeys
Sends a named event that other journeys can start from, using the Workflow Event trigger.
Field
Purpose
event_name
Required. The name other journeys' triggers listen for
payload
Extra data added to the event
Every other active journey with an active Workflow Event trigger for this exact event_name gets a run, with the current context plus payload. The output lists how many journeys were started. This journey does not wait for them; it moves to its next step straight away.
Update Contact: write fields onto a contact
Finds the run's contact by phone number and saves the given fields onto it.
Field
Purpose
fields
Required. { "field_name": "value or {{placeholder}}" }
first_name, last_name, email, company, title, tags and opted_out are set directly on the contact. Anything else is saved as a custom field. Values like now() + 5d (units d, h, m, s; days if no unit) are turned into a date and time first, which is handy for a hold_until or next_contact_date field. If no contact can be found for the run, the step succeeds without changing anything.
Load History: bring in past runs
Loads earlier completed runs for the same contact or row and adds a summary to the context, so a follow-up call can refer to what happened last time.
Field
Purpose
limit
How many earlier runs to load. Default 2
output_key
Where to store the list. Default previous_calls
include_fields
Which fields to keep per past run. Leave empty for the default set (disposition, call tags, captured values, transcript URL, duration, call summary)
answered_only
Only include past runs where the call captured values
flatten_last_extracted / flatten_prefix
Also save the most recent run's captured values as their own context keys, with this prefix (default last_call_)
output_mapping
Copy specific fields from the loaded history into context keys you choose
lookup_context_key
Field to match past runs by, if the current run has no dedupe key
Newest first: previous_calls[0] is the most recent earlier run. Also sets previous_calls_count.
Schedule Follow-up: wait, then start over or continue
Not a trigger. When the time is up picks what happens after the delay:
Start the journey over (the default): creates a brand new run of the same journey for the same contact, after the delay. Use it for "call back in N days" cycles.
Continue from here: the same run waits, then carries on down the after wait path. Connect that path back to the step you want to try again, for example the call. Once Max attempts are used up, the run goes down attempts used up instead.
Field
Purpose
delay_days / delay_hours / delay_minutes
Required (at least one above 0). Placeholders allowed, for example {{context.promised_days}}
forward_context_vars
Which context values to copy into the new run. Leave empty to copy everything
dedupe_key
Override for the new run's dedupe key. Defaults to the current run's, so Load History keeps finding the same contact's history
max_reschedule_count
Start over: how many times the chain may reschedule itself before it stops. Continue: how many times the step waits and carries on (Max attempts)
Required. The short project key shown in issue IDs, for example SUP
summary
Required. Issue title
issue_type
Required. Must be valid for that project, for example Task, Bug or Story
description
Optional. Issue description
Paths:success or error. Fails straight away if Jira isn't connected.
Google Calendar: book a meeting
Creates an event through your connected Google Calendar integration, on the connected account's primary calendar, always with a Google Meet link.
Field
Purpose
summary
Required. Event title
start_datetime
Required. ISO 8601, for example 2026-09-20T15:00:00
end_datetime
Optional. ISO 8601. A default length applies if empty
attendees
Optional. Email addresses, separated by commas
description
Optional. Event description
location
Optional. Event location
Paths:success or error. Fails straight away if Google Calendar isn't connected.
Shopify: act on an order
Acts on a Shopify order through your connected store. Setup required: a connected Shopify store.
Field
Purpose
action
Required. get_order (read the order's current status), confirm_order (tag and note the order as confirmed), cancel_order (cancel an unpaid, unshipped order; never refunds) or tag_order (add tags)
order
Optional. Order id. Leave empty to use the order from the Shopify event that started the run
note
Optional. A note written on the order, for example what the customer said
confirm_tag
confirm_order only. Default cod-confirmed
cancel_tag
cancel_order only. Default cancelled-by-call
reason
cancel_order only. customer_changed_mind, wrong_address, duplicate_order or other
restock
cancel_order only. Return items to stock. Default on
notify_customer
cancel_order only. Let Shopify email the customer. Default off
tags
tag_order only. Tags to add, separated by commas
The step acts whenever the journey reaches it, so put confirm_order and cancel_order behind a Condition on the customer's answer from the call.
Paths:success or error. Refusals (already shipped, paid or cancelled) and Shopify errors go down error.
ISO 8601 date and time, or a callback time, to wait until
async_wait
Pauses the run in the background instead of holding it. Chosen for you if empty: waits over 60 seconds always pause in the background
A wait can be up to a year long, and long waits use no capacity while they wait. If until_timestamp is already past, the step finishes straight away.
Wait for reaction: wait for the contact to act
Waits until the contact does one of the listed things, or until a time limit passes.
Field
Purpose
events
Required. Contact event types that count as a reaction, for example link_clicked, email_clicked or Purchase
duration_days / duration_hours / duration_minutes
The time limit. Up to 30 days
Only events after the step starts count. Clicks (link_clicked, email_clicked) count only on messages this journey sent the contact.
Paths:reacted (straight away, when a listed event happens) or no_reaction (when the time limit is up). The output includes reaction_event, the event the contact reacted with.
A/B split: test different branches
Sends each contact down one of 2 to 5 branches, by weight.
Field
Purpose
variants
2 to 5 branches, each { "key": "a", "label": "Discount", "weight": 50 }. Keys are a to e and must be different. Weights must be above 0 and are relative to each other
The same contact always gets the same branch. The output includes variant and variant_label.
Paths: one per branch key (a, b, and so on). The journey report compares branches on orders.
Catalog lookup: load a product
Loads one item from a catalog so later steps can use its details.
Required. The value to look for, for example {{context.product_id}}
Find the item by (match_fields)
Which columns to look for the value in. Default: the item's key. Pick others, like title to find a product by its name, or sku then group_id. Exact match, ignoring case; the first listed column that matches wins, and the run records it as matched_field
output_key
Where to store the item. Default catalog_item
Later steps use {{context.catalog_item.title}}, {{context.catalog_item.price}}, {{context.catalog_item.url}}, {{context.catalog_item.image_url}} and any other field of the item.
Paths:found or not_found.
End: finish this path
Marks a path of the journey as finished. Every journey needs at least one End step it can reach.
Set on the journey's single trigger step with trigger_type and the fields below.
Events: a contact event happens
Starts a run when a contact event happens, from any source: your app through POST /api/v1/events, Shopify, your tracking sources, messages, segments or custom records. In the API this is trigger_type: contact_event.
Field
Purpose
event_type
Required. The event type to match, for example InitiateCheckout, Purchase or segment_entered. Meta's standard event names match whatever their case, and older names still match: order_placed matches Purchase, cart_added matches InitiateCheckout
filters
Optional (Only when). Conditions on the event's data, for example total_price at least 1000 or is_cod is true. Operators: is, is not, greater than, at least, less than, at most, contains, does not contain, is one of, is none of, is present, is empty
delay_minutes
Default 0. How long to wait after the event before the journey starts, for example 60 for cart abandonment
cancellation_events
Optional (Exit events). A list of event types. If any of them happens for the contact, they leave the journey: during the delay, or later while the journey is waiting. For example Purchase for cart abandonment. Older journeys may have a single cancellation_event, which still works
exit_on_segment_exit
segment_entered only. On by default. A contact who leaves the segment leaves the journey
contact_list_id
Optional. Only start for contacts in this list
context_mapping
Optional. Maps fields from the event's data to context keys. Leave empty to pass all fields through
Available when the run starts: {{phone}}, {{event_type}}, {{event_id}}, the event's data fields, and for Shopify events, {{shopify_order_items}} (the live order items, total and status at call time).
Record changes: a record is added, changed or deleted
Starts a run when a custom record (a loan, a policy, a booking) changes. In the API this is an Events trigger on object_created, object_updated or object_deleted.
Field
What to choose
Record type
Required. Which kind of record to watch
When a record
Is added, changes, or is deleted
Field that changed
For changes: one field, or any field
And the record now
Optional. Conditions on the record after the change, for example status is overdue
Delay (minutes)
Optional. How long to wait before the journey starts
Record date: days before or after a date on a record
Starts a run a set number of days before, on, or after a date on each record, for example 3 days before an EMI due date. In the API this is trigger_type: object_date.
Field
Purpose
object_type
Required. The record type
field
Required. A date (or date and time) field on the record
days
0 to 365
direction
before, on or after
at
Time of day to start, for example 10:00
timezone
Time zone for at
filters
Optional (Only records where). For example status is not closed
Each record starts at most once per date. If the date on the record changes, it can start again for the new date.
Data Condition: check a contact list
Keeps checking the rows of a contact list and starts one run per matching row. The same row doesn't start again and again.
Field
Purpose
contact_list_id
Required. Which contact list to check
dedupe_field
The column that identifies a row. Defaults to phone number. One run per value
dedupe_window_hours
Optional (Repeat After). Start again for the same row after this many hours (for example 24 for once a day). Leave empty to start only once per row, ever
condition_group
Conditions on the row's columns, in the same shape as the Condition step. No conditions means every row starts a run
context_mapping
Maps list columns to context keys. Leave empty to pass all columns through
Each row's run has the dedupe key {trigger_id}:{dedupe value}, which is what lets Load History find that row's earlier runs.
Schedule: run on a cron expression
Starts a run on a repeating schedule.
Field
Purpose
cron
Required. A standard 5-field cron expression, for example 0 9 * * 1-5
timezone
Default UTC in the API. The builder starts new triggers on Asia/Kolkata
start_date / end_date
Optional dates when the schedule is active
It runs once per scheduled time, even if the check happens a little late.
Webhook: start with an HTTP POST
Gives the journey its own hard-to-guess URL. Any POST to it starts a run, with the request body as the starting context. No API key is needed: the URL itself is the secret.
Field
Purpose
secret
Optional. If set, requests must include X-Webhook-Signature: sha256=<HMAC-SHA256 of the raw body with this secret>
The URL is created with the trigger and shown in the trigger's settings panel.
Workflow Event: started by another journey
Starts a run when another journey's Emit Event step sends a matching event name. Use it to chain journeys together.
Field
Purpose
event_name
Required. Must exactly match the other journey's event_name
filter
Optional. A condition (same shape as the Condition step) on the event's data. The run only starts if it matches
The trigger panel lists event names your other active journeys already send, so you can pick one instead of typing it.
Manual: someone clicks Run
Starts a run only when someone starts it.
Field
Purpose
allowed_user_ids
Optional. Only these members can start it. Leave empty for anyone with access to the journey
initial_context_schema
Optional. { "field_name": { "type": "string", "required": true } }. The dashboard asks for these fields when someone clicks Run, and won't start without the required ones
A One-time journey (from New Journey → One-time) doesn't need a trigger you set up yourself. It calls everyone in a contact list, CSV file or set of records once. See Creating a journey.
Journey steps that choose the channel and offer per person, read a contact's events, chat on WhatsApp with an agent, use AI on replies, update records and sheets, and open tickets.
https://docs.lemuai.com/automation/more-steps
These journey steps are added from the Add New Node panel in the journey editor, like the steps in Journey Nodes & Triggers. Each section gives what the step does, its settings, and the paths (exits) it can leave by. Values marked {{…}} are variables from the run.
Picks, for each contact, which channel to try first (email, SMS, WhatsApp, and optionally a call), waits for that person's best hour, and picks an offer tier: no offer for loyal low-risk buyers, high for at-risk big spenders, otherwise standard.
Setting
Meaning
Default
Channels
Which of email, SMS (Indian mobile numbers), WhatsApp and call it may use
Timing
Their best hour, or now
Best hour
Offers
An offer head per tier (standard, high). Leave a tier out to send no offer
Follow-up hours
Hours to wait for a response before trying the next channel (1-72)
24
Max attempts
Most channels to try per contact (1-3)
2
Who may be called
At-risk big spenders, contacts above a lifetime value, or anyone
At-risk big spenders
Call first
Allow a call as the first try
Off (calls are follow-ups only)
Explore
Share of contacts (0-50%) given a random tier, to compare offers
10%
Cheaper channel within
Use the cheaper channel when its response is within this percent of the best
20%
Exits:email, sms, whatsapp, call (connect each to the step that sends on that channel), then responded (they read, clicked, replied, answered or ordered; for SMS, a link click), no_response (after the last attempt) and unreachable (no channel can reach them).
Connect each send step's outcomes back to this step, so it can wait for a response and try the next channel. Templates use {{offer.chosen.code}} and {{offer.chosen.headline}}.
Reads the contact's own events of one type (website views, add to carts, orders, any custom event) over a time window, and saves a summary for later steps under {{context.events}}.
Setting
Meaning
Event
Like ViewContent, AddToCart or Purchase
Filters
On the event's properties (equals, contains, is in, greater than…), values can be variables
Look back
How far back (default 30 days); empty for all time
Group by
A property to group by (like content_ids or items.id) to find the most frequent value
Add up
A number property (like value) for sum, average, min and max
Minimum count
Events needed to leave by found (default 1)
Results:count, first_at, last_at, last (the newest event's properties, like {{context.events.last.content_name}}), recent (newest 10); with group by, {{context.events.top.value}} and {{context.events.top.count}}; with add up, sum, avg, min, max.
Exits:found, not_found.
Example: a journey started by Enters or leaves a segment looks up ViewContent grouped by content_ids, then a Catalog lookup with key {{context.events.top.value}} to message about the product they viewed most.
Fetches one item from a catalog (like your Shopify products) or a record type by its key, usually from the event ({{context.product_id}}), so later steps can use {{context.catalog_item.title}}, .price, .url and .image_url.
Find the item by lets you look for the value in other columns instead of only the key, for example the title to find a product by name, or sku then group_id. The match is exact, ignoring case, and the first listed column that matches wins. The run records which column matched.
Changes fields on a custom record: by default the record the journey is about (from Record changes, Record date and Catalog item changes triggers), or another one by record type and key. Values can be variables, and dates like now() or now() + 3d.
Use it to mark a back-in-stock alert as notified, a lead as contacted, or a loan as reminded.
Writes values into a row of your connected Google Sheet. The row is found by the contact's phone number (the column you mapped to phone when connecting) and added if missing.
Columns: sheet column header → value. Values can be variables and dates like now() - 1d. The headers must already exist in the sheet.
Sheet: which connected sheet (only needed when you have more than one).
Waits for the contact's next WhatsApp message and saves it as {{context.reply}}: reply.text, reply.button_text, reply.button_payload, reply.media, reply.order, reply.flow_response, reply.message_type.
Timeout: how long to wait (default 24 hours).
Number: only count replies to one business number (empty = any).
Exits: one per button (or list row) of the WhatsApp message before it, text for any other reply, timeout when nothing arrives.
Hands the contact's WhatsApp chat to one of your agents until it finishes. The agent answers every message with its prompt, knowledge base and tools, like a call but in chat.
Setting
Meaning
Default
Agent
The agent that chats
First turn
Reply (answer the message that started the journey) or Greet (the agent opens)
Reply
Silence hours
Leave by timeout after this long without a customer message
24
Number
The business number; empty = the one the contact last wrote to
Pass variables
Journey variables the agent can use
Exits:completed, handed_off (the agent or customer asked for a person: follow it with Assign to team), timeout and window_closed. Needs an open 24-hour window (the customer wrote recently). The agent's extracted variables join the run like a call's.
Hands the contact's WhatsApp conversation to your team in the Inbox, optionally to one teammate, with a Note shown in the thread. Then: end the journey (default) or continue.
Use it after an Agent conversation's handed_off exit, or when an AI step classifies a complaint.
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:
Step
What it does
Wait
Pauses the contact for a fixed time, or until a date and time
Wait for reaction
Waits until the contact does something (clicks, orders) or a timeout passes
A/B split
Sends each contact down one of 2 to 5 branches, by weight
Condition
Picks a path based on data the journey already has
Look up catalog item
Loads a product (or other catalog item) so later steps can use its details
Exit events
Removes 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.
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 waits until the contact does one of the things you list, or until a time limit passes. It has two exits:
Exit
When the contact takes it
reacted
Straight away, as soon as one of the listed events happens for this contact
no_reaction
When 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.
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.
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.
A journey's report and the Dashboard show orders and revenue credited to your messages and calls. This page explains how that credit works and the journey settings that change it. The settings are in the journey editor's settings dialog (Workflow Settings).
An order arrives as a conversion event (by default Purchase, from Shopify, the tracking snippet or SDKs, or the events API), or as a new record of a record type that holds orders.
LemuAI looks for the last journey or campaign message the contact got, on any channel, within that channel's attribution window (default: WhatsApp 72 hours, email 120 hours, calls 72 hours, SMS 24 hours).
If there is one, the order and its value are credited to that message, its journey or campaign, and its channel.
Details:
An answered call counts as a message; an unanswered one doesn't.
One order counts once, however many events report it (matched by order_id).
Orders whose credited message had a link clicked first are marked as "after a click".
The workspace's conversion events and windows are set under Settings → Sending Limits → Revenue attribution (see Sending Limits).
Turn on Count this journey's own conversions to give the journey its own goal events, for example Lead for a lead-generation journey, or two purchase events from different stores. The journey's report then counts these events in place of the workspace's. Revenue on the Dashboard still counts only the workspace's conversion events.
Turn on Own attribution windows to set, per channel, how long after one of this journey's messages an order is credited to it. Channels you leave out use the workspace's windows. Use a short window for urgent messages (cart reminders: 24 hours) and a longer one for slow decisions.
Track link clicks (on by default) sends links in the journey's WhatsApp messages and emails as short links that count clicks. A click gives the contact a link_clicked event (journeys can start on it, wait for it with Wait for reaction, or exit on it), marks the message clicked, and on your own website links the visit to the contact, so a purchase there is credited even if they never sign in. Bots and link previews aren't counted. Template link buttons, UTM tags and reports are explained in Link Click Tracking.
one of the trigger's Exit events happens (for example Purchase in a cart reminder journey), or
they leave the segment the journey started from (Exit when the contact leaves the segment, for Enters or leaves a segment triggers).
Only runs that are queued or waiting are stopped; a run in the middle of a call or send finishes that step. The run shows exited: {reason}. See Branching and Timing.
Trigger: Events → InitiateCheckout, with Exit eventsPurchase.
Track link clicks on (the default), Own attribution windows WhatsApp 24 hours.
Steps: Wait 1 hour → WhatsApp reminder with the cart link → Wait for reaction (link_clicked, 6 hours) → no reaction: email.
People who buy leave the journey right away; orders within 24 hours of the WhatsApp message are credited to it.
Link Click Tracking
Short links that count clicks in WhatsApp messages and emails, the link_clicked event, and how a click connects a website visit to the contact.
https://docs.lemuai.com/messaging/link-tracking
Links in your journey, broadcast and email campaign messages go out as short links on le2.in. When a contact opens one, Lemu counts the click and sends them straight to the original page.
Inbox replies, test sends and transactional emails
No, links go out as you wrote them
In a WhatsApp message, links in the text, in captions and in link buttons are tracked. In an email, every link is tracked except the unsubscribe and preferences links. mailto: and tel: links are never changed.
To turn tracking off:
Journey: open Settings and turn off Track link clicks.
Broadcast: clear Track link clicks when you create it.
Email campaign: turn off Track link clicks in the campaign settings.
A WhatsApp template's link button has an address Meta approves with the template, so Lemu can only track it if the template was made for it:
In the template editor, add a Link button and turn on Count clicks on this button. The address becomes https://le2.in/{{1}}.
Enter a real page on your site under Sample page and click Create sample link. Meta's reviewers open the sample, so it must work.
Submit the template for approval.
When you use the template in a journey, broadcast or agent, fill Page to open (clicks counted) with the full page address, for example https://yourshop.com/sale or a variable such as {{context.payment_link}}. Each message gets its own short link to that page.
Templates whose link button has a different address keep working as before, without click tracking.
The message shows as clicked in reports and in the contact's activity.
The contact gets a link_clicked event on the first click of each link. It carries the page (url), the channel (whatsapp or email) and the journey step that sent it. Use it as a journey trigger, in Wait for reaction, as an exit event or in a segment. In Wait for reaction, clicks count only on messages that journey sent.
Emails also keep the email_clicked event.
A WhatsApp link click counts as a response on the dashboard.
Link previews (WhatsApp, Facebook, Slack and others), mail security scanners and other bots still reach the page but are never counted.
When a tracked link opens one of your own sites (the sites your website pixel accepts, or your Shopify store), Lemu adds lmclid to the address. If that visitor is not yet known, the pixel links them to the contact the message went to, so their visits and orders count as that contact's even if they never sign in. A browser that already belongs to someone is never moved, so a forwarded link can't take it.
Links to other sites, such as payment pages, open exactly as written.
A short link keeps working for 180 days after the message is sent.
Journey Reports
See what a journey sent, what it skipped, the orders, revenue and ROI credited to it, and which A/B branch is winning
https://docs.lemuai.com/automation/reports
Every journey has a Report tab next to Canvas and Runs. It shows how the journey performed over the date range you pick (or All time).
The report has two parts:
Messages and revenue: what the journey sent on each channel, and the orders, revenue and ROI credited to it. This part appears once the journey has sent something.
Call results: how the journey's calls went, if it has a Call step.
Once the journey has credited orders or message spend in the period, a row of four tiles shows what it earned against what it cost:
Tile
Meaning
Orders
Conversion events credited to this journey's messages: the journey's own if it counts its own conversions (see Journey settings), otherwise your workspace's (Purchase by default). If some arrived without a value, the hint says how many, because revenue and ROI are then understated. Otherwise it says how many came after a link in the message was clicked
Revenue
The value of the credited orders, per currency
Message spend
What the journey's messages cost: WhatsApp charges from your WhatsApp wallet. Email credits and call minutes are not priced here
ROI
Revenue for each 1 of message spend, for example 3.5x. Shows – when there was no message spend in the period
ROI only counts revenue in the same currency as the spend. See How ROI is calculated.
When the journey's messages carry tracked links, a Links table lists each link with the step that sent it, how many messages carried it (Sent), how many of those a person opened (Clicked), the Click rate and All clicks. Link previews and mail scanners are not counted.
An order is credited to the last journey or campaign send the contact got, on any channel, as long as it came within that channel's attribution window (the journey's own windows when it sets them).
Answered calls count as a send. Unanswered calls do not.
One order counts once, even if your store reports it more than once.
Which events count as orders, and how long each channel's window is, are set in Sending Limits. By default an order is the Purchase event (older names such as order_placed still match).
An order needs a value and currency to add revenue, and an order_id to be counted once. See Standard and conversion events.
Because only the last send gets credit, an order a contact places after a journey message and then a campaign email is credited to the campaign email.
For each A/B split in the journey, the report shows every branch with:
How many contacts went down it.
How many of them placed a credited order, and the order rate.
The revenue credited to that branch.
The chance that this branch has the best order rate.
The branch most likely to be best is marked Leading. Once a branch has a 95% chance of the best order rate, it is marked Winner. The comparison starts once every branch has some contacts.
Small numbers swing a lot. Wait for a few hundred contacts per branch before you act on a result, then turn the losing branch's weight down to 0 or remove it.
If the journey places calls, the Report tab also shows call figures:
Figure
Meaning
Conversations
Calls where someone picked up
Connect rate
Conversations divided by call attempts
Qualified outcomes
Conversations where the agent captured data
Minutes per outcome
Billed minutes divided by conversations with captured data
Data captured
Share of connected calls where the agent captured usable data
Avg call duration
Average length of a connected call
Charts below these figures show conversations over time, where contacts drop off between the trigger and a qualified outcome, the outcome mix, the best hours to call, how many calls it takes to connect, and how call length relates to results.
Send one-off emails to segments and lists, with A/B tests, throttling and revenue reporting
https://docs.lemuai.com/email/campaigns
Setup required: sending campaigns needs LemuAI's email service enabled for your account (contact hello@lemuai.com), a verified domain and a sender in Email Setup, and at least one template.
Campaigns (Email → Campaigns in the sidebar) sends a one-off email to the people in your segments and lists. Use a campaign for newsletters, launches and announcements. For emails that react to what a person does (a cart left behind, a first order), use an Email step in a journey instead.
The campaign list shows each campaign's status, schedule and results. Click New campaign to start one.
Spread sending over (hours): 0 sends as fast as possible. Spread big sends from a new domain over a few hours; mailbox providers trust a steady flow more than a sudden spike.
Ignore frequency caps: for announcements that must reach everyone. Leave it off for normal marketing.
Track link clicks: on by default. Links go out as short links that count clicks; the report then lists each link. See Link Click Tracking.
Send two to four variants to a test group first; the winner goes to everyone else.
Add variants
Click Add variant. Each variant has its own subject (and can use a different template version). You can have up to four, A to D.
Set the test
Test group (%): how much of the audience gets the test, from 5% to 50% (20% by default). It is split evenly between the variants.
Pick the winner after (hours): how long to wait before choosing, from 1 to 72 hours (4 by default).
Winner by: Click rate, Revenue per email or Open rate (approximate).
Send
While the test runs the campaign shows A/B testing. When the wait is over, the variant that did best is sent to everyone who was not in the test group.
Prefer click rate or revenue. Open rates are approximate, because some mail apps (Apple Mail in particular) open every email automatically.
Sent, Delivered (with the number bounced), Opened, Clicked (with unsubscribes and spam complaints)
Revenue and the number of Orders attributed to the campaign
For an A/B test, the same numbers for each variant and which one won
The skip reasons, with counts
Opens are approximate for the reason above. Bounces, complaints and unsubscribes also feed the Deliverability page.
Email Templates
Design emails once in the drag-and-drop editor, personalize them with merge tags, and use them in campaigns and journeys
https://docs.lemuai.com/email/templates
Setup required: you can design and preview templates right away. Sending them (test sends, campaigns, journeys) needs LemuAI's email service enabled for your account (contact hello@lemuai.com) and a verified domain in Email Setup.
Templates (Email → Templates in the sidebar) is where you design emails once, then send them from campaigns and from journey Email steps.
Marketing (needs consent, has unsubscribe): newsletters, offers, reminders. Only goes to contacts who agreed to email, always shows your postal address and an unsubscribe link, and counts toward frequency caps.
Transactional (orders, accounts): order confirmations, receipts, account messages. Goes to anyone with an email address who is not suppressed, does not need marketing consent, and does not count toward frequency caps.
Use transactional only for messages the person needs, not for promotions.
Built a header or footer you want to reuse? Select it and click Save as a reusable block, then name it. It appears under Saved blocks in every template. Changing a saved block later does not change emails that already use it.
Click Preview to see the email as a sample person or as one of your contacts (enter a contact id to fill merge tags with their details). Switch between Desktop, Mobile and Dark mode. Unsaved changes are included in the preview.
Click Save to save a new version (the header shows Saved v3, for example, or Unsaved changes). Open Versions to see every saved version and Restore an older one.
Campaigns and journey steps use a specific version of a template, so a campaign that is already scheduled or sending is never changed by edits you make later.
In a journey: add an Email step and choose the template, the sender and, optionally, a different subject. The step sends to the contact the journey is running for and reports whether the email was sent, skipped (for example because the person unsubscribed) or failed.
Deliverability
How mailbox providers treat your email, how bounces, complaints and unsubscribes are handled, and when sending pauses
https://docs.lemuai.com/email/deliverability
Setup required: this page fills in once you send email, which needs LemuAI's email service enabled for your account (contact hello@lemuai.com) and a verified domain in Email Setup.
Deliverability (Email → Deliverability in the sidebar) shows how mailbox providers treat your email: bounces, spam complaints and delivery by provider. Good deliverability means your email lands in the inbox, not in spam.
Reputation, last 7 days: your Bounce rate and Spam complaint rate, each with the level at which marketing email pauses (5% and 0.2%). Rates count once at least 200 emails went out in the period, so a handful of early bounces can't pause you.
Daily volume: emails sent per day, with days that had bounces or complaints marked in red. Hover a day for its numbers.
By mailbox provider, last 30 days: the same numbers for Gmail, Yahoo, Outlook and others, so you can spot one provider treating you badly.
To protect your sending reputation, Lemu pauses marketing email for your account when, over the last 7 days and at least 200 emails:
Rate
Pauses at
Bounce rate
5%
Spam complaint rate
0.2%
While paused, campaigns and marketing journey emails are skipped with the reason Sending paused. Transactional email (order confirmations, receipts) keeps going.
A red Marketing email is paused banner on this page and on Email Setup shows the reason. Fix the cause first: usually an old or bought list (bounces) or email people didn't expect (complaints). Then click Resume sending.
Every marketing email has an unsubscribe link, and supports one-click unsubscribe from the mailbox itself (the Unsubscribe button Gmail and Yahoo show next to the sender).
The link opens a page with an Unsubscribe button. Opening the link alone never unsubscribes anyone, because security scanners open links in email automatically.
Unsubscribing sets the contact's email consent to unsubscribed. They get no more marketing email; transactional email still arrives.
The email preferences link (preferences_url in templates) lets a person subscribe again.
Marketing email goes only to contacts whose email consent is subscribed, or, if you turned on Email contacts with no recorded consent in Email Setup, also to contacts with no recorded consent. Unsubscribed contacts are always skipped.
Transactional email does not need marketing consent, but is still never sent to suppressed addresses.
Send from a subdomain, and get your domain to Ready (DMARC and the link domain set up).
Only email people who asked to hear from you. Never use bought lists.
Spread big sends from a new domain over a few hours with Spread sending over (hours) on the campaign.
Fix template warnings: add preview text and alt text, avoid link shorteners and all-caps subjects.
Judge results by clicks and revenue. Open rates are approximate because some mail apps open every email automatically.
SMS Setup
Add your DLT entity id and sender ids so you can send SMS to Indian mobile numbers
https://docs.lemuai.com/sms/setup
Setup required: SMS is sent through LemuAI's SMS partner and needs SMS turned on for your account. Contact hello@lemuai.com to enable it. You also need your business registered on DLT (see below).
SMS Setup (SMS → Setup in the sidebar) is where you get your account ready to send SMS. Do this once before you add SMS templates, send SMS campaigns or add an SMS step to a journey.
SMS goes to Indian mobile numbers only. Contacts with a number from another country are skipped.
In India, every business SMS is checked against the DLT (Distributed Ledger Technology) register that TRAI runs with the telecom operators. Before you can send, you register three things on a DLT portal (Jio, Airtel, Vi, BSNL and others run one):
On DLT
What it is
Where it goes in LemuAI
Principal entity
Your registered business. You get a principal entity id
SMS → Setup, Principal entity id
Header
The sender id people see, for example ACMECO
SMS → Setup, Senders
Content template
The exact text of each message, with {#var#} where values go
Operators reject any SMS whose entity, header or text doesn't match what you registered. If your DLT portal asks which telemarketer you send through, ask LemuAI support.
Under DLT registration, enter the Principal entity id from your DLT portal (digits only) and click Save. Your account has one entity id; it is sent with every SMS. You can add as many senders (headers) as you registered under it.
Transactional or Service (a 6-letter header, for example ACMECO), or Promotional (a 6-digit header, for example 123456)
Header
The header exactly as registered
DLT header id
Optional. The header's id from your DLT portal
Active
Inactive senders are never used
Promotional templates go from a promotional (numeric) header. All other templates go from a letter header.
Each sender row has Edit and Delete. The Used by column shows how many templates are registered with it.
Edit changes the header, type, DLT header id or whether it is active. A sender's type can't change while a template that needs the current type is registered with it.
Delete removes the sender. Templates registered with it no longer name it and go from any active sender of the right type.
The first sender you add becomes the default (marked with a star). If you delete or turn off the default, the next active sender becomes the default. Use Make default to change it. When a journey or campaign doesn't name a sender, LemuAI uses the default if it fits the template, otherwise the first active sender that fits.
Promotional and service-explicit SMS need the person's opt-in. This setting decides what happens for contacts who never said yes or no to SMS:
Skip them (recommended): only contacts who opted in to SMS get promotional and service-explicit SMS.
Send to them: for when you collected consent somewhere LemuAI doesn't know about.
Service-implicit and transactional SMS (one-time passwords, order and delivery updates) go to everyone who hasn't unsubscribed from SMS.
A contact's SMS consent is set by hand (SMS consent on the contact), through the contacts API, or with an SMS opt-in field in a form on your website. SMS is send-only: replies to your SMS don't reach LemuAI.
Buy SMS credits under Usage & Plan. A message the operator refuses before sending is refunded, and test sends are free. When credits run out, journey SMS steps and campaigns wait and carry on after you recharge.
If LemuAI pauses SMS for your account, a banner at the top of SMS → Setup says why. Click Resume sending once the reason is fixed.
SMS Templates
Add the SMS templates you registered on DLT and choose what fills each value
https://docs.lemuai.com/sms/templates
Setup required: add your DLT entity id and at least one sender in SMS Setup first.
SMS Templates (SMS → Templates in the sidebar) lists the templates you registered on your DLT portal. Journeys and campaigns can only send these templates, because operators reject any text that doesn't match a registered template.
DLT allows at most 30 characters in each value once it is filled in. A value that is longer, or a merge tag that fails, stops that SMS (it is skipped, not charged). Line breaks inside a value become spaces.
Links inside values are sent as tracked short links in journeys and campaigns, so you can see clicks. Ask LemuAI support for the link domain to whitelist on DLT.
Journeys and campaigns can replace these values with their own for that send.
While you edit, the preview shows the message filled in with a sample contact, its length and how many parts it uses. Text in Hindi or other scripts (or with emoji) is sent as Unicode, which fits 70 characters in a part instead of 160. Each part uses one SMS credit.
Open a template's menu and click Send a test to send it to up to 5 Indian mobile numbers with sample values. Test sends skip consent and frequency caps, use no credits, and up to 20 can be sent a day.
Delete hides the template from journeys and campaigns. SMS already sent keep their history.
SMS Campaigns
Send a one-off SMS to segments and lists, at once or at each person's best hour
https://docs.lemuai.com/sms/campaigns
Setup required: SMS needs to be enabled for your account (contact hello@lemuai.com), your DLT entity id and a sender in SMS Setup, at least one SMS template, and SMS credits under Usage & Plan.
SMS campaigns live in Campaigns (open the SMS tab). A campaign sends one SMS template to the people in your segments and lists. For SMS that react to what a person does (an order shipped, a cart left behind), use an SMS step in a journey instead.
Click New SMS campaign to start one. It is saved as a Draft until you send or schedule it; click Save draft at any time.
Send to segments and Send to lists: everyone in any of them gets the SMS once.
Exclude segments and Exclude lists: anyone in these is left out.
Only contacts with an Indian mobile number are included. Promotional and service-explicit templates go only to contacts who opted in to SMS (see SMS Setup).
Click Check recipients to see how many contacts will get the SMS, how many parts each uses, the SMS credits it needs, and why the rest won't get it (no opt-in, unsubscribed, not an Indian mobile number, frequency cap).
Then click Send now, or pick a date and time and click Schedule. To change a scheduled campaign, cancel it first.
If credits run out while sending, the campaign waits and carries on as soon as you recharge.
Cancel sending stops a scheduled or sending campaign. SMS that already went out are not affected. Delete removes a draft, cancelled, sent or failed campaign and its report.
Offers
Set up discount codes once and use them in emails, WhatsApp messages, journeys and voice agents, with unique codes per customer and rules for who gets what.
https://docs.lemuai.com/offers/overview
Engage → Offers keeps your discounts in one place. Messages don't contain the code itself; they link to an offer head (like "Welcome offer"), and the offer head decides which offer and code each person gets. Change the offer under a head and every template, journey and agent that uses it follows.
The offer applies without a code, like free delivery this week
One code for everyone
Everyone gets the same code, like DIWALI20
Unique codes you upload
You upload a list from your store or billing system
Unique codes Lemu makes
LemuAI generates them (with an optional Code prefix like WEL-); download them and import them into your store
Shopify discount codes
LemuAI adds codes to a discount you set up in Shopify, and tops it up when it runs low. Needs your store connected with its own app and the Shopify discount ID (the number at the end of the discount's page address)
Unique-code settings:
When someone already has a code:Give them the same code again (one code per person across email, WhatsApp and calls), or Give a new code if theirs was used or expired.
Codes expire: optional date; no codes are given out after it.
Warn when this many are left: owners and admins get an email when the pool runs low (default 10% of all codes, at least 10) and when it's empty.
On Engage → Offers, add an offer. Pick the discount type (Percent off, Amount off, Free shipping, Buy X get Y or Something else), what it Applies to (The whole order, Some products or Some categories), any Minimum order, and the codes.
Write the lines
Fill in Headline (main line in emails, like 10% off your first order), One line for WhatsApp (no line breaks), and How a voice agent says it (as spoken: ten percent off your first order).
Create an offer head
Give it a Name (Welcome offer) and a Key (welcome). The key can't change later, because messages link to it. Choose its Offer and what happens When no offer can be used: another Fallback offer, send without an offer, or skip the send.
Use it in messages
In an email template or WhatsApp template value, use the insert offer button or type {{ offer.welcome.code }}. Voice agents get offers in the Offers section of a step.
The Codes list shows every code with its status: Not given out, Given out, Used or Stopped, and who got it. Codes are marked used when an order with that code reaches LemuAI (Shopify, the tracking snippet, or the API). Stop handing out unused codes? stops codes nobody has yet (for example if a list leaked); codes people already have keep working in your store.
Codes are claimed only for real sends. Previews and test sends show SAMPLE-CODE for unique codes.
"No codes found" or the pool is empty: upload or generate more codes. Until then the head's fallback applies.
A message showed no code: the head had no live offer (outside its dates, or archived). Check the head's Live offer column.
Code marked unused but the customer used it: the order didn't include the code, or didn't reach LemuAI. Check the order event in the Event Log.
Experiences
Show popups, bars, blocks and widgets on your website that match your design, target the right visitors, collect details into contacts and records, and start journeys.
https://docs.lemuai.com/website/experiences
Engage → Website → Experiences puts things on your own website: a welcome popup with an offer, a "notify me when back in stock" button, a call-back request, a bar announcing a sale. Each experience can collect details (phone, email, size) into a contact and a record, and start a journey that follows up on WhatsApp, email or a call.
Your site needs the LemuAI tracking snippet (or an SDK) from Settings → Tracking Sources. Experiences run through the same snippet; there's nothing else to add. See Tracking Sources.
The Templates tab has ready experiences: a welcome offer, back-in-stock alerts, exit intent on the cart, a call-back button and more. Use this creates the experience, plus the record type and journey it needs (both as drafts for you to check, the journey with WhatsApp steps waiting for you to pick your approved template).
To start blank: New experience, give it a Name (like Diwali welcome popup) and pick a Format.
Steps and blocks (text, images, forms, buttons, product rows) and Look. The look starts from your theme (Site setup); change colours, fonts and corners here for this experience only.
Where:Show on and But not on page rules, and for inline formats where on the page.
Who: rules about the visitor, combined with all rules match or any rule matches. No rules means everyone on those pages. Rules marked "Lemu data" are checked against your contacts, segments, records and catalog:
Rule
Checked
Visitor is, Number of visits, Pages seen this visit, Seconds on site this visit, Device, UTM source / medium / campaign, Came from (referrer), Cart value, Items in cart, This product is in stock, This product's price, Browser language, Logged in on the site, Country (ISO code)
In the browser
Known contact in Lemu, Subscribed on (a channel), In segment (ID), Has a record, This product's catalog field, Did event, times, Contact field
With Lemu data
Hide from people Lemu already knows keeps signup popups away from contacts who already gave a phone or email.
When it appears: When the page loads, After a few seconds, After scrolling down, When they're about to leave, After no activity, When an element is clicked, When an element comes into view, When an event happens, After adding to cart, When a sold-out size is picked, or Only from code.
How often:Every time it matches, Once per visit, Once a day, Once every few days or Only once ever, plus Stop after this many closes, Wait after a close (hours) and Stop showing once they've sent the form.
Schedule: optional dates, days and hours.
Priority: when two popups could show, the lower number wins. At most one popup shows per page.
Where answers go: each form field can update the contact (phone, email, name, a field), create a record (for example a back-in-stock request with the product), and start a journey. Answers create or update the contact, so journeys can follow up. The submissions list can be exported as CSV; personal answers are masked for people who can't read contacts.
Variants with weights (each visitor always sees the same one), an optional Holdout (a share of visitors who see nothing, to measure the real lift), a Goal event (like Purchase), and Pick the winner automatically after (days).
It doesn't show on my site: check the tracking snippet is on the page, the page matches Show on, the Who rules match you (try a private window), and How often hasn't already hidden it for you.
Two popups compete: set Priority; only one popup shows per page.
Landing pages
Build landing pages with forms from a template, from scratch or with Copilot, and publish them on your own site or a LemuAI address.
https://docs.lemuai.com/website/landing-pages
Engage → Website → Landing pages builds pages for a sale, a lead form or a launch. Form answers become contacts that journeys can follow up, and each page reports views, visitors, submits, contacts and revenue.
Press New page: From a template, blank, or built by Copilot (Ask Copilot builds it from a brief or a design you describe).
Name and address
Name (only you see it, like Diwali sale), Address (the path, like diwali-sale) and the Site it belongs to.
Edit
Add and order sections, set colours and fonts (Main colour, Text colour, Background, Font, Heading font, corner rounding), and under Search and sharing set the Title, Description and Social image (an https:// link, about 1200 × 630). Preview at desktop and phone width.
Publish
Publish to the site's destination (below). The editor shows Draft differs from live while you have unpublished changes.
The report shows Views, Visitors, Submits, Submit rate, Contacts and Revenue for the last 7, 30 or 90 days or year, and per version (A/B) the buyers, rate, revenue and the difference against version A.
The custom domain doesn't work: check the CNAME record at your domain provider points exactly where LemuAI shows. DNS changes can take a few hours.
Unpublish: the page stops showing at all its addresses right away; links to it show a not found page.
AI Copilot
Build voice agents, journeys, tools, files and contact lists from one chat, refine them with an AI copilot, and ask questions about your whole workspace.
https://docs.lemuai.com/copilot/overview
AI Copilot is a chat assistant built into Lemu. Inside a voice agent or a journey, you describe what you want in plain language, and Copilot proposes the change as edits you can review, apply, and undo. On its own Copilot page, it answers questions about your whole workspace and builds new things for you from one conversation: voice agents, journeys, tools, files and contact lists, already connected to each other.
Inside an editor, Copilot works from what you currently have open. It sees your nodes, connections, prompts, and settings automatically, so you don't need to paste anything in.
Inside a voice agent or a journey, click the Sparkles button in the bottom-right corner to open the AI Copilot panel. It opens as a side panel next to the editor, and Lemu remembers whether you left it open.
It opens instantly. Your previous conversation for that agent or journey is loaded in the background as soon as the editor opens, so it is already there when you open the panel.
Nothing runs on its own. If there is no conversation yet, you see a short hint and a Review this agent (or Review this journey) button. Click it when you want Copilot to look over the whole thing and suggest improvements.
You can type right away. The message box is only locked while Copilot is answering a message you sent.
Copilot in the sidebar opens a full-page chat for your whole workspace. Use it to ask how things fit together, find an agent or journey, check how something is performing, plan what to build, or build it.
Your past conversations are listed in the history panel. Start a new one with New chat, reopen an old one by clicking it, or delete it.
Describe what you want in plain language, for example "Build an outbound agent that confirms cash-on-delivery orders, give it a tool that looks up the order in our system, and a journey that calls every new COD order 10 minutes after it is placed." Copilot works out everything that's needed and proposes it in one reply:
What Copilot can create
Where it opens
Voice agents
The agent editor
Journeys, including one-time journeys for a list
The journey editor
Tools (an HTTP API call, end call, or transfer call)
Tools
Files for the knowledge base
Files
Contact lists, from contacts you describe or a CSV you attach
Contacts, filtered to the new list
Items made in the same reply are linked for you: a new tool and file are attached to the new agent, and a new journey calls the new agent and uses the new contact list. Copilot can also attach existing tools and files to an existing agent.
Nothing is created until you click Create. Click Show Diff first to see each item and its settings. After you click Create, the reply shows a Created list with a link to each new item. The links stay in the conversation, so you can come back to them later.
Copilot can look things up before it answers, so you can ask questions like "How did the COD confirmation journey do last week?" or "Why did the call to Priya end early?". It can read:
your voice agents, journeys and tools, and search them by name;
your WhatsApp templates;
a journey's results and the contacts in it;
a voice agent's call results;
a call's transcript.
Copilot only shows what your role allows. For example, phone numbers stay hidden if you can't view personal data.
The New Agent button on the Voice Agents page and the New Journey button on the Journeys page still open the guided setup, a short set of questions that builds one agent or one journey step by step. Use the Copilot page when you want several things built and connected at once.
When Copilot's reply includes proposed edits, it shows:
Show Diff / Hide Diff: preview exactly what would change before committing to it
Apply Changes: apply the edits to your canvas and save
Undo: revert the last applied Copilot change
Confirm risky change: required before Copilot can delete nodes or replace the whole graph; a confirmation dialog explains what's about to happen
Small changes you ask for directly, such as a setting, a template variable, or a rename, are made right away and reported in the reply, with an Undo button. Suggestions from a review always wait for you to click Apply Changes.
Deleting nodes or replacing an entire workflow/journey always requires this explicit confirmation step. Copilot never removes nodes or overwrites your graph silently.
Copilot's replies also include a short row of suggested follow-up chips (e.g. "Add extraction for the caller's name and phone") tailored to what it just found or changed. Click one instead of typing to continue the conversation.
Inside a voice agent workflow, Copilot can act as an AI workflow engineer for the whole graph or, if you have a node or edge selected on the canvas, for just that node or edge. Requests it can act on include, for example:
Rewriting a node's prompt or greeting (tone, length, language)
Adding, renaming, or deleting nodes (start, agent, end call, global, webhook, QA, or trigger nodes)
Adding, editing, or removing edges and their transition conditions
Attaching tools and files to the whole agent, or to the selected node
Fixing problems that involve the journeys that call this agent
Generating a full replacement flow for the current agent, or generating a brand-new agent as a separate workflow (both ask for confirmation first)
Some example prompts you can send it:
"Review this workflow and suggest improvements"
"Make the greeting warmer and more concise"
"Add extraction for the caller's name and phone"
"Simplify the flow and remove redundant nodes"
In Just discuss mode, try things like "What does this workflow do end-to-end?" or "Where are the riskiest failure points?" Copilot will discuss and critique without changing anything.
When you click New Agent, Copilot opens a guided setup panel instead of the general chat above. It asks you a short, fixed sequence of questions (your use case and agent name, whether the agent is inbound or outbound, what should happen on the call, and whether to capture any extraction variables) and fills in the canvas as you answer, without requiring you to click Apply for each step.
You can type your answers or speak them using the microphone. See Voice Agent Builder for more on creating a new agent.
Inside the journey builder, Copilot understands journey-specific node types: trigger, call (place a voice call through a Lemu voice agent), message (WhatsApp), condition (branch on a field/operator/value, with true/false paths), wait (delay), http (HTTP request), emit event, load history, schedule, slack_message, jira_issue, calendar_event (see Integrations for those three), and end. Requests it can act on include:
Updating a node's configuration (e.g. a condition's field/operator, an HTTP request's URL, a WhatsApp template) or its label
Adding, renaming, or deleting steps
Adding or removing branches and connections, including the true/false paths out of a condition node
Simplifying a flow by removing redundant steps or improving field mappings between steps
Updating journey-level settings, such as retries and calling hours
Checking the voice agents this journey calls
Replacing the entire journey with a new one (asks for confirmation first)
Some example prompts:
"Review this journey and suggest improvements"
"Add clearer error handling after failed steps"
"Rename nodes so the flow is easier to follow"
"Explain what this journey does end-to-end"
As with agents, Just discuss mode ("Explain this journey step by step", "Where could this flow get stuck?") is discussion-only and never proposes edits.
Use the New chat button (pencil icon) at the top of the Copilot panel to start a fresh conversation. The previous conversation is kept and can be reopened from the Copilot page history. Starting a new chat does not undo edits you've already applied.
Business profile, weekly brief and autopilot
Tell Copilot about your business, get a weekly brief, and let it launch and run campaigns on its own within a budget and limits you set.
https://docs.lemuai.com/copilot/autopilot
Copilot plans and builds campaigns from a chat. Three pages decide how it works for your business. They're linked from the Copilot page: Business profile, Campaigns and Autopilot.
Copilot → Business profile tells Copilot what it needs to suggest the right campaigns. Fill in as much as you can:
Section
Fields
The business
Business name, Industry, Website, Price band (like ₹500 to ₹3,000), What you sell (a few sentences), Products or categories (one per line)
Customers and markets
Audiences (one per line, like "Working women 25-40 in metros"), Country (two letters, like IN), Time zone (Asia/Kolkata), Languages (en, hi), Competitors
Brand and offers
Brand voice ("Warm, simple, a little playful. Hinglish is fine on WhatsApp."), Words to avoid, Offers you allow (Copilot only uses offers listed here or given in the chat), Discount rules ("Never more than 15% off"), Compliance notes
Goals, budget and channels
Goals, KPIs (like repeat purchase rate, COD confirmation rate), Monthly budget and currency, Quiet hours (21:00-09:00), Channels Copilot may use (WhatsApp, Email, Voice calls)
Things Copilot remembers
Facts Copilot noted from your chats, like "Fridays are our slowest day". Forget this removes one
Copilot → Campaigns lists campaigns planned and built with Copilot, with Sent, Read, Clicked, Orders, Revenue, Message spend and ROI, and what each is made of (segments, templates, journeys, agents).
Copilot → Autopilot lets Copilot launch and run campaigns on its own, within the budget and limits you set. It's off until you turn it on (Let Copilot run campaigns on its own? → Turn on autopilot).
Setting
What it allows
Budget
Monthly spend for the campaigns it manages. At 80% it tells you; over budget it pauses their journeys until next month
Launch new campaigns
At most one a day, from your top ideas. Choose Campaigns it may launch (like Abandoned cart recovery, Browse abandonment, Post-purchase cross-sell, Win back lapsed customers, COD order confirmation), Time to review before it goes live, and Campaigns running at once
Roll out A/B winners
When one branch has a 95% chance of being best and 100+ contacts per branch, the other branches stop getting contacts
Pause campaigns that misbehave
A journey whose messages mostly fail, or a campaign with no orders after a week that used a quarter of the budget
Add AI calls
Call steps in launched campaigns, with the Voice agent that makes the calls. Call minutes aren't counted in the budget
How a launch works:
Copilot builds the campaign as drafts (segments, WhatsApp templates sent to Meta for approval, journeys) and tells you in a Copilot conversation; owners and admins also get an email.
It waits for the review time. The campaign shows under Waiting to go live; cancel it there to keep it a draft.
When the time has passed and Meta approved its templates, it goes live.
What it did lists every action. Launches waiting to go live can be cancelled; A/B winners and pauses can be undone. Turning autopilot off cancels launches that hadn't gone live.
AI Assistants (MCP)
Let AI assistants like Claude and Cursor use your Lemu AI voice agents through the Model Context Protocol
https://docs.lemuai.com/mcp/overview
Lemu AI runs a remote Model Context Protocol (MCP) server. Once you connect an AI assistant to it, the assistant can look up your voice agents, request phone calls with them, and read how those calls went, all from a normal chat.
Server address:
Text
https://mcp.lemuai.com/mcp
It uses the standard streamable HTTP transport, so any MCP client that supports remote servers with OAuth can connect.
An assistant never gets more access than a person in your organization gives it:
An admin approves every connection. When an assistant connects, you're sent to a Lemu AI consent screen. Only someone with admin rights in the organization can approve it.
You choose the permissions. Each connection gets only the permissions ticked on the consent screen, such as reading agents or requesting calls.
You choose the agents. For calls, you pick exactly which agents the assistant may use. Agents you create later are not added automatically.
Daily limits. Each connection has a cap on calls per day (at most 200), plus limits on concurrent and pending calls.
A person confirms every call. Calls an assistant requests wait for confirmation by someone in your organization before anything is dialed.
Your calling policy always applies. Who may be called, local calling hours, the do-not-call list and the AI disclosure are enforced by Lemu AI, whatever the assistant sends.
Everything is logged. Every request is recorded in an audit log.
Anything a person says on a call is returned to the assistant as data, never as an instruction.
Add the Lemu AI MCP server to Claude, Claude Code or Cursor and approve the connection
https://docs.lemuai.com/mcp/connect
Connecting takes two parts: you add the Lemu AI server to your assistant, then you approve the connection on a Lemu AI consent screen. There is no API key to copy. The assistant signs in with OAuth, the same way you'd connect it to any other service.
These steps follow each client's standard setup for remote MCP servers. The Lemu AI side (discovery, client registration and the consent screen) works with any client that supports MCP over OAuth. Menu names in third-party apps can change, so check your client's own docs if a step looks different.
Claude
In Claude, open Settings → Connectors.
Click Add custom connector.
Enter a name (for example Lemu AI) and the server address https://mcp.lemuai.com/mcp, then add it.
Click Connect. Claude opens the Lemu AI consent screen (see below).
On Claude Team and Enterprise plans, only an organization owner can add custom connectors. Ask your owner to add it, then each member connects it.
Claude Code
Run:
Shell
claude mcp add --transport http lemuai https://mcp.lemuai.com/mcp
Then start Claude Code, run /mcp, choose lemuai and authenticate. Your browser opens the Lemu AI consent screen.
Cursor
Add the server to your mcp.json (Cursor Settings → MCP → Add new MCP server, or ~/.cursor/mcp.json):
Your assistant sends you to app.lemuai.com/mcp/authorize. Sign in if asked, then review what the assistant is asking for.
Check who is asking
The screen shows the name the assistant gave itself and the address you'll be sent back to after approving. The name is chosen by the app, so only approve if you started this connection and recognise that address.
Choose the organization
If you're an admin in more than one organization, pick the one the assistant should work in.
Choose what it may do
Tick the permissions to grant, for example "See which voice agents you allow it to use" or "Request phone calls". See Permissions & limits for what each one allows.
Choose agents and a daily cap
If you allow calls, pick which agents it may use and the most calls per day (up to 200). Agents you create later are not included automatically.
Approve
Click Approve. You're sent back to the assistant and it can use Lemu AI right away.
Ask the assistant something like "Which Lemu AI agents can you use?" to check the connection.
The assistant renews its access automatically: access tokens last 1 hour and refresh on their own. A connection stays valid for up to 90 days, after which you approve it again.
Calls the assistant requests wait for a person in your organization to confirm them. See Call confirmation.
Remove Lemu AI from the assistant's connector or MCP settings. Assistants that support it revoke their access when you do.
Viewing and revoking connections from the Lemu AI dashboard isn't available yet. To cut off a connection immediately, contact support.
MCP Tools
Every tool the Lemu AI MCP server offers, the permission it needs and the arguments it takes
https://docs.lemuai.com/mcp/tools
Your assistant discovers these tools automatically when it connects, so you don't call them yourself. This page explains what each one does so you know what to ask for and what to approve.
A tool only works if the connection was granted its permission on the consent screen. See Permissions & limits.
Tool
Permission
What it does
list_agents
agents:read
Lists the agents this connection may use
get_agent
agents:read
Describes one agent and the details a call needs
start_call
calls:start
Requests an outbound call with an agent
get_call
calls:read
Status and outcome of one call
list_calls
calls:read
Recent calls made through this connection
cancel_call
calls:cancel
Cancels a call that hasn't been dialed
create_agent_draft
agents:write
Drafts a new agent from a brief
update_agent_draft
agents:write
Changes a draft it made
test_agent
agents:write
Reviews a draft before it can go live
archive_agent
agents:write
Retires an agent it made
search_docs
none
Searches the LemuAI docs (how-tos, settings, error messages)
search_docs and read_doc read the public docs at docs.lemuai.com, so every connection has them, whatever its permissions. An assistant uses them to explain how to do something in LemuAI or what an error means while it works in your workspace.
Lists the voice agents this connection may use: the agents you ticked on the consent screen. Takes no arguments. Each agent comes back with its agent_id, name and the context variables a call can fill in.
Requests an outbound phone call with an agent. It returns straight away with a call_id. The call then waits for a person in your organization to confirm it (see Call confirmation) before it's dialed. Read the outcome with get_call.
Argument
Type
Required
Description
agent_id
integer
Yes
The id from list_agents
phone_number
string
Yes
Who to call, in international format, like +919876543210
counterparty_class
string
Yes
Who this person is to your organization: employee, customer, distributor, supervisor, prospect or other. Your calling policy decides which are allowed
idempotency_key
string
Yes
A unique key for this call, 8 to 120 letters, digits or _ . : -. Retrying with the same key returns the original call and never dials twice
context
object
No
Values for the agent's context variables (see get_agent), up to 30
callee_timezone
string
No
IANA timezone like America/Chicago. Only needed for countries that span several timezones
correlation
object
No
Your own ids (for example a ticket number), kept in the audit log next to the call
Result webhooks (callback_url) are not available for assistant connections. Assistants read results with get_call.
The call is checked against the connection's limits and your organization's calling policy before it's accepted. If something is wrong, the tool returns an error code such as OUTSIDE_CALLING_HOURS. See Error codes.
Cancels a call that hasn't been dialed yet, for example one still waiting for confirmation. A call that is already ringing or live can't be cancelled this way.
With the agents:write permission, an assistant can write a new voice agent from a short brief. Lemu AI writes the agent's script from the brief and adds fixed safeguards the brief can't remove. A connection can create at most 5 agents a day.
Agents made over MCP are drafts. They can't place calls until they're published, and publishing isn't available to assistant connections. To publish a draft an assistant made, contact support.
Changes a draft this connection made. Send the draft_version you last read. If the draft has changed since, the update is refused with STALE_DRAFT so nothing is overwritten.
Reviews the draft as it will run: safeguards present, nothing forbidden, only declared context used. A draft needs a passed review of its exact version before it can be published.
Retires an agent this connection made. Calls already in progress finish normally.
Argument
Type
Required
Description
agent_id
integer
Yes
The agent to archive
Permissions & Limits
What each MCP permission allows, how calls are confirmed, the calling policy and the error codes assistants can get
https://docs.lemuai.com/mcp/permissions
Every assistant connection is limited to what an admin approved on the consent screen, and Lemu AI enforces those limits on every request, whatever the assistant sends.
These are the permissions (OAuth scopes) an assistant can ask for. The consent screen lists the ones it asked for, and you can untick any of them before approving. An assistant that doesn't ask for specific permissions gets agents:read and calls:read.
Scope
On the consent screen
Allows
agents:read
See which voice agents you allow it to use
list_agents, get_agent
calls:read
Read the status and outcome of calls it places
get_call, list_calls
calls:transcripts:read
Read call transcripts (may contain personal data)
A transcript link in get_call
calls:start
Request phone calls (a person in your organization confirms each one)
start_call
calls:cancel
Cancel calls that have not been dialed yet
cancel_call
agents:write
Create and edit draft voice agents (it cannot publish them)
Every call an assistant requests is created with the status pending_confirmation. Nothing is dialed until a person in your organization confirms it. If they decline, the call becomes rejected. When a call is confirmed, the calling policy and limits are checked again, since time may have passed since the request.
Confirming or declining assistant calls from the Lemu AI dashboard isn't available yet. Until it is, calls requested by an assistant stay in pending_confirmation. Contact support if you need to confirm calls now. The assistant can cancel its own pending calls with cancel_call.
Your organization's calling policy applies to every call an assistant requests:
Who may be called. Each call says who the person is: employee, customer, distributor, supervisor, prospect or other. Only classes the policy allows can be called. By default, a prospect can be called at most twice in total (one call and one follow-up).
Calling hours. Calls are only placed inside the allowed hours in the callee's local time. Lemu AI works out the timezone from the phone number. For countries that span several timezones (like the US), the assistant must pass callee_timezone.
Do not call. People who asked not to be called, are on your do-not-call list, or opted out of calls (or of everything) on their contact in Lemu AI are never called.
AI disclosure. The agent must tell the person they're talking to an AI. Its opening greeting needs to include the {{ai_disclosure}} variable, which Lemu AI replaces with your organization's wording.
Until your organization sets its own policy, a default applies: only employees and supervisors can be called, between 09:00 and 20:00 local time, every day, with the AI disclosure on.
Changing the calling policy or the do-not-call list from the dashboard isn't available yet. Contact support to change them.
Every request an assistant makes is recorded: which connection, which tool, the outcome, the call it touched and how long it took. Arguments are stored as a fingerprint, not in full, and phone numbers are masked. If you need a copy of the log for a connection, contact support.
Telephony Integration
Connect a phone provider so your voice agents can make and answer calls
Your voice agents place and receive phone calls through a telephony provider that you connect to Lemu AI. Each organization uses one provider at a time. You can switch providers later without changing your agents.
Below the provider form, the Telephony page shows how many outbound calls your organization can run at the same time. This pool is shared by every campaign and journey, and its size comes from your plan.
Exotel and Asterisk ARI limit calls by the number of channels on your trunk. Enter your Trunk channel limit, and calls are capped at the lower of that number and your plan.
Twilio and the other providers limit calls per second rather than by channel, so there is nothing to set.
Lemu AI can answer inbound calls with Twilio, Plivo, Cloudonix, Vobiz and Asterisk ARI. When someone calls your configured phone number, your voice agent automatically answers and handles the interaction. The inbound calling configuration in Lemu AI uses the same telephony settings as outbound calling.
Vonage is supported for outbound calls only. For Exotel inbound calls, contact us at hello@lemuai.com and we will help you route your Exotel number to your agent.
The telephony configuration for inbound calling is identical to outbound calling. Follow the Configuration section in your provider's documentation page:
Each telephony provider requires additional configuration to route incoming calls to your Lemu AI webhook. Follow the provider-specific inbound setup instructions:
Twilio is a cloud communications platform that enables voice calling, messaging, and video capabilities. Lemu AI's Twilio integration provides seamless connectivity for your voice agents.
Plivo connects your voice agents to the phone network. Lemu AI streams call audio through Plivo, so several calls can run in parallel. You can add more than one caller ID, and outbound calls are spread across them.
Exotel is a cloud telephony provider in India. Lemu AI places outbound calls through your Exotel account and streams the conversation through Exotel's Voicebot.
Exotel limits how many calls run at once by the number of channels on your account. On the Telephony page, enter your Trunk channel limit so Lemu AI never starts more calls than Exotel allows. Calls are capped at the lower of this number and your plan.
Exotel calls run through a Voicebot flow on your Exotel account. If your first test call does not connect, contact us at hello@lemuai.com and we will help you finish the Exotel setup. Inbound calls on Exotel are set up the same way, with our help.
Vonage (formerly Nexmo) is a cloud communications platform that provides global voice, messaging, and video capabilities. Lemu AI's Vonage integration enables high-quality voice interactions with your agents using Vonage's robust infrastructure.
Coming Soon: Inbound calling support for Vonage is currently under development and will be available in a future release. For now, Vonage integration supports outbound calling only.
Vonage integration currently supports outbound calling. Inbound calling functionality is being developed and will include:
Webhook configuration for incoming calls
NCCO response handling
Event tracking for call lifecycle management
WebSocket audio streaming for inbound calls
For inbound calling needs, consider using Twilio, Cloudonix, or Vobiz which have full inbound support.
Cloudonix is a cloud communications platform that enables Lemu voice agents to connect to SIP communications
platform, either on-premise or in the cloud. In addition, Cloudonix exposes a full set of voice APIs, that provide
a full suite of call-control capabilities and more.
The Lemu AI configuration for inbound calling is identical to outbound calling - use the same credentials configured above. However, you need additional setup in your Cloudonix Console to route incoming calls to Lemu AI.
Vobiz is a cloud-based telephony service provider that offers global reach with competitive pricing. Lemu AI's Vobiz integration provides reliable voice connectivity for your conversational AI agents.
Asterisk ARI (Asterisk REST Interface) allows you to connect Lemu AI voice agents to your existing Asterisk PBX. ARI provides a WebSocket-based event model for controlling calls via Stasis applications, giving Lemu full control over call flow and audio streaming.
This guide focuses on the Lemu-specific configuration. For general Asterisk installation and administration, refer to the official Asterisk documentation.
Before setting up the ARI integration, ensure you have:
A running Asterisk instance (version 16 or later recommended)
ARI module enabled in Asterisk
chan_websocket (WebSocket channel driver) enabled in your Asterisk build
Your Asterisk server can reach app.lemuai.com over the internet (HTTPS and secure WebSockets)
If you compiled Asterisk from source, ensure chan_websocket is included during the build. This module is required for external media streaming between Asterisk and Lemu. Refer to the Asterisk build system documentation for details on enabling modules.
The following Asterisk configuration files need to be set up to work with Lemu. These are minimal examples focused on the Lemu integration -- refer to the Asterisk documentation for full configuration details.
Route incoming calls to your Stasis application so Lemu can handle them:
ini
[from-external]exten => _X.,1,NoOp(Incoming call to ${EXTEN}) same => n,Stasis(lemu) same => n,Hangup()
Replace lemu with the app name you configured in ari.conf and in Lemu.
Configure External Media Streaming (websocket_client.conf)#
Lemu uses Asterisk's external media streaming to send and receive audio over WebSocket. Configure a WebSocket client connection that points to Lemu AI:
The section name (e.g., lemu_staging) is the WebSocket Client Name you'll enter in the Lemu telephony configuration. This name tells Asterisk which WebSocket connection to use for external media streaming during calls.
Unlike other telephony providers that use HTTP webhooks for inbound calls, ARI delivers inbound calls as StasisStart events on the ARI WebSocket. Lemu automatically detects these events and activates the configured workflow.
Browse, preview, favourite, clone, and set default TTS voices for your voice agents
https://docs.lemuai.com/voice-library/overview
Voice Library (Agent Setup → Voice Library) is the catalog of text-to-speech voices your organization can use on any voice configuration, across every agent. It's separate from picking a voice on a specific agent — this is where the full catalog lives, and where you manage your own cloned voices.
The catalog lists every available voice with its provider, language, gender, use case, and accent, and a Preview button to hear a sample before committing to it. Use the language filters in the sidebar or the search box to narrow the list — the catalog runs into the hundreds of voices across dozens of languages, so filtering by language is usually the fastest way to find a fit.
Three tabs organize the view:
All Voices — the full catalog.
Favourites — voices you've starred with the heart icon, for quick access when configuring an agent.
My Cloned Voices — voices your organization has cloned (see below).
Each voice has a Set default action; the current org-wide default is marked Default. This is the voice new agents fall back to before you explicitly pick one on their Voice configuration.
Re-sync Voices pulls in any new voices your TTS providers have added since the catalog was last refreshed — the page shows how long ago it last synced.
If your plan includes voice cloning (Growth and above), Clone Voice lets you create a custom voice from an audio sample:
Field
Description
Provider
The TTS provider to clone through (currently Cartesia)
Voice Name
A name for the cloned voice
Language
A language code, e.g. en, es, fr, hi
Description
Optional, free text
Audio Sample
Record directly or upload an MP3, WAV, OGG, or FLAC file, up to 25 MB. At least 5 seconds of clean speech is required; 30 seconds is recommended for the best clone quality
Cloned voices appear under My Cloned Voices and can be used on any agent's voice configuration exactly like a catalog voice — set as the org default, favourited, and previewed the same way.
Voice cloning is gated by the voice_cloning entitlement. On a plan without it, Clone Voice shows an upgrade prompt — see Usage & Plan for what each plan includes.
Tools Library
Create reusable HTTP API, call transfer, end call, message, Shopify order and catalog lookup tools once, then attach them to any agent
https://docs.lemuai.com/tools-library/overview
Tools (Agent Setup → Tools) is your organization's library of reusable agent tools. A tool defined here can be attached to any Agent Node in any voice agent, so you don't have to set it up again on every workflow that needs it. This is useful when several agents all need, say, to look up an order status against the same backend.
Each tool in the list shows its name, type and description, and can be removed with the delete icon. Click New to create one.
Confirms, cancels, tags or looks up the Shopify order the call is about. Setup required: a connected Shopify store
Catalog lookup
Looks up a product or other catalog item during a call, by its key or by name. Setup required: at least one catalog
Native
Coming soon
Every tool starts with a Name and Description. That is what the agent sees when deciding whether to use it, so write them the way you would for a node-level tool: action-focused and specific. The fields after that depend on the type. An HTTP API tool asks for the same method, URL, headers and parameters described in HTTP API, for example.
Some types fill in a starting name and description for you when you pick them. Change them to match how your agent should use the tool.
Use this tool to let the agent act on the order a call is about, for example confirming a cash on delivery order once the customer agrees to receive it.
Pick the connected Shopify store and the action: confirm, cancel, tag, or look up the order.
The order is the one the call was started for, usually from a Shopify event.
Write the description so the agent only uses it at the right moment, for example "Confirm the customer's order only after they clearly agree to receive it."
Shopify refuses some actions, for example cancelling an order that has already shipped or been paid. The agent is told when that happens.
Use this tool to let the agent answer questions like "Is the blue kurta in stock?" or "How much is the large size?" from your catalog.
Field
What to enter
Tool Name
A short name, for example "Look up product"
Catalog
The catalog to look in. Shopify stores get a Products catalog automatically. If you have none yet, create one first
When should the agent use it?
When the agent should look something up, for example "when the customer asks about price, stock or details"
The agent can look an item up by its exact key (such as a product id or SKU), or search by words when it doesn't know the key. A search returns up to 5 matches. Personal fields are never shown to the agent.
Tools aren't defined inline on a node. Every tool an Agent Node can use is created here first, then picked by checkbox in the node's tool list. If your organization has no tools yet, the node's tool picker links back to this page. A node can have several tools, and the agent decides which one to use and when, based on the node's instructions and each tool's name and description (see HTTP API for how that works).
Because a tool lives here rather than on any one workflow, editing it (its endpoint, description or parameters) updates every agent node it's attached to at once. Renaming or reconfiguring a shared tool affects every agent that uses it the next time it runs.
Knowledge Base
Upload documents and let your voice agent search them for answers during a call
https://docs.lemuai.com/knowledge-base/overview
A knowledge base is a set of documents you upload to your organization that a voice agent can search while a call is in progress. Upload a PDF, Word document, or text file once, and any conversation step you attach it to can pull relevant passages from it to answer a caller's question.
Behind the scenes, Lemu splits each document into chunks, generates an embedding for every chunk, and stores them so they can be searched by meaning rather than exact keywords — the agent can find the right passage even if the caller phrases their question differently from the document's wording.
Documents live under Agent Setup → Files in the sidebar (https://app.lemuai.com/files).
The Upload tab accepts:
File types: PDF, DOCX, DOC, TXT
Max size: 5 MB per file
Drag a file onto the upload area or use Choose File. Once the file finishes uploading, processing starts automatically — the All tab lists every document with its filename, size, chunk count, and processing status, polling for updates every few seconds while a document is still processing.
Status
Meaning
pending
Uploaded, waiting to be processed
processing
Being converted, chunked, and embedded
completed
Ready to be selected and searched
failed
Processing hit an error (see the document's error detail)
Only documents with status completed can be attached to a conversation step — a document that's still processing or failed won't show up as selectable.
Processing embeds each chunk with an OpenAI-compatible embedding model (text-embedding-3-small by default). Configure an embeddings provider under Model Configurations > Embedding before uploading — without it, processing fails.
You can delete a document from the All tab at any time; this also removes its chunks from search results.
Knowledge base documents are attached per conversation step, not globally to the whole agent. Open the Start Call node or an Agent Node in the workflow builder, and scroll to the Documents section below Tools — it lists every completed document as a checkbox so you can select which ones this step can reference.
Text
Agent Node├── Prompt├── Tools (HTTP API tools, etc.)└── Documents ← knowledge base documents for this step ☑ refund-policy.pdf ☐ product-catalog.docx
If a step has no documents selected, the agent has no knowledge base access on that step. If it has one or more, Lemu registers a retrieve_from_knowledge_base function with the LLM for the duration of that step, scoped only to the documents you checked.
The LLM itself decides when to call the tool — based on your node prompt and the conversation so far — and what search query to send. It isn't a fixed keyword match: write your prompt so the model understands when a caller's question should be looked up (for example, "if the caller asks about pricing, policies, or anything that might be in the uploaded documents, use the knowledge base tool before answering").
A few things worth knowing about the search itself:
Each call returns a small number of the most relevant chunks (three, by default) — not the whole document.
Results aren't filtered by a similarity cutoff before reaching the LLM; the model sees the best matches available and judges relevance itself.
The search is always scoped to your organization and to the documents selected on that node — a document isn't visible to a step unless it's checked on that step.
Knowledge base documents can be attached to voice agent nodes (Start Call and Agent Node). Journeys don't search documents directly; to use your documents in a journey, call a voice agent from it.
Runs
Find any call or journey run, see what happened step by step, and why it failed.
https://docs.lemuai.com/runs/overview
A run is one go through an agent or a journey for one person: one call, or one contact's trip through a journey. Insights → Runs lists them in two tabs.
Filters: agent (All agents or one), status (Completed or In progress), duration, and date. The live switch shows calls in progress right now and keeps the list refreshing.
Totals:Total runs (matching the filters), Total duration, and Avg duration (per connected call, leaving out 0-second calls).
Each row: status, inbound or outbound, the phone and name, the call's Disposition and extracted Variables.
Open a call to hear the recording, read the transcript and see the variables it captured. A call that couldn't be placed shows the reason; see Calls and telephony for each one.
"Completed" means the run finished, not that someone answered: check the call's outcome and duration.
To see everything that happened to one customer (events, messages, calls), open them under Audience → Contacts: the contact's Timeline tab shows it all in one place.
Reports & Usage
Where to find call, campaign, and journey reporting, and where billing and plan usage live
Every call Lemu makes or receives feeds two things you can go back and look at: reports, which summarize and export what happened, and usage, which tracks the voice minutes it used against your organization's plan.
Reporting is available at three levels: an organization-wide dashboard, per-campaign and per-agent CSV exports, and a detailed report for each automation.
The dashboard aggregates every run across your organization for a date range you choose: outcome and disposition breakdown, a connect-to-qualified conversion funnel, best hours to dial, and a leaderboard of your automations. Pick a workflow or leave it set to all agents.
From the dashboard you can export the underlying run records for that date range as a CSV (phone/web, disposition, duration, and a link to each run) using the Export CSV control.
Each campaign and each voice agent has a Download Report action that generates a CSV of every completed call for that campaign or agent: run ID, timestamps, phone number, call disposition, duration, any extracted variables your agent captured, call tags, and links to the transcript and recording. Campaign reports can additionally be scoped to a date range.
Each journey has a Report tab with its own analytics, scoped to the contacts/rows that journey has dialed:
Conversations over time — daily call volume
Row journey — a funnel from rows triggered, to called, to connected, to qualified
Outcome mix — call disposition breakdown
Best hours to dial — call and qualification counts by hour
Calls needed to connect — how many attempts it typically takes to reach someone
Conversation length — talk-time distribution
Row details — a table with one row per contact, showing attempt count, last call outcome, last call duration, extracted variables, and the total call time for that row
Row details can be exported to CSV, and you can drill into any row to see the full history of calls made against it, each with its recording, transcript, and per-call duration.
Every call debits against your organization's monthly voice-minute commitment, not a per-call charge — see Usage & Plan for how plans, entitlement limits, the minute commitment, and invoicing work.
For a billing-focused view of the same call data as the reports above, the Account usage tab (app.lemuai.com/usage-pricing) shows a day-by-day breakdown of calls, talk time, and minutes billed for the current billing period, alongside how much of every other plan entitlement (voice agents, journeys, CRM contacts, and so on) you've used.
Event Log
Every event about your contacts and website visitors, where it came from, and how events trigger journeys
https://docs.lemuai.com/event-log/overview
Event Log is a live feed of what your contacts (and, where available, your website visitors) did: events your own systems send to POST /api/v1/events, storefront events from Shopify, website and app activity from your Tracking Sources, WhatsApp replies, segment changes and custom record changes. It is also the entry point for the Events trigger that starts a journey run from an event.
Every event sent to the API carries an event_type (e.g. InitiateCheckout, Purchase), an optional phone number, and an arbitrary data payload. Meta's standard event names are matched whatever their case, and older names such as order_placed still match Purchase. When an event arrives:
Lemu resolves it to a contact by phone number, creating a new contact if none matches (this counts against your plan's CRM contacts limit). If list_name is included, the contact is upserted into that list, created if it doesn't already exist.
The event is stored and shows up in this log, with its type, phone, resolved contact, and payload fields as columns.
Any active journey with an API Events trigger whose event_type matches is queued to run, with the event's payload available as context variables.
Tracked actions from identified website and app visitors work the same way when their tracking source has Let identified visitors' tracked actions trigger journeys switched on.
The table has fixed columns for Created At, Event Type, Source, Phone and Contact. Columns beyond these are derived from whatever keys your events' data payloads actually contain, so the table looks different for every organization depending on what you're sending.
Above the table you can:
Search by phone, name, event type or visitor id
Filter by date range, event type and source
Tick Message updates to include delivery updates (sent, delivered, read, clicked, failed) for messages you sent. They are hidden by default because there are a lot of them
When your account's event store is on, the log also includes events from anonymous website visitors. These have no contact yet, so the Contact column shows Visitor and the start of their visitor id. Once a visitor identifies, their later events show the contact, and their earlier visits appear in the contact's activity. The page description reads "Everything your contacts and website visitors did" when this is on.
Message updates and anonymous website visitor events only appear when the event store is on for your account. Without it, the log shows your contacts' events from every source.
Send Test Event lets you fire an event from inside the dashboard without wiring up real integration code. It is useful for building and testing a journey's API Events trigger before your actual system sends anything. Fill in an event type, optionally a phone number and a list to upsert into, and any payload fields as key/value pairs, then Send. It goes through the same path as a real POST /api/v1/events call and can trigger real journeys, so use a phone number you don't mind creating a test contact for.
The API Docs button opens a reference panel for the endpoint in place (authentication, the request and response shape, and copyable code examples in cURL, Python, and JavaScript) without leaving the page.
Usage & Plan
Plan tiers, entitlement limits, the monthly voice-minute commitment, and invoices
https://docs.lemuai.com/settings/usage-and-plan
Lemu bills on a plan + monthly voice-minute commitment model: a fixed monthly platform fee gets you a plan's feature set and usage limits, and on top of that you commit to a number of voice minutes each month at a per-minute rate. Everything here lives under Usage & Plan in the dashboard sidebar (app.lemuai.com/usage-pricing), which has three tabs: Account usage, Upgrade plan, and Invoices.
There's no wallet or token balance to top up. If you've used Lemu before and remember buying "tokens" or "recharge packs," that system has been retired — usage is now covered by your monthly minute commitment, described below.
Exact numbers are set in the plans console and can change — the table above reflects what's live today. Scale is a custom, sales-assisted plan for high-volume operations and isn't available to self-serve subscribe to; contact your account team to move onto it. User seats are unlimited on every plan.
Growth and Pro also unlock feature flags the lower tiers don't have: A/B testing (Growth+), voice cloning (Growth+), and AI-driven advanced analytics (Pro+). AI Copilot is available from Basic upward.
Billing is monthly by default; switch to Billed yearly on the Upgrade plan tab for one upfront annual charge at roughly 17% off the monthly rate.
Upgrading to a higher plan takes effect immediately. Moving to a lower plan — including back to Free — isn't a one-click switch: click Cancel plan first, which lets your current plan run through to the end of the billing period, and then subscribe to the lower plan once it lapses. This avoids losing the time you've already paid for on the higher tier.
Every plan enforces a set of entitlements — numeric caps (voice agents, concurrent calls, journeys, CRM contacts, knowledge base documents, integrations, user seats) and feature flags (voice cloning, A/B testing, AI Copilot, advanced analytics). Hitting a numeric cap, or trying to use a feature your plan doesn't include, blocks the action and shows an upgrade prompt rather than silently failing partway through — for example, creating a new voice agent past your agent limit, or inviting a teammate past your seat count on the Team page.
The Account usage tab shows where you stand against every entitlement on your current plan, with a Manage link next to each one that jumps to the relevant part of the product (agents, journeys, contacts, telephony settings, and so on).
Voice minutes work differently from the other entitlements: instead of a fixed allowance, you choose how many minutes to commit to each month, anywhere from 500 minutes up to your plan's cap, using the slider under Manage minutes. Your recurring monthly charge is the platform fee plus committed minutes × your plan's per-minute rate — the rate itself is fixed per plan and gets cheaper the higher your plan (Basic minutes cost more per minute than Pro minutes).
Committed minutes refill at the start of every billing cycle and don't roll over — unused minutes from one month don't carry into the next. Changing your commitment takes effect differently depending on direction:
Increasing it charges you the prorated difference immediately and credits the extra minutes right away.
Decreasing it takes effect at the start of your next billing cycle — there's no refund for the current period.
If you use more voice minutes than you've committed to in a month, that's a signal to raise your commitment (or upgrade, if you're already at your plan's cap) rather than an automatic overage charge.
New organizations get a small signup bonus of voice minutes to try the product with before committing to a paid plan.
Payments are processed through Cashfree for organizations billing in INR, and through Paddle (Lemu's merchant of record) for other currencies. If a renewal payment fails, your subscription moves to a short grace period during which your plan keeps working normally; if it isn't resolved before the grace period ends, the organization is moved back to the Free plan.
The Invoices tab is where GST-registered Indian organizations set their GSTIN, registered legal name, and billing address for tax invoicing, and where every past invoice and receipt — platform fee and minute charges alike — can be downloaded as a PDF.
For call-level and campaign-level reporting rather than billing, see Reports & Usage — the Usage This Period panel on the Account usage tab (calls, talk time, and minutes billed per day) is a billing-focused summary of the same underlying call data.
Team
Invite teammates, assign roles, and control who can see contact phone numbers
https://docs.lemuai.com/settings/team
Manage who has access to your organization, and what they can do, from Settings → Team.
Team invites aren't available on a personal workspace (one created by signing up with a personal email domain). Sign up with a work email to create a company workspace first.
Each member has exactly one role, which determines what they can do:
Role
Can do
Owner
Everything, including transferring ownership. There is exactly one owner per organization
Admin
Everything except being the sole owner-transfer target
Member
Full operational access — voice agents, journeys, contacts, campaigns, reports. No billing, no configuration (telephony, integrations, API keys), no member management
Editor
Voice agents, journeys, and contacts. No campaigns, billing, config, or member management
Viewer
Read-only: dashboard and per-agent reports, including downloading them
Finance
Plans, invoices, and payment — nothing operational
Only an Owner or Admin can invite members, change roles, or remove members. Changing another admin's role is restricted to the Owner — an Admin can't demote or reassign a fellow Admin.
Enter their email address, pick a role, and optionally toggle Can view contact phone numbers (see below).
Click Send invite. They receive an email with a link to accept.
While their invite is pending, you can resend it or revoke it from the Members list.
Seats are a plan entitlement — inviting past your plan's limit prompts you to upgrade first. Admins always get phone number visibility regardless of the toggle; it only matters for the other roles.
Every member has a Can view contact phone numbers toggle, independent of their role. Off by default, a member without it sees phone numbers masked (e.g. •••• 1234) everywhere in the dashboard; toggling it on shows the number in full. This is useful for giving someone operational access (as a Member or Editor) without exposing your full contact list's phone numbers.
From the Members list, click a member's role badge to change it, or use the row actions to remove them. Removing a member revokes their access immediately.
Assigning a member the Owner role transfers ownership to them and demotes the current owner to Admin. Only the current owner can do this — it isn't available as an option from the regular role dropdown, which only offers Admin, Member, Editor, Viewer, and Finance.
API Keys
Create API Keys to trigger voice agent calls and push contact or campaign data into Lemu programmatically.
API keys authenticate requests to the Lemu API. The two main uses are:
Triggering an outbound call from an external system (a CRM, n8n, Zapier, or your own backend) by calling an API Trigger node's endpoint with a phone number and optional context. See Trigger an Outbound Call.
Keeping contacts in sync with your CRM or database, using the Contacts API.
To generate a key, go to /api-keys and click New.
Please note that you must copy and keep the API key secretly, since this is the only time that you would be able to copy it. If you lose it, you can always delete that key (if it's not being used anywhere) and create a new one.
Overview
Connect Slack, Jira, Google Calendar, Zoho Books, Google Sheets, and Shopify to your journeys and contacts
https://docs.lemuai.com/integrations/overview
Integrations connect a third-party app to your organization so it can be used from journeys and, for three providers, kept in sync with your contacts. Manage them from Settings → Integrations in the dashboard.
Connecting is OAuth-based — clicking Connect opens a popup where you sign in to the provider and grant access. Lemu never sees or stores your provider password.
Adds a node to the journey canvas — send a Slack message, create a Jira issue, or book a Google Calendar event as one step in a journey
Data source
Zoho Books, Google Sheets
Syncs contacts into Lemu (new/changed rows become contacts) and can push a contact's updates back out to the connected sheet or CRM
Store
Shopify
Syncs customers into Lemu (one way) and products into a catalog, sends order, checkout and storefront events that can start journeys, and lets voice agents act on orders
An action integration doesn't touch your contacts — it's purely something a journey can do. A data-source integration is the reverse: it's about keeping your contact list current, not about acting inside a call or journey.
On Settings → Integrations, find the provider under Add an integration and click Connect.
Jira asks for your site's subdomain first (e.g. enter acme if your Jira URL is acme.atlassian.net) before continuing to OAuth. Every other provider goes straight to the OAuth popup.
Complete the provider's sign-in and consent screen in the popup. Lemu polls in the background and closes the popup automatically once the connection is confirmed active — you don't need to do anything else in the main window.
Zoho Books additionally asks you to pick which Zoho organization to sync, if your account has more than one (skipped automatically if you only have one).
Google Sheets additionally asks you to search for and pick a spreadsheet, then confirm how its columns map to contact fields — see Google Sheets for that step in detail.
Integrations are a plan entitlement — your plan caps how many you can have connected at once. If you're at the limit, connecting a new one prompts you to upgrade or disconnect another first.
Click Disconnect on a connected provider's card to remove it. This fully revokes the underlying connection, not just hides it in Lemu — so if a journey node or data sync depended on it, that stops working until you reconnect.
If Lemu reports an integration doesn't have enough access (for example, a Google Sheets scope was denied at connect time), disconnect and reconnect it: connecting again after a full disconnect always shows a fresh consent screen, so you can grant the missing permission. Reconnecting without disconnecting first can silently reuse the old, insufficient connection instead of prompting for new consent.
Send a message to a Slack channel as a step in a journey
https://docs.lemuai.com/integrations/slack
The Slack integration lets a journey post a message to a channel in your workspace — for example, notifying a sales channel when a call qualifies a lead, or flagging a failed payment reminder to an ops channel.
On Settings → Integrations, click Connect on the Slack card.
A popup opens Slack's OAuth consent screen. Choose the workspace and approve the requested permissions (posting messages and listing channels).
Once approved, the card moves to Connected and shows Active with the date you connected.
Only one Slack workspace can be connected per organization at a time. To switch workspaces, Disconnect the current one first, then connect the new one.
Once connected, add a Slack node to any journey's canvas (from the Add New Node panel, under Actions). It has two fields:
Field
Purpose
channel
A channel name (e.g. #general) or channel ID. Searchable dropdown, backed by a live list of channels in the connected workspace
message
The message text. Supports {{context.*}} templates and Markdown formatting
For example, a message like New lead: {{context.contact_name}} ({{context.phone}}) — qualified for demo sent to #sales-leads after a qualifying call.
The node routes to success or error depending on whether the message sent. On success, its output includes the channel and Slack's response data, so a later node in the journey can reference it.
Click Disconnect on the Slack card in Settings → Integrations. This revokes Lemu's access to the workspace immediately — any journey with an unconfigured Slack node will fail at that node the next time it runs until you reconnect.
Jira
Create a Jira issue as a step in a journey
https://docs.lemuai.com/integrations/jira
The Jira integration lets a journey create an issue in your Jira site — for example, opening a support ticket when a call reveals a problem, or a follow-up task for the sales team after a qualifying call.
On Settings → Integrations, click Connect on the Jira card.
Unlike the other providers, Jira asks for your site's subdomain first: enter the part before .atlassian.net (e.g. acme if your site is acme.atlassian.net), then Continue.
A popup opens Atlassian's OAuth consent screen. Sign in and approve access to the site.
Once connected, add a Jira node to any journey's canvas (from the Add New Node panel, under Actions). It has four fields:
Field
Purpose
project_key
Required. The short project key shown in issue IDs, e.g. SUP for tickets like SUP-123
summary
Required. The issue title
issue_type
Required. Must be valid for that project, e.g. Task, Bug, Story
description
Optional. The issue body
project_key and issue_type are both searchable dropdowns, backed by a live list of projects and issue types from the connected Jira site (sub-task types are excluded, since those need a parent issue and can't be created from this node).
For example, project_key: SUP, summary: Follow up with {{context.contact_name}}, issue_type: Task, description: Call outcome: {{context.call_outcome}} — all fields support {{context.*}} templates.
The node routes to success or error depending on whether the issue was created. On success, its output includes the project key and Jira's response data (including the new issue's key), so a later node in the journey can reference it.
Click Disconnect on the Jira card in Settings → Integrations. This revokes Lemu's access to the site immediately — any journey with an unconfigured Jira node will fail at that node the next time it runs until you reconnect.
Google Calendar
Book a meeting with a Google Meet link as a step in a journey
The Google Calendar integration lets a journey create a calendar event with a Google Meet link — for example, booking a demo automatically once a call confirms a time slot.
Once connected, add a Google Calendar node to any journey's canvas (from the Add New Node panel, under Actions). It has six fields:
Field
Purpose
summary
Required. The event title
start_datetime
Required. ISO 8601, e.g. 2026-09-20T15:00:00
end_datetime
Optional. ISO 8601; a default duration applies if omitted
attendees
Optional. Comma-separated email addresses
description
Optional. The event description
location
Optional. The event location
For example, summary: Onboarding call with {{context.contact_name}}, start_datetime: {{context.slot_start}}, end_datetime: {{context.slot_end}}, attendees: {{context.contact_email}}, sales@yourcompany.com — all fields support {{context.*}} templates.
This node always creates a Google Meet link on the connected account's primary calendar — it's built for booking a meeting, not just blocking time on a calendar.
The node routes to success or error depending on whether the event was created. On success, its output includes the event summary and Google's response data (including the Meet link), so a later node in the journey can reference it — for example, to include the link in a follow-up WhatsApp message.
Click Disconnect on the Google Calendar card in Settings → Integrations. This revokes Lemu's access immediately — any journey with an unconfigured Google Calendar node will fail at that node the next time it runs until you reconnect.
Zoho Books
Sync contacts from Zoho Books into Lemu, and push contact updates back
https://docs.lemuai.com/integrations/zoho-books
The Zoho Books integration is a data-source integration: it keeps a Lemu contact list in sync with your Zoho Books contacts, and lets you push a contact's changes back to Zoho. Unlike Slack, Jira, and Google Calendar, it isn't used from a journey node — it runs in the background.
Every 15 minutes, Lemu polls Zoho Books for contacts created or modified since the last sync and creates or updates the matching contacts in the Zoho Books list, matched by Zoho's internal contact_id.
Outbound: Lemu → Zoho
From a contact's detail page, you can manually push its current field values back to Zoho Books. This is a one-off, user-triggered action — Lemu doesn't push changes automatically as you edit a contact.
Manual resync
You don't have to wait for the next scheduled poll — trigger an immediate resync for the integration from the Integrations page if you need the latest Zoho data right away.
Each field maps to a Zoho Books contact field with a direction — inbound (Zoho → Lemu only), outbound (Lemu → Zoho only), or bidirectional. The default mapping is a conservative starting point and can be edited per organization:
Lemu contact field
Zoho Books field
Default direction
first_name
contact_name
Inbound
company
company_name
Bidirectional
email
email
Bidirectional
phone
mobile
Bidirectional
Zoho Books doesn't split first and last name, and whether a contact's number is stored under "phone" (landline) or "mobile" varies by organization — that's why first_name defaults to inbound-only and phone maps from mobile rather than assuming. Adjust the mapping to match how your Zoho organization actually uses these fields.
Click Disconnect on the Zoho Books card in Settings → Integrations. This stops the sync immediately and revokes Lemu's access to your Zoho account — the Zoho Books contact list and its existing contacts stay in Lemu, but they'll no longer receive updates until you reconnect.
Google Sheets
Sync contacts from a spreadsheet into Lemu, and push contact updates back to it
The Google Sheets integration is a data-source integration: it keeps a Lemu contact list in sync with rows in a spreadsheet, and lets you push a contact's changes back to the sheet. Unlike Slack, Jira, and Google Calendar, it isn't used from a journey node — it runs in the background.
On Settings → Integrations, click Connect on the Google Sheets card.
A popup opens Google's OAuth consent screen. Sign in and approve access.
Pick a spreadsheet — search by name from the spreadsheets visible to the connected Google account.
Map columns — after picking a spreadsheet (and sheet, if it has more than one tab), Lemu reads its header row and proposes a best-guess mapping from column names to contact fields (e.g. a column literally named "Phone" or "Email" is matched automatically). Review and adjust the mapping, then confirm.
A phone column mapping is required — a contact with no phone number can't be called. Every other field is optional.
Once confirmed, Lemu creates a contact list named {Spreadsheet title} — {Sheet name} and starts syncing into it.
Lemu registers a trigger on the sheet that fires as soon as a new row is added, so new contacts show up close to real time.
Edited rows
Row-added triggers can't detect an existing row's values changing, so every 15 minutes Lemu also does a full re-read of the sheet, which picks up both new rows and edits to existing ones. This is a backstop, not the primary path — most new contacts arrive via the trigger well before the next poll.
Outbound: Lemu → Sheet
From a contact's detail page, you can manually push its current field values back to the mapped row in the sheet. This is a one-off, user-triggered action — Lemu doesn't write back automatically as you edit a contact.
Manual resync
You don't have to wait for the next scheduled poll — trigger an immediate resync for the integration from the Integrations page if you need the latest sheet data right away.
If the connected account doesn't have access to the sheet you're trying to pick or map (for example, the OAuth grant didn't include the right Sheets scope), reconnect the integration — see Disconnecting and reconnecting — which forces a fresh consent screen where you can grant the missing permission.
Click Disconnect on the Google Sheets card in Settings → Integrations. This stops the sync immediately and revokes Lemu's access to the spreadsheet — the contact list and its existing contacts stay in Lemu, but they'll no longer receive updates until you reconnect and re-select the sheet.
Shopify
Sync your Shopify customers into Lemu, receive order and storefront events, and let voice agents confirm or cancel orders
https://docs.lemuai.com/integrations/shopify
The Shopify integration connects your store to Lemu. It does four things:
Customers are synced into a Lemu contact list called Shopify.
Store events (checkouts, orders, refunds, deliveries) arrive as contact events that can start or stop a journey.
Products are kept in a Lemu catalog your agents and journeys can look things up in.
Order actions let a voice agent confirm, cancel or tag the order a call is about, using the Shopify order action tool.
Lemu only reads your customers. It changes an order only when an agent action you set up asks it to.
There are two ways to connect a store. Both give the same features. A store can be connected to one LemuAI workspace at a time, and a workspace connects one store.
The quickest way, with nothing to copy: customers sync into a contact list called Shopify, orders and checkouts arrive as events, store visits, carts and checkouts are tracked by LemuAI's pixel with nothing to paste, and products sync into your catalog.
Install LemuAI in Shopify
Install the LemuAI app on your store from Shopify and approve the permissions. Shopify opens LemuAI's page inside your Shopify admin.
Connect to your workspace
On that page, click Connect to Lemu. A new tab opens LemuAI (sign in if asked, as an Owner or Admin). Press Connect store. The link is valid for 15 minutes; if it expires, click Connect to Lemu again.
If you see "This store is already connected to another Lemu workspace. Disconnect it there first, or from Lemu's page in your Shopify admin.", disconnect the other workspace first.
Create a small app in your own Shopify account. It takes about five minutes, and the App setup guide in Lemu walks through it with values you can copy. You need this option for Shopify discount code pools.
Create the app in Shopify
Go to dev.shopify.com, sign in with the Shopify account that owns your store, and choose Apps → Create app. Name it something you will recognise, for example "Lemu". The app and the store must belong to the same Shopify organization.
Fill in the app settings
Use the App URL shown in Lemu's setup guide. Turn Embed app in Shopify admin off, leave Redirect URLs empty, and pick the latest stable Webhooks API version.
Set the access scopes
Scope
What it's for
read_customers
Sync your customers into Lemu contacts
read_orders
Receive order and checkout events, and look up an order before a call
read_products
Keep a Products catalog in Lemu
write_orders
Only needed if a voice agent or journey should confirm, cancel or tag orders. Leave it out if you only want to read
Then release the version. Nothing takes effect until you do.
Install the app on your store
Choose Install app, pick your store and approve the permissions. Then open the app's Settings and copy the Client ID and Client secret. Treat the secret like a password.
Connect in Lemu
On Settings → Integrations, click Connect on the Shopify card. Enter your store address (mystore.myshopify.com, not your custom domain) and paste the Client ID and Client secret. Keep Send cart and purchase events to Lemu ticked if you want abandoned-cart and order calls. Lemu checks the credentials with Shopify before saving.
Have an older custom app? In your Shopify admin go to Settings → Apps and sales channels → Develop apps, open the app and then API credentials. Copy the Admin API access token (it starts with shpat_) and the API secret key, then choose Older custom app with an Admin API access token? in the connect form.
If you add a permission later, release a new version of the app and approve the update on your store again, or Lemu will report a missing permission.
New and changed customers are pulled in automatically about every 30 minutes, into a contact list called Shopify. Sync is one way: Lemu reads your customers and never changes them in your store.
Customers without a phone number are skipped, because Lemu can't call them.
A person who comes in from Shopify and from another source is kept as one contact. See Contacts.
Click Sync now on the store's settings page to pull the latest customers right away. Lemu shows how many were created, updated and failed.
The Field mapping section on the store's settings page sets which Shopify value is saved into which Lemu contact field. The Shopify values you can map are:
first_name, last_name, email, phone, company, city, province, country, orders_count, total_spent, tags, note and state.
If customer names, emails, phone numbers or addresses come back empty, open your app in Shopify's Dev Dashboard and request access to protected customer data for those fields, then sync again.
Choose which Shopify events Lemu receives in the Store events section. Each one becomes a contact event you can use as a journey trigger, with a delay, a cancelling event and conditions. For example: call 5 minutes after a Purchase whose payment_method is cod when the order total is over 2000. Lemu verifies every event with your app's secret before accepting it.
Orders arrive as Meta's standard Purchase event and started checkouts as InitiateCheckout, with value, currency and order_id, so revenue and ROI work without extra setup. See Standard and conversion events.
Setup required: store events need the store connected with the LemuAI app (option 1) or its own Shopify app (option 2). They aren't available with an older custom app that uses an Admin API access token.
Event in Lemu
Shown as
When it's sent
On by default
InitiateCheckout
Checkout started (cart_added)
A shopper started checkout and a phone number is known. Sent once per checkout, so you can use it for abandoned-cart follow-ups
Yes
Purchase
Order placed (order_placed)
A new order, paid or not. payment_method is cod for cash on delivery, otherwise prepaid
Yes
cod_order_placed
(sent with Order placed)
The new order is cash on delivery. Sent next to Purchase for now, so journeys that start on it keep working
Yes
shopify.order.cancelled
Order cancelled
An order was cancelled. Useful to stop a call that is still waiting
Yes
shopify.order.paid
Order paid
Payment was captured for an order
No
shopify.order.fulfilled
Order fulfilled
Every item in an order has shipped
No
shopify.refund.created
Refund created
A refund was issued on an order
No
shopify.fulfillment.created
Shipment created
A shipment was created, with its tracking details
No
shopify.fulfillment.event
Delivery update
Out for delivery, delivered, delivery failed. Only if your courier app reports tracking events
No
shopify.customer.created
Customer created
A new customer account was created
No
The options keep their earlier names (cart_added, order_placed), shown next to each checkbox; only the event they send changed. Journeys and segments that use cart_added or order_placed still match InitiateCheckout and Purchase.
Every order event carries the same details, such as order_name, total_price, currency, payment_method, is_cod, financial_status, items and the shipping address, so journey conditions and the Shopify tools work the same on all of them. Purchase also carries Meta's value, contents and content_ids.
cod_order_placed doesn't count as a second order: only the Purchase counts toward revenue. For new journeys, trigger on Purchase with the condition payment_method is cod.
An order paid with a method whose name contains one of the words you list here (comma separated) is a Purchase with payment_method set to cod and is_cod set for conditions. For now it is also sent as cod_order_placed. The default is cash on delivery, cod.
Storefront events are what shoppers do on your store before they order: page and product views, collection views, searches, add to cart, remove from cart, cart views, checkout started, payment details entered and purchases. They use Meta's standard names where one exists (PageView, ViewContent, AddToCart, InitiateCheckout, Purchase and so on). See the full list. Shoppers stay anonymous until they log in or enter an email or phone at checkout. Then their earlier visits are added to their contact, and their actions can trigger journeys, for example a browse- or cart-abandonment message.
Setup required: with the LemuAI app (option 1), storefront events are tracked with nothing to paste. With your own app, in your Shopify admin, open Settings → Customer events and click Add custom pixel. Name it Lemu, choose the customer privacy permission your privacy policy needs, replace the code box with the code shown in Lemu's Storefront events section, then click Save and Connect.
The section shows when the last storefront event was received. For tracking on a site that isn't on Shopify, or in your app, use Tracking Sources.
A purchase reported by both the storefront and the store's order webhook counts as one order, because both carry the same order_id.
If your app has the read_products scope, Lemu creates a Productscatalog and keeps it in sync with your store every 30 minutes. Agents can look products up during a call with the catalog lookup tool in the Tools library.
Health: which app permissions are granted, which are missing, and the recent deliveries Shopify has sent, with their status. If nothing has arrived yet, place a test order or start a checkout on your store.
Agent activity: every change your voice agents made to this store during calls, including ones Shopify refused.
App setup guide: how the app was set up, and what to do when you need to add a permission or reconnect.
Check that the app is installed on this exact store, belongs to the same Shopify organization, and that you pasted the Client secret, not the Client ID, into the secret field
The app is missing a required scope
Add the scope to the app, release a new version, then approve the update on your store
Events show as off
The settings page shows the exact reason. Its Health section lists what Shopify has sent recently
Lemu Tickets
Connect Lemu Tickets to open tickets from calls, WhatsApp chats and journeys, and see a contact's tickets in LemuAI.
https://docs.lemuai.com/integrations/lemu-tickets
Lemu Tickets is LemuAI's helpdesk. Connected to your workspace, it lets you:
open tickets from journeys (Create ticket, Update ticket, Ticket comment steps),
let a voice agent open tickets during calls and chats (Tools & files for every step, see Agent Node), and on your website for verified visitors (see Web Widget),
find issues after each call or chat and suggest or open a ticket automatically,
see a contact's tickets on the contact and in the Inbox conversation, and create one by hand,
keep a ticket up to date with the customer's WhatsApp messages and their delivery statuses.
See Integrations troubleshooting: "Lemu Tickets is not connected.", "Only an owner or admin can manage Lemu Tickets.", and step errors.
Tracking Sources
Collect page views, screens and actions from your websites and apps to build contact profiles, trigger journeys and measure ROI
https://docs.lemuai.com/website-pixel/overview
Tracking Sources (Settings → Tracking Sources in the sidebar) collect what people do on your website and in your apps: page views, app screens, and actions such as adding to cart or placing an order. Use them to see what your contacts do, build segments from it, start journeys when someone does something, and give journeys and campaigns their revenue and ROI.
A source is self-serve: create it, add the snippet or SDK with its write key, and events start arriving.
One app source can serve the same app on every platform, for example your Android and iOS builds. Create a separate source for each website, or for each environment such as staging, so their events stay apart.
Events from every source use the same names. Lemu uses Meta Pixel's standard events (PageView, ViewContent, AddToCart, Purchase and the rest), so the same event means the same thing on your site, in your app and in your Shopify store. See Standard and conversion events.
Under Add a tracking source, choose Website or App.
Name it
Give it a Name, for example "Main store" or "Android and iOS app".
Restrict where events come from
For a website, list the Allowed sites. For an app, list the Allowed apps. You can also leave this empty now and fill it in on the source later (see below). Then click Create.
Install it
Open the new source. Under Set up, copy the write key and follow the steps for your platform.
For a website source, Allowed sites lists the sites allowed to send events with its write key, one per line. Use an exact site such as https://shop.example.com, or https://*.example.com for every subdomain. Click Save sites after changing the list on a source.
Events from any other site are refused. Leave the list empty only while testing.
For an app source, Allowed apps lists the bundle ids or package names allowed to send with its write key, one per line, for example com.brand.app. Click Save apps after changing the list on a source.
Every event must name an allowed app, so a key copied into another app doesn't work by accident. Leave the list empty to accept any app.
Each source shows its write key (it starts with lpk_) and setup steps for each platform, with the key already filled in. The write key is the same for every platform of the source. It is public by design and safe to put in your site or app: it can only send events, never read anything.
Source
Setup tabs
Website
Any website (the snippet) and React / Next.js
App
Android, iOS, Flutter and React Native
Each tab shows how to install, how to set up with your key, and how to send events, including a purchase.
A Meta standard event is stored with Meta's spelling, whatever the case or separators: add_to_cart, Add To Cart and addtocart are all stored as AddToCart.
Any other name is a custom event and is stored in lowercase with underscores, so "Signed Up for Newsletter" is stored as signed_up_for_newsletter. Use that spelling in journeys and segments.
Page views are stored as PageView and app screens as screen_viewed.
Visitors are anonymous until they identify. Call identify when someone logs in, signs up or fills a form:
JavaScript
lemu("identify", { email: "asha@example.com", phone: "+919876543210", first_name: "Asha" });lemu("identify", "crm-123", { email: "asha@example.com" }); // your own id firstlemu("reset"); // on logout: start a new anonymous visitor
An identify with an email or a phone finds the matching contact, or creates one tagged website.
An identify with only your own id links the visitor to an existing contact with that id. It never creates a contact.
Anonymous visitors are not contacts and don't count toward your plan's contact limit.
Once a visitor identifies, their earlier anonymous visits show up in the contact's activity.
Switch on Let identified visitors' tracked actions trigger journeys on the source. Then track events from identified visitors work like events from the API: they appear on the contact and can start any journey whose Events trigger matches the event name. Page views, screens and actions from anonymous visitors never start journeys.
A purchase from an identified visitor counts toward revenue and ROI even when this switch is off. The switch only controls whether actions start journeys.
Records a page view on every in-app navigation. Use it for single-page apps
cookieDomain
Shares the visitor id across subdomains, for example .example.com
requireConsent
Collects nothing until consent is given (see below)
debug
Logs every call, request and response to the browser console
apiHost
Where to send events. Defaults to where the script was loaded from
UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) and gclid / fbclid on the landing page are kept with the visitor's events, along with the referrer. So is lmclid, which Lemu adds to message links to your own sites: a visitor who arrives with it, and isn't known yet, is linked to the contact the message went to. See Link Click Tracking.
If you need consent before tracking, for example after your cookie banner, start with requireConsent:
JavaScript
lemu("init", "YOUR_WRITE_KEY", { requireConsent: true });lemu("consent", true); // from your consent banner, once the visitor agrees
Until consent, nothing is sent and nothing is written to cookies or local storage, not even the visitor id. Up to 50 events wait in memory and are sent once consent is given. lemu("consent", false) discards them.
To switch tracking off for a visitor, call lemu("optOut"). It is remembered in the browser. lemu("optIn") turns it back on.
The app SDKs have the same consent and opt-out calls.
Personal data stays out of events. Keys such as email, phone, mobile, whatsapp, password, otp, card, card_number, cvv, pan, aadhaar and address are dropped from event and page properties. Send contact details only through identify.
No advertising ids. The website script and the app SDKs collect no advertising ids (IDFA, GAID) and no hardware ids. Each browser or app install gets a random visitor id instead.
Website sources: up to 120 batches a minute from one visitor IP address.
App sources: up to 120 batches a minute from one device. Apps are not limited by IP address, because mobile networks put many people behind one address.
Batch size: each batch holds up to 100 events and 256 KB. The script and SDKs batch events for you.
Duplicates: the same event sent twice within 24 hours is recorded once, so retries are safe.
Late events: an event dated more than 7 days ago, or in the future, is recorded at the time it arrives.
Turn it off to pause the source. A paused source shows Paused and its events are refused
New write key
Makes a new key. The current key stops working within a minute, so update your site or app first
Delete
Removes the source. Its snippet or SDK key stops working
The source card also shows when the last event arrived, or "No events received yet.", so you can confirm the setup works. Events from your sources also appear in the Event Log under the Website source.
Each source has a Recent events debugger. Click Show recent events to see the last 50 events the source received in the past hour, as Lemu stored them, then Refresh to load new ones.
Each event shows its name, the time and the platform it came from.
Click an event to see its properties (after personal data was removed) and context, such as the app version, device and campaign.
Events that count as orders are marked Conversion. If one was missing a value, a currency or an order id, it shows how many issues it had and what Lemu did, for example "no order_id: the same order sent twice counts twice". See Standard and conversion events.
Contact details from identify are never shown here. Turn on debug mode in the script or SDK to see each request from your side as well.
If your Shopify store is connected, its source is created for you and shows storefront events from your store instead of a snippet. The pixel code lives on Integrations → Shopify → Storefront events: paste it once into Shopify's Customer Events as a custom pixel.
Shopify's standard events are recorded under these names:
Shopify event
Lemu event
page_viewed
PageView
product_viewed
ViewContent
collection_viewed
viewed_collection
search_submitted
Search
product_added_to_cart
AddToCart
product_removed_from_cart
removed_from_cart
cart_viewed
viewed_cart
checkout_started
InitiateCheckout
checkout_address_info_submitted
checkout_address_submitted
checkout_shipping_info_submitted
checkout_shipping_submitted
payment_info_submitted
AddPaymentInfo
checkout_completed
Purchase
Events with a Meta equivalent use Meta's name and parameters (value, currency, contents, content_ids, and order_id on purchases). The others keep their Lemu names. Older journeys and segments that use the previous names, such as viewed_product or checkout_completed, still match. See Old names that still match.
When a shopper enters their email or phone at checkout, or is logged in, they are identified automatically.
Lemu uses Meta Pixel's standard events exactly as Meta defines them: the same names and the same parameters. If your site or app already sends events to Meta, you can send the same calls to Lemu unchanged. The same names work everywhere: the website snippet, the app SDKs, the Send an Event API and Shopify.
Only conversion events have required fields. By default that is Purchase, because journey and campaign revenue and ROI are calculated from it. Every other event is free-form.
A page loaded. The website snippet sends it for you
ViewContent
A product or other key page was viewed
content_ids, content_category, content_name, content_type, contents, currency, value
Search
A search
search_string, content_category, content_ids, contents, currency, value
AddToCart
An item was added to the cart
content_ids, content_name, content_type, contents, currency, value
AddToWishlist
An item was added to a wishlist
content_ids, content_name, content_category, contents, currency, value
InitiateCheckout
Checkout started
content_ids, content_category, contents, currency, num_items, value
AddPaymentInfo
Payment details were entered
content_ids, content_category, contents, currency, value
Purchase
An order was placed
value and currency (required by Meta), content_ids, content_name, content_type, contents, num_items, plus order_id for Lemu
Lead
A lead was submitted
content_category, content_name, currency, value
CompleteRegistration
A sign-up was completed
content_name, currency, status, value
Subscribe
A paid subscription started
currency, predicted_ltv, value
StartTrial
A free trial started
currency, predicted_ltv, value
Schedule
An appointment was booked
SubmitApplication
An application was submitted
Contact
Someone contacted your business
CustomizeProduct
A product was customised
Donate
A donation
FindLocation
Someone searched for a store location
What the parameters mean:
Parameter
Type
Meaning
value
number
An amount in major units: 1499.5 is ₹1,499.50
currency
string
An ISO 4217 code such as INR
content_ids
list of strings
Product ids or SKUs
contents
list of objects
Items, each with id and quantity, and optionally item_price, title, brand and category
content_type
string
product or product_group
content_name, content_category
string
A name and a category
num_items
integer
The number of items
search_string
string
What was searched for
predicted_ltv
number
The expected lifetime value of a subscriber
status
string
The status of a registration
You can add your own parameters next to these, for example payment_method: "cod" or coupon. For Meta's full definitions, see Meta's standard events reference.
Matching a Meta name ignores case and separators. purchase, PURCHASE and Purchase are all stored as Purchase, and add_to_cart, Add To Cart and AddToCart are all stored as AddToCart.
A name that doesn't match one of Meta's events is a custom event. Custom events are allowed everywhere and are never renamed, rejected or reshaped. Personal data is still removed from their properties.
// Already on your site for Meta:fbq("track", "Purchase", { value: 1499.5, currency: "INR", content_ids: ["SKU1"], content_type: "product" });// The same call for Lemu, plus order_id:lemu("track", "Purchase", { value: 1499.5, currency: "INR", content_ids: ["SKU1"], content_type: "product", order_id: "1042" });
For purchases you can also use lemu("purchase", { value, currency, order_id }), which sends the event straight away.
Lemu counts one conversion per order. The same order is often reported more than once: by your website, by your app, by Shopify (from both the storefront and the store's order webhook), by your server, or by a reload of the thank-you page. With order_id, all of these count as one order, so revenue isn't counted twice. Without it, every Purchase event counts as its own order.
Meta's Conversions API has the same field, so your order id fits both. Use the same order id your store and backend use.
A conversion event is an event that counts as an order for revenue and ROI. The list is set under Settings → Sending Limits → Conversion events. The default is Purchase. You can add others, such as Lead, Subscribe, Schedule, or one of your own custom events. See Sending Limits.
A conversion event is never rejected for a missing or wrong field. A missing field never drops an order. Instead Lemu does the following, and counts it:
Problem
What Lemu does
value is text, such as "1,499.00"
Converts it to a number
value is missing, but an older field such as total_price or total has the amount
Uses that field
value is missing, isn't a number, or is negative
Counts the order with no revenue
currency is missing or isn't an ISO code
Uses your workspace currency
order_id is missing, but an older field such as order_number has it
Uses that field
order_id is missing
Counts the order, but the same order sent twice counts twice
You can see these counts in two places:
Settings → Sending Limits, under Conversion events: how many conversion events arrived in the last 30 days, and how many had each problem.
The Recent events debugger on each tracking source: each conversion event, marked Conversion, with what was missing or fixed.
Events that aren't conversion events go through none of these checks.
An order is credited to the last journey or campaign message the contact got, if that message came within the channel's attribution window. See Sending Limits.
Revenue is the total value of the credited orders, per currency.
Message spend is what the messages cost in money: WhatsApp charges from your WhatsApp wallet. Email (paid in credits) and calls (paid in plan minutes) are not priced, so they don't add to spend.
ROI is revenue divided by message spend. 3.5x means 3.5 back for each 1 spent. When there was no message spend in the period, ROI shows –.
A few details:
Orders that arrived without a value count as orders but add nothing to revenue. Reports say how many there were, so a low ROI caused by missing data isn't mistaken for a poor journey.
ROI uses revenue in the same currency as the spend. Revenue in other currencies is shown but left out of the ratio.
ROI is shown on each journey's report, on marketing campaigns and on the Copilot home in the AI Copilot.
Before standard events, Lemu's website pixel and Shopify connection used their own names. These old names still match their Meta event everywhere you name an event: journey triggers, exit events, Wait for reaction, segments, the Event Log filter and Conversion events. A journey on Purchase also starts for an event sent as order_placed, and the other way round.
Old name
Matches
order_placed, checkout_completed
Purchase
cart_added, checkout_started
InitiateCheckout
added_to_cart
AddToCart
viewed_product
ViewContent
page_viewed
PageView
searched
Search
checkout_payment_submitted
AddPaymentInfo
cart_added matches InitiateCheckout, not AddToCart, because it was always sent when a shopper started checkout.
Saved journeys, segments and the Conversion events setting that used these old names were renamed to the Meta names for you. Events you sent before keep the name they were stored with, and still match. Your own custom event names were not changed.
A purchase sent from a browser or an app can be lost: the app is closed right after payment, or an ad blocker stops the script. For the most reliable revenue and ROI, also send Purchase from your backend with the Send an Event API:
Keep sending it from your site or app as well. With the same order_id, both count as one order. Shopify stores already send orders from the store's order webhook (see Shopify).
SDKs
Send events, purchases and known users to Lemu from your website, JavaScript and React apps, and your Android, iOS, Flutter and React Native apps
https://docs.lemuai.com/sdks/overview
Setup required: the SDK packages (@lemuai/analytics, @lemuai/react, @lemuai/react-native, com.lemuai:analytics, LemuAnalytics and lemu_analytics) are rolling out. If a package isn't available yet, contact LemuAI support for access. The website snippet needs no package.
The Lemu SDKs send what people do on your website and in your apps to Lemu: page and screen views, Meta's standard events such as AddToCart and Purchase, and identify for people you know. Lemu uses these events for contact activity and segments, to start journeys, and to calculate the revenue and ROI of your journeys and campaigns.
In Lemu, open Settings → Tracking Sources. Under Add a tracking source, choose Website for a website or a JavaScript, React or Next.js app. Choose App for an Android, iOS, Flutter or React Native app.
Name it
Give it a Name, for example "Main store" or "Android and iOS app". You can list the Allowed sites or Allowed apps now or later. Then click Create.
Copy the write key
On the new source, under Set up, copy the write key. It starts with lpk_.
Under Set up, the source also shows install and setup code for each platform with your key filled in: Any website and React / Next.js on a website source, and Android, iOS, Flutter and React Native on an app source.
The write key is public by design and safe to ship in your site or app: it can only send events, never read anything. One app source can serve the same app on every platform, for example your Android and iOS builds. Create a separate source for each environment, such as staging, so test events stay apart.
Send every order with purchase, with three fields:
value: the order total, in major units (1499.5 is ₹1,499.50).
currency: an ISO 4217 code such as INR.
the order id (order_id in JavaScript, orderId on Android, iOS and Flutter): the same id your store and backend use.
Lemu counts one conversion per order id, however many times the order is reported: by your app, your website, Shopify or your server. Without it, every report counts as a separate sale. See Conversion events for what Lemu does when a field is missing, and send purchases from your server too for the most reliable numbers.
Call identify when someone signs up or logs in, with your own user id and their contact details (email, phone in international format such as +919876543210, first_name, last_name). The user id is sent with every later event until reset.
An identify with an email or a phone finds the matching contact, or creates one.
An identify with only your user id links to an existing contact with that id. It never creates one.
Before identify, a visitor or install is anonymous and isn't a contact. Once they identify, their earlier anonymous activity shows up on the contact.
Contact details belong in identify only. Lemu removes keys such as email, phone and address from event properties.
To let tracked actions from identified people start journeys, switch on Let identified visitors' tracked actions trigger journeys on the source. See Trigger journeys.
If you need consent before tracking, for example under GDPR or the DPDP Act, start the SDK with requireConsent and call setConsent(true) once the person agrees.
Until consent, nothing is sent and nothing is stored on the device, not even the anonymous id. Up to 50 events wait in memory and are sent once consent is given.
setConsent(false) discards the waiting and queued events. A granted consent is remembered (in the browser, across visits; in an app, across launches) until setConsent(false).
optOut() stops all tracking and clears the queue, and is remembered. optIn() turns tracking back on.
Every second or every 10 events, and when the page is hidden
Every 30 seconds or every 20 events, when the app goes to the background, and right after a purchase
If sending fails
Retried with increasing waits, up to 5 minutes apart, while the page is open
Kept on the device, also across restarts, and retried with increasing waits, up to 5 minutes apart, for up to 20 hours
Queue
Up to 1,000 events, in memory
Up to 1,000 events, for up to 7 days. When it's full, the oldest event that isn't a purchase is dropped first
Each request carries up to 50 events. The same event received twice within 24 hours is recorded once, so retries never double count. See Limits and duplicates.
The SDKs never throw into your code. A bad argument, such as an empty event name, is ignored and logged in debug mode.
The SDKs collect a random anonymous id for each browser or app install, the events and properties your code sends, the user id and traits you pass to identify, and basic app and device details such as the app version, OS version, device model, locale and time zone. They collect no advertising ids (IDFA, GAID) and no hardware ids.
Start the SDK with debug on. It logs every call, request and response.
Send an event
Open your site or app and do something you track, or call flush() to send straight away.
Look in Lemu
In Settings → Tracking Sources, the source shows when the last event arrived. Under Recent events, click Show recent events to see the last 50 events from the past hour as Lemu stored them, then Refresh for new ones. See Recent events.
Add Lemu to any website with the snippet, or to a JavaScript app with the @lemuai/analytics package: page views, events, purchases, known users and consent
https://docs.lemuai.com/sdks/javascript
The same script powers the website snippet and the @lemuai/analytics npm package. It has no dependencies, is about 5.5 KB gzipped, and is safe to import during server-side rendering.
Use the snippet on any website, including Shopify themes, WordPress and site builders.
Use the package in a JavaScript or TypeScript app built with a bundler.
For React and Next.js, use @lemuai/react, which is built on this package.
You need the write key of a Website source. See Get a write key.
Copy the snippet from your source (Settings → Tracking Sources, the Any website tab under Set up) and paste it into the <head> of every page. It loads the script, starts it with your key and records a page view:
HTML
<script> !function(w,d){w.lemu=w.lemu||function(){(w.lemu.q=w.lemu.q||[]).push(arguments)}; var s=d.createElement("script");s.async=1;s.src="https://app.lemuai.com/api/v1/pixel/sdk.js"; d.head.appendChild(s)}(window,document); lemu("init", "YOUR_WRITE_KEY"); lemu("page");</script>
With the snippet, call every method by name, for example lemu("track", "AddToCart", { value: 999, currency: "INR" }). Calls made before the script has loaded are kept and run once it arrives.
Use Meta's standard event names for standard actions, such as ViewContent, AddToCart and InitiateCheckout. With the package, use the LemuEvent constants. Any other name works as a custom event.
purchase sends a Purchase event at once, without waiting for the next batch, so it isn't lost if the visitor closes the tab.
value, currency and order_id are required. Lemu counts one conversion per order_id, so the same order reported by this page, a reload of the page, Shopify or your server counts once. Lemu never rejects an event for a missing field, but it flags the conversion. See Conversion events.
Call identify when the visitor signs up, logs in or fills a form, with your own user id and their contact details:
JavaScript
lemu.identify("crm-123", { email: "asha@example.com", phone: "+919876543210", first_name: "Asha",});// without your own idlemu.identify({ email: "asha@example.com" });// on logoutlemu.reset();
With the snippet, the same calls are lemu("identify", "crm-123", { ... }) and lemu("reset").
The user id is kept and sent with every later event until reset, which also gives the visitor a new anonymous id. See Identify visitors for how Lemu matches contacts.
With the snippet, pass options as the third argument: lemu("init", "YOUR_WRITE_KEY", { trackPageChanges: true }).
UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) and gclid / fbclid on the landing page are kept with the visitor's events. Personal data in page URLs, such as ?email=, is removed.
If you need consent before tracking, for example after your cookie banner, start with requireConsent:
JavaScript
lemu.init("YOUR_WRITE_KEY", { requireConsent: true });// later, from your consent bannerlemu.setConsent(true); // snippet: lemu("consent", true)
Until consent, nothing is sent and nothing is written to cookies or local storage, not even the visitor id. Up to 50 events wait in memory and are sent once consent is given.
setConsent(false) discards them. A granted consent is remembered in local storage (_lemu_consent), so returning visitors aren't asked again. setConsent(false) forgets it.
optOut() stops all tracking and clears the queue. It is remembered in a cookie and in local storage. optIn() undoes it.
Every call, request and response is logged to the browser console with a [lemu] prefix. Bad arguments, such as an empty event name or properties that can't be turned into JSON, are logged and ignored. The script never throws into your code.
If the console shows a refused request, check that your site is listed under Allowed sites on the source.
Events are batched and sent every second or every 10 events, and with sendBeacon when the page is hidden, so events from the last page aren't lost. Requests are sent as plain text, so the browser makes no extra CORS request first. Failed requests are retried with increasing waits.
The visitor id lives in the _lemu_aid first-party cookie and in local storage, so returning visitors keep the same id.
React and Next.js
Add Lemu to a React or Next.js app with @lemuai/react: a provider, the useLemu hook and page tracking for React Router and the Next.js routers
https://docs.lemuai.com/sdks/react
@lemuai/react adds Lemu to React and Next.js apps: a provider, a hook to send events from any component, and page tracking for React Router and both Next.js routers. It's built on @lemuai/analytics and is safe with server-side rendering: nothing touches window during render, and calls made on the server do nothing.
You need the write key of a Website source. See Get a write key. The source's React / Next.js tab under Set up shows the code below with your key filled in.
purchase sends a Purchase event at once. Always pass your real order id: Lemu counts one conversion per order_id, however many sources report the order (this page, a webhook, a reload of the thank-you page). See Conversion events.
const lemu = useLemu();// after sign-up or loginlemu.identify(user.id, { email: user.email, phone: user.phone, first_name: user.firstName });// on logoutlemu.reset();
The user id is kept and sent with every later event until reset. Send phone numbers in international format, for example +919876543210. Contact details belong in identify only.
To wait for consent, pass requireConsent to the provider and call setConsent(true) from your consent banner:
TSX
<LemuProvider writeKey="YOUR_WRITE_KEY" options={{ requireConsent: true }}> <App /></LemuProvider>// in your consent bannerconst lemu = useLemu();lemu.setConsent(true);
Nothing is sent or stored until then. lemu.optOut() and lemu.optIn() turn tracking off and on, remembered in the browser. See Consent and opt-out for the details.
Add Lemu to a React Native or Expo app with @lemuai/react-native: events, purchases, known users, screens, app installs and opens, and deep links
https://docs.lemuai.com/sdks/react-native
@lemuai/react-native sends events, purchases, known users and screens from your React Native or Expo app, and records installs, app opens and the deep links that bring people in. It's pure JavaScript with no native module of its own, so it works in Expo Go and in bare React Native apps.
You need the write key of an App source. See Get a write key.
npm install @lemuai/react-native @react-native-async-storage/async-storage# optional, for the app version, bundle id and device model:npm install react-native-device-info
Call init once, as early as possible, for example in index.js or your root component:
TSX
import { lemu } from "@lemuai/react-native";lemu.init("lpk_...");
Calls made before storage has loaded are kept and sent in order.
Without react-native-device-info, for example in Expo Go, pass the app version, build and id yourself:
TSX
import * as Application from "expo-application";import { lemu } from "@lemuai/react-native";lemu.init("lpk_...", { appVersion: Application.nativeApplicationVersion ?? undefined, appBuild: Application.nativeBuildVersion ?? undefined, appNamespace: "com.brand.app",});
If the source lists Allowed apps, Lemu refuses events that don't carry an allowed app id. The SDK reads the id from react-native-device-info. Without that package, set appNamespace to your bundle id or package name, or leave Allowed apps empty.
purchase sends a Purchase event and sends the queue right away. Always pass the order id your backend uses: the same order is often reported by the app, your backend and your payment provider, and Lemu counts one conversion per order_id. See Conversion events.
Screens aren't tracked automatically. Send one yourself:
TSX
lemu.screen("Checkout", { step: 2 });
Or record every route change in React Navigation:
TSX
import { NavigationContainer, useNavigationContainerRef } from "@react-navigation/native";import { useLemuNavigationTracking } from "@lemuai/react-native";export function App() { const navigationRef = useNavigationContainerRef(); useLemuNavigationTracking(navigationRef); return <NavigationContainer ref={navigationRef}>{/* screens */}</NavigationContainer>;}
Outside a component, trackNavigationState(navigationRef) does the same and returns a function that stops it. Only the route name is sent, not route params, because params can hold personal data. Screens are stored as screen_viewed.
from_background, and url when a link opened the app
app_backgrounded
The app goes to the background. Queued events are sent then too
deep_link_opened
A link opens the app or arrives while it runs
url, referrer
UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) and gclid / fbclid in a deep link are kept with that event and every later event in the session, so Lemu can credit what happens next, such as a purchase, to the campaign.
Turn these off with trackLifecycle: false and trackDeepLinks: false.
Events are kept in AsyncStorage (or the storage you pass) and survive restarts. They are sent every 30 seconds, every 20 events, when the app goes to the background, and right after a purchase. Failed requests are retried with increasing waits, up to 5 minutes apart. At most 1,000 events are kept; when the queue is full, the oldest event that isn't a purchase is dropped. Events older than 7 days are dropped.
Requests carry a User-Agent such as lemu-react-native/1.0.0 (iOS 17.4; iPhone15,2). No advertising ids or hardware ids are collected. For app store forms, the SDK collects the same data as the native SDKs, so the answers under Google Play data safety and App Privacy answers in App Store Connect apply.
Android
Add Lemu to an Android app in Kotlin or Java: events, purchases, known users, screens, installs, deep links and the Play install referrer
https://docs.lemuai.com/sdks/android
The Android SDK sends events, purchases, known users and screens from your app, and records installs, app opens and the links and Play Store campaigns that bring people in.
Kotlin, and works from Java. Android 5.0 (API 21) or later.
One small AndroidX dependency (androidx.lifecycle:lifecycle-process). No OkHttp, Retrofit or Gson, so nothing clashes with your app's versions.
Events are kept on disk, batched, and retried when the network is back.
No advertising id and no hardware ids.
You need the write key of an App source. See Get a write key.
The SDK is on Maven Central. In your app module's build.gradle.kts:
kotlin
dependencies { implementation("com.lemuai:analytics:1.0.0") // Optional: attribute installs to the Play Store campaign that brought the user. implementation("com.android.installreferrer:installreferrer:2.2")}
Make sure mavenCentral() is in your repositories. It is by default in new projects.
If your app runs code in more than one process, call setup in the main process only.
If the source lists Allowed apps, add your app's package name (its applicationId). Builds with an applicationIdSuffix, such as com.brand.app.debug, send that id, so add it too or use a separate source for testing.
Lemu.track(LemuEvent.ADD_TO_CART, mapOf( "value" to 999, "currency" to "INR", "content_ids" to listOf("SKU1"), "content_type" to "product",))Lemu.track("coupon_applied", mapOf("code" to "DIWALI10"))
Any event name works. For Meta's standard events, use the LemuEvent constants (VIEW_CONTENT, ADD_TO_CART, INITIATE_CHECKOUT, PURCHASE and the rest) so the names match exactly. See the event reference.
Keep contact details such as email, phone and address out of event properties. Lemu removes them. Send them with identify instead.
purchase sends a Purchase event straight away instead of waiting for the next batch. value, currency and orderId are what Lemu calculates journey and campaign revenue and ROI from.
Always pass orderId. The same order is often reported by the app, your website, Shopify or your server. Lemu counts one conversion per order id, so use the same id your backend and store use. Without it, every report counts as a separate sale. The app can be closed right after payment, so for the most reliable numbers send purchases from your server too. With the same order id, both count once.
With debug on, track("Purchase", ...) without value, currency or order_id logs a warning. The event is still sent.
Screens are stored as screen_viewed and aren't tracked automatically. To send one each time an activity starts, set trackActivityScreens = true, or register the tracker yourself to choose the names:
Links that start an activity (ACTION_VIEW with a URL) are recorded as deep_link_opened with the url and referrer. UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) and gclid / fbclid in the link become the campaign for this and later events in the session, so a purchase made after tapping a campaign link is credited to that campaign.
Links delivered to an activity that is already running arrive in onNewIntent, which the SDK can't see. Record those yourself:
kotlin
override fun onNewIntent(intent: Intent) { super.onNewIntent(intent) setIntent(intent) Lemu.trackDeepLink(intent)}
With com.android.installreferrer:installreferrer in your app (see Install), the SDK reads the Play install referrer on the first launch. The campaign the user arrived with, for example from a Google Ads or Meta app campaign link to the Play Store, is added to app_installed and the rest of that first session. app_installed waits up to 10 seconds for the referrer. Without the library this is skipped. Set collectInstallReferrer = false to turn it off.
If you need consent before tracking, for example under GDPR or the DPDP Act:
kotlin
Lemu.setup(this, "lpk_...", LemuOptions(requireConsent = true))// later, from your consent screenLemu.setConsent(true) // sends what was held and starts trackingLemu.setConsent(false) // discards held and queued events
Until consent, nothing is sent and nothing is written to the device, not even the anonymous id. Up to 50 events wait in memory and are sent once consent is given. A granted consent is remembered across launches; call setConsent(false) if the user withdraws it.
To let users switch tracking off entirely:
kotlin
Lemu.optOut() // stops everything, clears queued events, remembered across launchesLemu.optIn() // turns it back on
Every call, request body and server response is logged to Logcat with the tag Lemu. Use it during development only, because event properties and traits appear in the log. A refused request (an unknown write key, or an app that isn't in Allowed apps) is logged too.
Events are sent in batches of up to 50: every 30 seconds, when 20 are queued, when the app goes to the background, and right after a purchase. Lemu.flush() sends now.
Events are stored in the app's no-backup files directory, so they survive restarts and aren't copied to other devices by Auto Backup. At most 1,000 are kept; when full, the oldest are dropped first, purchases last. Events older than 7 days are dropped.
Failed requests are retried with increasing waits, up to 5 minutes apart, for up to 20 hours. Refused batches are dropped and logged in debug mode.
The SDK never throws into your app. A bad argument is logged in debug mode and ignored.
The SDK ships its own ProGuard and R8 rules, so you don't need to add any.
Your answers depend on how you use the SDK. With the SDK alone, this is what it collects and sends to Lemu:
Play data type
Collected
When
Purpose
Device or other IDs
Yes
Always: a random anonymous id created by the SDK for this install (not an advertising id or a hardware id)
Analytics
App activity: App interactions
Yes
Always: lifecycle events, screens and the events you track
Analytics
App activity: Other actions
If you track them
Searches, sign-ups and other custom events
Analytics
Financial info: Purchase history
If you send purchases
Order value, currency, order id, items
Analytics
Personal info: User IDs
If you call identify with a user id
Your own user id
Analytics, App functionality
Personal info: Name, Email address, Phone number
If you pass them to identify
The traits you send
Analytics, and Advertising or marketing if you message users from Lemu
Also sent with every event, and not a Play data type: app name, version, build and package name; device manufacturer, model and type; Android version; screen size and density; locale and time zone; the link that opened the app and its campaign parameters.
Not collected: advertising id (GAID), Android ID, IMEI, serial number, MAC address, location, contacts, photos, files and crash logs.
Is data encrypted in transit? Yes, it is sent over HTTPS.
Is data shared? Lemu processes it as your service provider. Under Play's definitions, that isn't sharing. If you forward conversions to an ad platform, that is.
Is collection optional? Yes, if you use requireConsent or offer optOut().
Add Lemu to an iOS or tvOS app in Swift or Objective-C: events, purchases, known users, screens, app opens, deep links and App Store privacy answers
https://docs.lemuai.com/sdks/ios
The iOS SDK (LemuAnalytics) sends events, purchases, known users and screens from your iOS or tvOS app, and records app opens and the deep links that bring people in.
iOS 13 or later, tvOS 13 or later. Swift and Objective-C.
No third-party dependencies.
No advertising identifier (IDFA), no IDFV, and no AdSupport or App Tracking Transparency.
Events are kept on disk and sent in batches, so nothing is lost offline.
You need the write key of an App source. See Get a write key.
Every Lemu method can be called from any thread, and none of them throws. A bad argument, such as an empty event name or a value JSON can't hold, is skipped and logged when debug is on.
If the source lists Allowed apps, add your app's bundle identifier, for example com.brand.app. Events from any other bundle id are refused.
Any event name works. For Meta's standard events, use the LemuEvent constants (viewContent, addToCart, initiateCheckout, purchase and the rest) so the names match exactly. If you already send these events to Meta, the same properties work here. See the event reference.
Keep contact details out of event properties. Lemu removes keys such as email, phone, address and password; send contact details with identify instead.
purchase sends a Purchase event straight away instead of waiting for the next batch. content_ids and num_items are filled in from contents when you don't pass them.
Always pass orderId. Lemu counts one conversion per order. The same order is often reported more than once: by the app, your website, a Shopify webhook, or the app again after a retry. With the order id these count as one order, so journey and campaign revenue isn't counted twice. value and currency are needed to show revenue at all. See Conversion events.
userId is your own id for the customer. It's stored and sent with every later event until reset(). Send phone numbers in international format. On logout:
swift
Lemu.reset() // new anonymous id, user id cleared
Lemu.anonymousId returns the id Lemu uses for this install, for example to pass to your backend so server-side events join up with the app's.
Turn on automatic screen tracking (it's off by default):
swift
Lemu.enableAutomaticScreenTracking()
Each of your view controllers sends a screen when it appears, named after its class without the ViewController suffix (CheckoutViewController becomes Checkout). Navigation, tab bar, split and page controllers, Apple's own controllers, SwiftUI hosting controllers and child controllers embedded in your own are skipped. To rename a screen, or skip one:
swift
extension CheckoutViewController: LemuScreenNameProviding { var lemuScreenName: String? { "Checkout" } // return nil to send nothing}
Pass every URL that opens the app to trackDeepLink. It sends deep_link_opened with the url, and keeps utm_source, utm_medium, utm_campaign, utm_term, utm_content, gclid and fbclid with this and every later event in the session, so a purchase made after tapping a campaign link is credited to that campaign.
For a cold launch from a link with scenes, also pass the URLs in scene(_:willConnectTo:options:) (connectionOptions.urlContexts and connectionOptions.userActivities). The next app_opened carries the link as url.
Sent for you unless you set trackLifecycle: false:
Event
When
Properties
app_installed
First launch with the SDK
version, build
app_updated
First launch after the version or build changed
version, build, previous_version, previous_build
app_opened
Every time the app comes to the foreground
from_background, and url when a link opened the app
app_backgrounded
The app goes to the background
If your app had users before you added the SDK, each of them sends app_installed once after updating, because the SDK has no record of an earlier version.
If you must ask before collecting data, start with requireConsent:
swift
Lemu.setup(writeKey: "lpk_...", options: LemuOptions(requireConsent: true))// later, from your consent promptLemu.setConsent(true) // sends events held since launch, and remembers the answerLemu.setConsent(false) // discards held and queued events
Until consent, nothing is sent and nothing is written to the device, not even the anonymous id. Up to 50 events are held in memory and sent if consent is given. A granted consent is remembered across launches; call setConsent(false) to withdraw it.
To let people turn tracking off in your settings screen:
swift
Lemu.optOut() // stops everything, clears the queue, remembered across launchesLemu.optIn() // turns it back onLemu.isOptedOut
Every call, request body and response is logged with os_log under the subsystem com.lemuai.analytics. Watch it in the Xcode console, or in Console.app filtered by that subsystem. Turn debug off in release builds.
Events are kept in Application Support/Lemu, excluded from iCloud and device backups, and survive restarts.
They are sent every 30 seconds, when 20 are queued, when the app goes to the background, and right after a purchase. Lemu.flush() sends now.
Each request carries up to 50 events. Failed requests are retried with increasing waits, up to 5 minutes apart, for up to 20 hours. Events older than 7 days are dropped.
The queue holds at most 1,000 events. When it's full, the oldest event that isn't a purchase is dropped first.
The SDK ships its own privacy manifest (PrivacyInfo.xcprivacy, in the package and in the CocoaPods resource bundle LemuAnalyticsPrivacy). Xcode adds it to your app's privacy report. It declares:
NSPrivacyTracking: false, with no tracking domains.
Required reason API: UserDefaults, reason CA92.1. The SDK keeps its anonymous id, user id, opt-out, consent and the last app version in its own UserDefaults suite.
Collected data, all linked to the user and none used for tracking:
Data type
Why it's collected
Purposes
User ID
The anonymous install id, and your userId from identify
Your app's privacy label covers all the data your app collects, including through Lemu. For the data that goes to Lemu:
Data used to track you: No. Lemu doesn't use advertising identifiers, doesn't share data with data brokers, and doesn't link your app's data with other companies' data for advertising. See the note below if you forward data to ad networks.
Data linked to you, for each type you actually send:
Contact Info > Email Address, Phone Number, Name: if you call identify with them.
Identifiers > User ID: yes. The SDK always sends an anonymous id, plus your own user id.
Purchases > Purchase History: if you call purchase() or send commerce events.
Usage Data > Product Interaction: yes (app opens, screens, events).
Usage Data > Other Usage Data: if you send custom events.
Purposes:Analytics, plus Developer's Advertising or Marketing if you message these customers through Lemu journeys or campaigns. Add App Functionality if your app relies on Lemu data to work.
Not collected by the SDK: location, device ids (IDFA or IDFV), diagnostics, contacts, health, financial info, browsing history, and search history unless you send search terms as events (then also declare Search History).
Forwarding to ad networks. If you send Lemu events to an advertising platform, for example through a Meta Conversions API connection, Apple counts that as tracking. Then answer "Data used to track you: Yes" for the shared types, ask permission with App Tracking Transparency first, and only call identify with an email or phone after the user allows it.
Android and iOS need no extra setup. On macOS, apps are sandboxed and need permission to make network requests. Add this to macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements:
The write key is public, so it's safe to ship in the app. Calls made before setup are ignored. No method ever throws: a bad argument is ignored and, with debug: true, logged.
If the source lists Allowed apps, Lemu refuses events from any other app id. On Android the id is your applicationId, and on iOS and macOS your bundle identifier. Web and desktop builds send a different id: if you ship them, turn on debug mode, find namespace under app in a logged request, and add it to the list too.
await Lemu.instance.setup( 'lpk_...', options: const LemuOptions( debug: false, // log every call, request and response requireConsent: false, // see "Consent and opt-out" flushAt: 20, // send once this many events are queued (web: 10) flushInterval: Duration(seconds: 30), // and at least this often (web: 1 second) maxQueueSize: 1000, // events kept on the device while offline (at most 1,000) trackLifecycle: true, // app_installed, app_updated, app_opened, app_backgrounded trackDeepLinks: true, // deep_link_opened from trackDeepLink() ),);
LemuOptions also takes apiHost. Change it only if your source's setup steps show another host.
Any event name works. For Meta's standard events, use the LemuEvent constants (viewContent, addToCart, initiateCheckout, purchase and the rest), spelled exactly as Meta expects. See the event reference.
Don't put email addresses, phone numbers or other contact details in event properties. Lemu removes them; they belong in identify().
purchase() sends a Purchase event right away instead of waiting for the next batch. content_ids and num_items are filled in from contents when you don't pass them.
Always pass the order id from your backend. The same order is often reported by more than one source: the app, your website, your server, Shopify. Lemu counts one conversion per order id, so revenue isn't counted twice and journeys don't fire twice. Without it, every report counts. See Conversion events.
Lemu.instance.identify( userId: 'cust_8812', // your own id for this user traits: { 'email': 'asha@example.com', 'phone': '+919812345678', // international format 'first_name': 'Asha', 'last_name': 'Rao', },);
The userId is kept and sent with every later event, also after the app restarts. On logout:
dart
Lemu.instance.reset(); // new anonymous id, no user id
Lemu.instance.anonymousId is the id Lemu uses for this install before the user is known.
go_router names each page after the GoRoutename, or its path pattern (/product/:id) when it has none. Routes inside a ShellRoute need the observer on that ShellRoute too.
Dialogs, bottom sheets and unnamed routes are skipped. To choose names yourself:
Pass each link that opens the app to trackDeepLink. It sends deep_link_opened and keeps the link's utm_source, utm_medium, utm_campaign, utm_term, utm_content, gclid and fbclid with every later event in the session, so later events, including the purchase, are credited to the campaign.
app_links
The app_links stream also delivers the link that launched the app:
dart
final appLinks = AppLinks();appLinks.uriLinkStream.listen((uri) => Lemu.instance.trackDeepLink(uri));
go_router
Track links in the top-level redirect. It also runs for in-app navigation, so only track URLs that carry campaign parameters, once each:
dart
Uri? lastTrackedLink;final router = GoRouter( redirect: (context, state) { final uri = state.uri; final hasCampaign = uri.queryParameters.keys .any((k) => k.startsWith('utm_') || k == 'gclid' || k == 'fbclid'); if (hasCampaign && uri != lastTrackedLink) { lastTrackedLink = uri; Lemu.instance.trackDeepLink(uri); } return null; }, routes: [...],);
trackDeepLink(uri, referrer: 'com.instagram.android') records where the link came from, when you know it.
Unless you set trackLifecycle: false, the SDK sends:
Event
When
Properties
app_installed
First launch
version, build
app_updated
First launch after the version or build changed
version, build, previous_version, previous_build
app_opened
Launch and every return to the foreground
from_background
app_backgrounded
The app goes to the background
Queued events are sent when the app goes to the background, with or without lifecycle events. If you add the SDK to an app people already have, each of them sends app_installed once, on their first launch with the SDK.
If you must ask before tracking, for example under GDPR or the DPDP Act, set requireConsent: true. Nothing is sent and nothing is written to the device, not even the anonymous id, until the user agrees. Up to 50 events are held in memory meanwhile.
dart
await Lemu.instance.setup('lpk_...', options: const LemuOptions(requireConsent: true));// later, from your consent screenLemu.instance.setConsent(true); // sends the held events; remembered across launchesLemu.instance.setConsent(false); // discards held and queued events
To stop all tracking for a user who opts out in your settings screen:
dart
Lemu.instance.optOut(); // clears the queue, remembered across launchesLemu.instance.optIn(); // resumes
On the web, the SDK reuses the visitor id of the Lemu website snippet (the _lemu_aid cookie and local storage key) when the Flutter app runs on the same site. A visitor who browses your website and then your Flutter web app is one visitor, and a visitor who opted out on the website stays opted out. Events are sent every second or every 10 events.
Every call, request body and response status is printed with a [Lemu] prefix through debugPrint. Lemu.instance.flush() sends the queue immediately, which helps while testing. To see what Lemu stored, open the source in Settings → Tracking Sources and use Recent events.
Events are kept on the device (in shared_preferences) and survive restarts. At most 1,000 are kept; when full, the oldest event that isn't a Purchase is dropped. Events older than 7 days are dropped before sending.
Each request carries up to 50 events. Apps send every 30 seconds or 20 events, when going to the background, and right after a purchase. The web sends every second or 10 events.
Network errors, timeouts and server errors are retried with increasing waits, up to 5 minutes apart. A batch that keeps failing is dropped 20 hours after it was queued. Refused batches are dropped and the reason is logged in debug mode.
Every request has the User-Agent lemu-flutter/<version> (<os> <os version>; <model>), except on the web, where the browser sets its own.
A random anonymous id created on first launch and stored in the app's preferences. It isn't derived from the device and is replaced on reset() or reinstall.
The events and properties your code sends, plus the userId and traits you pass to identify().
App name, version, build and package name; device manufacturer, model and type; OS name and version; screen size and pixel density; locale; time zone; campaign parameters from deep links.
It doesn't collect advertising ids (IDFA, GAID), hardware or vendor ids (Android ID, identifierForVendor), location, contacts, or anything else you don't send.
Your store answers depend on what your app sends and how your Lemu workspace uses it. The Flutter SDK collects the same data as the native SDKs, so the answers under Google Play data safety and App Privacy answers in App Store Connect apply. The Flutter SDK reads no advertising identifier and doesn't need the App Tracking Transparency prompt to work. If your workspace forwards conversions to ad platforms, for example through the Meta Conversions API, both stores count that as tracking or sharing: declare it, and follow Apple's App Tracking Transparency rules for it.
Event reference
Every event name the Lemu SDKs send, its constant on each platform, the standard parameters, and how Lemu stores events, properties and context
https://docs.lemuai.com/sdks/events
This page lists the event names every Lemu SDK knows, the constant for each one on each platform, and what Lemu keeps from each event. For the fields an order needs and how revenue and ROI are calculated, see Standard and conversion events.
These are Meta's standard events, with Meta's names and parameters. Every SDK has a constant for each one.
Event
JavaScript, React, React Native
Android
iOS, Flutter
Parameters
PageView
LemuEvent.PageView
LemuEvent.PAGE_VIEW
LemuEvent.pageView
none. On websites, page() sends it
ViewContent
LemuEvent.ViewContent
LemuEvent.VIEW_CONTENT
LemuEvent.viewContent
content_ids, content_category, content_name, content_type, contents, currency, value
Search
LemuEvent.Search
LemuEvent.SEARCH
LemuEvent.search
search_string, content_category, content_ids, contents, currency, value
AddToCart
LemuEvent.AddToCart
LemuEvent.ADD_TO_CART
LemuEvent.addToCart
content_ids, content_name, content_type, contents, currency, value
AddToWishlist
LemuEvent.AddToWishlist
LemuEvent.ADD_TO_WISHLIST
LemuEvent.addToWishlist
content_ids, content_name, content_category, contents, currency, value
InitiateCheckout
LemuEvent.InitiateCheckout
LemuEvent.INITIATE_CHECKOUT
LemuEvent.initiateCheckout
content_ids, content_category, contents, currency, num_items, value
AddPaymentInfo
LemuEvent.AddPaymentInfo
LemuEvent.ADD_PAYMENT_INFO
LemuEvent.addPaymentInfo
content_ids, content_category, contents, currency, value
Purchase
LemuEvent.Purchase
LemuEvent.PURCHASE
LemuEvent.purchase
value, currency and order_id (required), content_ids, content_name, content_type, contents, num_items. Use purchase()
Lead
LemuEvent.Lead
LemuEvent.LEAD
LemuEvent.lead
content_category, content_name, currency, value
CompleteRegistration
LemuEvent.CompleteRegistration
LemuEvent.COMPLETE_REGISTRATION
LemuEvent.completeRegistration
content_name, currency, status, value
Subscribe
LemuEvent.Subscribe
LemuEvent.SUBSCRIBE
LemuEvent.subscribe
currency, predicted_ltv, value
StartTrial
LemuEvent.StartTrial
LemuEvent.START_TRIAL
LemuEvent.startTrial
currency, predicted_ltv, value
Schedule
LemuEvent.Schedule
LemuEvent.SCHEDULE
LemuEvent.schedule
SubmitApplication
LemuEvent.SubmitApplication
LemuEvent.SUBMIT_APPLICATION
LemuEvent.submitApplication
Contact
LemuEvent.Contact
LemuEvent.CONTACT
LemuEvent.contact
CustomizeProduct
LemuEvent.CustomizeProduct
LemuEvent.CUSTOMIZE_PRODUCT
LemuEvent.customizeProduct
Donate
LemuEvent.Donate
LemuEvent.DONATE
LemuEvent.donate
FindLocation
LemuEvent.FindLocation
LemuEvent.FIND_LOCATION
LemuEvent.findLocation
With the website snippet, use the event name itself, for example lemu("track", "AddToCart", { ... }). Lemu matches a standard name whatever its case or separators, so add_to_cart is stored as AddToCart. See Matching names.
An amount in major units: 1499.5 is ₹1,499.50. On AddToCart, the value of what was added. On InitiateCheckout, the checkout total. On Purchase, the order total
currency
string
An ISO 4217 code such as INR
order_id
string
Your id for the order. Lemu counts one conversion per order id, however many sources report it. Meta's Conversions API has the same field
content_ids
list of strings
Product ids or SKUs
contents
list of objects
Items, each with id and quantity, and optionally item_price, title, brand and category
content_type
string
product or product_group
content_name
string
A name
content_category
string
A category
num_items
integer
The number of items
search_string
string
What was searched for
predicted_ltv
number
The expected lifetime value of a subscriber
status
string
The status of a registration
You can add your own properties next to these, for example payment_method or coupon.
The app SDKs take the order id and items as typed arguments to purchase: orderId and LemuContent(id, quantity, itemPrice, title) on Android, iOS and Flutter. They are sent as order_id and contents with item_price.
A conversion event counts as an order for revenue and ROI. By default that's Purchase; you can add others under Settings → Sending Limits → Conversion events. Every conversion event needs value, currency and order_id.
Lemu never rejects a conversion event for a missing field. It fixes what it can, counts the rest, and shows the problem on the event in Recent events. See When a field is missing.
The app SDKs (Android, iOS, Flutter and React Native) send these for you. They have no Meta equivalent and are never conversions.
Event
JavaScript (React Native)
Android
iOS, Flutter
When
Properties
app_installed
LemuEvent.AppInstalled
LemuEvent.APP_INSTALLED
LemuEvent.appInstalled
The first launch with the SDK
version, build
app_updated
LemuEvent.AppUpdated
LemuEvent.APP_UPDATED
LemuEvent.appUpdated
The first launch after the version or build changed
version, build, previous_version, previous_build
app_opened
LemuEvent.AppOpened
LemuEvent.APP_OPENED
LemuEvent.appOpened
Every launch and every return to the foreground
from_background, and url when a link opened the app (not on Flutter)
app_backgrounded
LemuEvent.AppBackgrounded
LemuEvent.APP_BACKGROUNDED
LemuEvent.appBackgrounded
The app goes to the background
deep_link_opened
LemuEvent.DeepLinkOpened
LemuEvent.DEEP_LINK_OPENED
LemuEvent.deepLinkOpened
A link opens the app
url, referrer
screen_viewed
LemuEvent.ScreenViewed
LemuEvent.SCREEN_VIEWED
LemuEvent.screenViewed
A screen is shown, when you track screens
name, plus your properties
screen_viewed is never sent automatically. Call screen(name), or turn on your platform's screen tracking.
Turn the first four off with trackLifecycleEvents = false on Android, or trackLifecycle: false on iOS, Flutter and React Native. Turn deep links off with trackDeepLinks.
If you add the SDK to an app people already have, each of them sends app_installed once, on their first launch with the SDK.
On Android, the install referrer's campaign is added to app_installed. See Install referrer.
Any name that isn't a standard event is a custom event, for example coupon_applied or wishlist_shared. Custom events are never rejected, and they work in journeys, segments and the Event Log like any other event.
Lemu stores a custom name from an SDK in lowercase with underscores, so "Coupon Applied" is stored as coupon_applied. Use that spelling in journeys and segments, or send it that way to begin with.
Contact details belong in identify traits only. Lemu removes these keys from event, page and screen properties, at any depth, whatever their case: email, e_mail, phone, phone_number, mobile, mobile_number, whatsapp, password, otp, card, card_number, cvv, pan, aadhaar and address. The same keys are removed from the query string of page URLs and referrers.
The SDKs add context to every event. Your code never sets it. Lemu keeps:
Context
What it holds
platform
web, ios, android, flutter or react_native
library
The SDK's name and version
app
The app's name, version, build and namespace (bundle id or package name)
device
manufacturer, model, and type (phone, tablet, desktop, tv or other)
os
The OS name and version
screen
Width, height and pixel density
locale, timezone
For example en-IN and Asia/Kolkata
campaign
source, medium, campaign, term and content from UTM parameters, plus gclid and fbclid, from the landing page, the deep link that opened the app, or the Android install referrer
user_agent
The browser's user agent, or the SDK's, such as lemu-android/1.0.0 (Android 14; Pixel 8)
referrer
The page's referrer, on websites
You can see an event's context in Recent events. No advertising ids and no hardware ids are sent or kept.
Sending Limits
Cap how often one contact hears from your journeys and campaigns on each channel, and choose how orders are credited to them
https://docs.lemuai.com/settings/sending-limits
Sending Limits (Settings → Sending Limits) holds two organization-wide settings:
Frequency caps: the most journey and campaign sends one contact gets on each channel in a set time.
Revenue attribution: which events count as orders (conversion events), and how long after a send an order is still credited to it.
Only members who can manage settings (owners and admins) can see and change this page.
Frequency caps stop a contact from being flooded when several journeys and campaigns all reach them at once. Each channel has its own cap, and each can be on or off:
Channel
Suggested cap when you turn it on
WhatsApp
1 message per contact in 24 hours
SMS
1 message per contact in 24 hours
Email
2 emails per contact in 24 hours
Calls
1 call per contact in 168 hours (one week)
For each channel you turn on, set At most (1 to 50) and the period in hours (up to 720, which is 30 days). A channel that is off shows No cap.
Some messages should never be held back, such as order updates, delivery alerts or one-time passwords. For those:
In a journey, open Settings and turn off Respect frequency caps.
In an email campaign, turn on Ignore frequency caps.
These sends always go out, whatever the contact's cap.
Only turn caps off for messages the contact expects and needs. Marketing sent past the cap is the quickest way to get unsubscribes and spam complaints.
When a contact places an order, Lemu credits it to the last journey or campaign send they got, on any channel, if that send came within the channel's attribution window. The credited orders and revenue show up in each journey's report.
Conversion events lists the events that count as orders for revenue and ROI, separated by commas. The default is Purchase, which is what the website snippet, the app SDKs and a connected Shopify store send. Older names such as order_placed still match it. You can add others, such as Lead or one of your own custom events. You need at least one.
Each conversion event needs a value, a currency and an order_id:
value and currency are the order's revenue. An order without a value still counts as an order, but adds no revenue.
order_id lets Lemu count an order once, however many times it is reported. An order reported twice with the same order_id counts once.
If you send your own orders through the events API, use Purchase (or add your event type here) and include these fields. Events are never rejected for a missing field. See Standard and conversion events for what Lemu does when one is missing.
Once conversion events arrive, a summary below the field shows how many arrived in the last 30 days and how many were missing a value, a currency or an order id, or had one fixed. If all were complete, it says so.
If your workspace has custom records, Record types that hold orders lets you count new records of a type as orders too, with the record's key as the order id and its total as the value.
Connect a sending domain, add senders, set your postal address and brand kit, and manage the suppression list
https://docs.lemuai.com/email/setup
Setup required: sending email in production needs LemuAI's email service turned on for your account. Contact hello@lemuai.com to enable it. You also need at least one verified sending domain of your own (see below).
Email Setup (Settings → Email Setup in the sidebar) is where you get your account ready to send email. Do this once before you build templates, send campaigns or add an Email step to a journey.
The page has six sections:
Section
What it is for
Sending domains
Prove you own the domain your email comes from
Senders
The From name, From address and Reply-to your emails show
Compliance
Your postal address and how contacts with no recorded consent are treated
Dedicated IPs
Optional: your own sending IPs instead of shared ones
Brand kit
Logo, colors, font and button style for new templates
Email is always sent from your own domain, so inboxes can check it really comes from you. We recommend a subdomain such as mail.yourbrand.com, so marketing mail never affects your team's everyday inbox.
Add the domain
Type the domain (for example mail.yourbrand.com) and click Add domain. Lemu creates the DNS records the domain needs.
Add the records at your DNS provider
Open DNS records on the domain card. Click any name or value to copy it, then add each record at your DNS provider (GoDaddy, Cloudflare, Route 53 and so on).
Wait for the check
Lemu checks every 10 minutes, and you can click Check now at any time. DNS changes can take a few hours to show up. Each record shows a tick when it is found, a cross when a required record is missing, and a warning sign for a recommended record that is missing.
The required records are in place. You can send from this domain
Ready
Verified, and the recommended records (DMARC and the link domain) are also in place
Records missing
A record that was found before has gone missing. Sending from this domain stops until it is fixed
The card also shows the status of your link domain: Not set up, Waiting for the certificate record, Waiting for the link domain record, Active, or Certificate failed; remove and add the domain again.
You can send as soon as a domain is Verified. Aim for Ready: Gmail and Yahoo expect a DMARC record for bulk mail, and branded links look more trustworthy than a shared tracking domain.
A sender is the From name, From address and optional Reply-to that your emails show. The From address must be on one of your domains, so add a domain first.
Click Add sender to save one.
One sender is the Default. Templates, campaigns and journey Email steps use it unless you pick another one. Click Make default to change it.
You can choose a different sender on any campaign or journey Email step.
Every marketing email shows your postal address and an unsubscribe link. This is required by law, and by Gmail and Yahoo.
Postal address: enter your business address and click Save address. Marketing email can't be sent until it is set.
Email contacts with no recorded consent: off by default, so marketing email only goes to contacts who have said yes to email. Turn it on only if you collected consent somewhere else (for example at checkout on your store). Contacts who unsubscribed are never emailed either way.
If a marketing email template is missing a footer, Lemu adds one with your address and an unsubscribe link when it sends. See Deliverability for how unsubscribes work.
By default you send from Amazon SES's shared, well-warmed IPs. Dedicated IPs give you your own sending reputation; they are warmed up and scaled automatically.
Click Request dedicated IPs to ask for them. The status changes to Requested and our team gets in touch to confirm pricing and turn them on, after which it shows Active. You can cancel a request, or go back to shared IPs later.
Below about 50,000 emails a month, shared IPs usually deliver better than dedicated ones.
The brand kit is applied to new templates and new blocks: your Logo (upload or paste a URL), colors for the page background, email body, buttons and links, a Font, and Button corners in pixels. Click Save brand kit. Templates you already built do not change.
Addresses on the suppression list never get email, from campaigns, journeys or transactional sends. Addresses are added automatically when they hard bounce, soft bounce too often, or mark an email as spam, and you can add one by hand.
Type an address to check it. Lemu tells you if it is suppressed.
Click Suppress to block an address by hand, or Remove to take a bounce or manual entry off the list.
If your bounce or spam complaint rate gets too high, Lemu pauses marketing email for your account. A red banner at the top of Email Setup and Deliverability shows the reason. Fix the cause, then click Resume sending. See Deliverability.
Troubleshooting
Find what an error message means and how to fix it: every message is quoted exactly as LemuAI shows it.
https://docs.lemuai.com/troubleshooting/overview
Every message on these pages is written exactly as LemuAI shows it. Search this site (press ⌘K or Ctrl K) for a few words of the message you see, or paste the message into an AI assistant together with these pages (see Use these docs with AI).
Parts of a message that change, such as a number or a name, are written in braces. For example Journey {id} not found matches "Journey 42 not found".
Where you see it: the page or action where the message appears.
Why: what caused it.
Fix: what to do, with the exact menu path.
Who can fix it: the role that can make the change. Roles are Owner, Admin, Member, Editor, Viewer and Finance (see Team). "LemuAI support" means email hello@lemuai.com.
Some messages only say an action failed, for example "Couldn't save", "Failed to save", "Failed to load …" or "Something went wrong. Please try again."
Why: the request didn't reach LemuAI or LemuAI couldn't finish it. Usually a dropped connection or a short outage.
Fix:
Check your internet connection and reload the page.
Try the action again.
If it keeps failing, email hello@lemuai.com with the page, what you clicked and the time it happened.
Who can fix it: you; LemuAI support if it keeps happening.
Where you see it: Team, Telephony, Integrations, API Keys and other setup pages.
Why: your role doesn't include setup or member management. Members, Editors, Viewers and Finance can't change setup.
Fix: ask an Owner or Admin of the workspace to make the change, or to change your role under Settings → Team.
Who can fix it: an Owner or Admin.
Calls and telephony
What call errors mean and how to fix them: telephony setup, Plivo lines and balance, caller IDs, call minutes, transfers and calls that didn't connect.
https://docs.lemuai.com/troubleshooting/calls
Messages are quoted exactly as LemuAI shows them. Parts that change are in braces, like {provider}. Telephony is set up under Voice Agents → Telephony.
"Telephony provider not configured for this organization"#
Also shown as telephony_not_configured, call: telephony provider not configured for this organization, You must configure telephony first by going to APP_URL/configure-telephony, or Telephony not configured: {details}.
Where you see it: when you start a test call, a campaign, an API call trigger, or a journey Call step.
Why: the workspace has no phone provider connected, so LemuAI can't place calls.
Fix: open Voice Agents → Telephony, pick your provider (for example Plivo or Exotel), enter its details and at least one caller ID, and save. See Telephony.
Also: "Add another caller ID first. Calls need at least one." and "Caller ID is required".
Where you see it:Voice Agents → Telephony, when you save or remove a caller ID.
Why: outbound calls need a number to call from. The last caller ID can't be removed.
Fix: add the number your provider gave you, with country code, for example +918045671234. To replace a number, add the new one first, then remove the old one.
Who can fix it: an Owner or Admin.
"Phone numbers must be in E.164 format (e.g. +14155551234)"#
Where you see it:Voice Agents → Telephony, in the caller ID field.
Why: the number is missing the + and country code, or has spaces or dashes.
Fix: type the number as + country code and number with nothing else, for example +919876543210.
Who can fix it: an Owner or Admin.
"Vonage numbers must omit the + prefix (e.g. 14155551234)"#
Where you see it:Voice Agents → Telephony with Vonage selected.
Why: Vonage expects numbers without the +.
Fix: remove the +, keep the country code: 919876543210.
Who can fix it: an Owner or Admin.
"Enter the Plivo Auth ID and Auth Token again, then save"#
Also: "Enter the Plivo Auth Token", "Enter the Auth ID and Auth Token again to fetch the numbers", "Enter the Auth Token for this Auth ID to fetch its numbers".
Where you see it:Voice Agents → Telephony with Plivo selected, when you save or press Fetch from Plivo.
Why: LemuAI shows saved credentials hidden (**** and the last 4 characters). When you change the Auth ID, the saved Auth Token no longer matches it, so both are needed again.
Fix: copy the Auth ID and Auth Token from the Plivo console (overview page) and paste both, then save.
Plivo hang-up code 5030, or the error "Concurrency Limit Breached".
Where you see it: on a failed call's run, during busy campaigns or journeys.
Why: your Plivo account allows a fixed number of calls at the same time (Plivo India accounts start at 50 lines, and the lines are shared by everything on that account). LemuAI tried to start more calls than the account allows.
Fix: on Voice Agents → Telephony, set Lines on your Plivo account to the number your Plivo account allows. LemuAI then never starts more calls than that and queues the rest. To get more lines, ask Plivo.
Who can fix it: an Owner or Admin. More lines: your Plivo account manager.
Where you see it: on failed calls' runs; calls stop going out.
Why: your Plivo account has no money left. This is the provider's balance, not your LemuAI minutes.
Fix: add balance in the Plivo console. The Plivo balance card on Voice Agents → Telephony shows the current balance; turn on Email me when the balance is low and set Alert below to get a warning next time.
Plivo code 3030, or HTTP 400 when starting the call.
Where you see it: on failed calls' runs, often for every call from one number.
Why: a caller ID saved in LemuAI isn't a number on your Plivo account (it was released, or typed wrong).
Fix: on Voice Agents → Telephony, press Fetch from Plivo. Numbers that aren't on the account are marked; remove them. Keep at least one number that is.
Busy, no answer, rejected, switched off, wrong number, out of service, barred, ring timeout, or answering machine detected (Plivo codes such as 3000, 3010, 3020, 2000, 2010, 3050, 6010, 9100).
Why: the person's phone, not your setup. Providers often report these as "failed", but nothing is wrong with your account.
Fix: nothing to fix. In a journey, use the Call step's not-picked branch to try again later or send a WhatsApp message instead.
Who can fix it: no one needs to.
"You're out of calling minutes. Add a talktime pack from Usage & Billing to resume calls."#
Also: "Unable to verify your calling-minute balance."
Where you see it: when you start a call, a test call, or a campaign. The API answers with status 402.
Why: your LemuAI Voice minutes balance is at its floor.
Fix: open Usage & Plan → Usage & balances, press Add balance and add minutes. Calls continue once the balance is above the floor. If you see "Unable to verify…", try again in a minute; LemuAI couldn't read the balance.
Who can fix it: an Owner, Admin or Finance member.
Shown on a journey run as stuck_run_timeout: no free line within {minutes} min.
Where you see it:Insights → Runs → Journey Runs, on a run that stopped at a Call step.
Why: the call waited for a free line (see "Every line on the provider account was in use") for longer than the step allows, so the run stopped.
Fix: check Lines on your Plivo account on the Telephony page matches what Plivo allows, and spread large sends over more time (allowed hours, smaller batches). Runs that hit this don't restart on their own: start them again if needed.
Who can fix it: an Owner or Admin for the line setting; anyone who can edit the journey for the timing.
Also: "No API key configured for '{provider}'. Ask your administrator to add it in Provider Management."
Where you see it: when a call or voice preview starts.
Why: the speech, voice or AI model the agent uses isn't available to your workspace.
Fix: open the agent, go to its model settings and pick another voice or model from the list (see Model Configurations). If you need that provider, email LemuAI support.
Who can fix it: anyone who can edit the agent; LemuAI support for providers.
"{Provider} authentication failed. Check your {Provider} API key."#
For example "ElevenLabs authentication failed. Check your ElevenLabs API key." Also "Voice provider returned an error ({status}). Check the API key in Provider Management."
Where you see it:Voice Agents → Voice Library, when you preview a voice.
Why: the voice provider refused the key LemuAI used.
Fix: try another voice; email LemuAI support with the provider name.
"Provider '{provider}' does not support call transfers"#
Also: "Telephony provider '{provider}' is not properly configured for transfers", "Transfer call failed: {details}", "Call transfer not supported: {details}".
Where you see it: when an agent's Call Transfer tool runs.
Why: your phone provider can't move a live call to another number, or the transfer number was refused.
Fix: check the transfer number in the tool has a country code, like +919876543210. If your provider doesn't support transfers, have the agent give the number to call instead, or connect a provider that supports transfers.
Who can fix it: anyone who can edit the agent; an Owner or Admin for the provider.
"No active call found for this run yet (it may not have connected)."#
Also: "This run isn't a telephony call, so there's nothing to drop here." and "The telephony provider could not confirm the call was dropped."
Where you see it: when you press drop (hang up) on a live call.
Why: the call hasn't connected yet, already ended, was a web call, or the provider didn't confirm.
Fix: wait a few seconds and try again, or check the run: if it shows ended, nothing more is needed.
Also: "That code has expired. Ask for a new one." and "Too many wrong tries. Ask for a new code."
Where you see it: in Verify it's you to raise a request, after a visitor types the WhatsApp code.
Why: the 6 digits don't match the last code sent, the code is older than 10 minutes, or there were 5 wrong tries.
Fix: the visitor checks the latest WhatsApp message, or presses Use another number and asks for a new code.
Who can fix it: the visitor.
"Please wait a few seconds before asking for another code."#
Also: "Too many codes for this conversation. Please sign in instead, or try later.", "Too many codes for this number. Please try again in an hour." and "Too many codes asked for. Please try again in an hour."
Where you see it: after Send code.
Why: each code is a paid WhatsApp message, so a conversation gets one every 30 seconds and 3 a day, a number 5 an hour, and one internet address 10 an hour.
Fix: wait, or sign in on your website if you set a Sign-in page link.
Who can fix it: the visitor.
"We can't send WhatsApp messages to this number."#
Also: "This doesn't look like a WhatsApp number." and "We couldn't send a code to this number."
Where you see it: after Send code.
Why: the number opted out of your WhatsApp messages, isn't on WhatsApp, or WhatsApp refused the message.
Fix: the visitor uses another number or signs in. If every send fails, check the template chosen in Products & tickets is an approved Authentication template.
Who can fix it: the visitor; anyone who can edit the agent for the template.
"Codes can't be sent right now. Please sign in instead."#
Where you see it: after Send code.
Why: WhatsApp isn't ready to send for your workspace, or the WhatsApp balance is empty.
Fix: add WhatsApp balance in Usage & Plan → Usage & balances → Add balance, and check WhatsApp is connected.
Where you see it: after pressing a product card button set to Run a function on your website.
Why: your site hasn't added the function the button names.
Fix: add it with LemuWidget.registerAction("addToCart", ...) on every page the widget shows, with the same name as in Products & tickets. See Product buttons from your own code.
Why: the signature in LemuWidgetConfig.user doesn't match. A wrong or missing signature counts as not verified.
Fix: sign the customer's email in lower case (or the phone with + and the country code when there's no email) with HMAC-SHA256 and the secret from Products & tickets, as lower-case hex, on your server. See Customers signed in on your website.
See Inbound Calling for how to point a number at an agent, and the checks to run when calls ring but no agent answers.
WhatsApp and Inbox
What WhatsApp send errors, Meta error codes and Inbox messages mean, and how to fix them.
https://docs.lemuai.com/troubleshooting/whatsapp
Messages are quoted exactly as LemuAI shows them. Parts that change are in braces. A message that failed shows its reason on the message in the Inbox, in the report of a WhatsApp campaign (Engage → Campaigns → WhatsApp), and on the journey run (Insights → Runs → Journey Runs). Meta's error code is shown next to it when there is one.
Also: "Couldn't finish connecting to Meta: {details}. Start again."
Where you see it: at the end of connecting with Meta.
Why: in Meta's window, no WhatsApp Business account was ticked, or the window was closed before it finished.
Fix: start again from Engage → WhatsApp → Setup and, in Meta's window, select the business, the WhatsApp Business account and the phone number, then finish all steps.
Who can fix it: an Owner or Admin who is also an admin of the Meta business.
"Lemu's access to this WhatsApp account expired or was removed; reconnect"#
Meta codes 190, 200 or 10. Also "Lemu no longer has permission on this WhatsApp account; reconnect".
Why: someone removed LemuAI's access in Meta Business settings, or the access expired.
Fix: reconnect from Engage → WhatsApp → Setup. Templates and history stay.
"More than 24 hours since the customer last wrote; send a template instead"#
Meta code 131047. In the Inbox: "The 24-hour reply window is closed. Send a template instead." (or "…Send a catalog template instead.").
Why: WhatsApp only allows free-form messages within 24 hours of the customer's last message. After that, only approved templates.
Fix: send an approved template. In the Inbox, use the template button in the composer. In a journey, pick a template in the WhatsApp step. When the customer replies, the window opens for 24 hours again.
Who can fix it: anyone who sends messages.
"This contact stopped marketing messages on WhatsApp"#
Also "This contact has opted out of all messages", and on campaign reports: "opted out" and "no WhatsApp consent (marketing)". Meta code 131050: "The customer stopped marketing messages from this business".
Why: the contact stopped your WhatsApp marketing (replied STOP, tapped Stop promotions or chose Stop marketing in WhatsApp itself) and this is a broadcast or a marketing template, or they opted out of everything, or have no recorded yes for marketing messages. Replies, order updates and codes still reach someone who only stopped marketing. When Meta refuses a message with 131050, Lemu records the opt-out so it doesn't try again.
Fix: nothing to fix for that contact: respect the choice. To check what a contact agreed to, use Contact Consent or open the contact under Audience → Contacts.
Who can fix it: no one should override it.
"Meta held back this marketing message to keep engagement healthy"#
Meta code 131049.
Why: Meta limits how many marketing messages one person gets from all businesses. It isn't a problem with your account.
Fix: don't resend at once. Try another day, or reach the person on another channel.
Who can fix it: no one needs to.
"The number can't receive this message (not on WhatsApp, or an old app)"#
Meta code 131026. Also on campaign reports: "no usable phone number".
Why: the number isn't on WhatsApp, the app is very old, or the number is wrong.
Fix: check the contact's phone has the right country code. Reach them by call, SMS or email instead.
Who can fix it: anyone who edits contacts.
"Invalid phone number '{phone}'. Use E.164 format (e.g. +919876543210)."#
Also: "This contact has no phone number" and "Enter the phone number with its country code, like +919876543210".
Why: the number has no country code or has letters, or the contact has no phone at all.
Fix: edit the contact and enter the number as +91 and 10 digits. When importing, put the full number in the phone column.
Who can fix it: anyone who edits contacts.
"The number of values doesn't match the template's variables"#
Meta code 132000. Also: "A value has the wrong format for the template's variable" (132012), and on campaign reports "a template variable had no value".
Why: a template variable like {{1}} got no value (the contact field was empty) or the wrong kind of value.
Fix: in the campaign or WhatsApp step, check each variable is mapped to a field, and give it a fallback for contacts with that field empty. See Template Variables for the fallback filter.
Who can fix it: anyone who edits the campaign or journey.
Fix: assign the conversation to someone in the workspace. Invite them first under Settings → Team.
Email
Why an email wasn't sent, what sending-domain checks mean, and how to fix paused sending, missing credits and template errors.
https://docs.lemuai.com/troubleshooting/email
Messages are quoted exactly as LemuAI shows them. Parts that change are in braces. Email is set up under Engage → Email → Setup; campaign results are under Engage → Campaigns → Email.
Why: by default, LemuAI only sends marketing email to contacts with a recorded yes for email. Transactional email (order updates, receipts) doesn't need it.
Fix: record consent on the contact (Audience → Contacts, open the contact) or for a whole list (a list's ⋯ menu → Email consent). If your business already has permission for everyone, an Owner or Admin can turn on Email contacts with no recorded consent under Engage → Email → Setup → Compliance. Contacts who opted out are never emailed.
Who can fix it: anyone who edits contacts; an Owner or Admin for the Compliance setting.
The reason below it reads Bounce rate {rate} over the last 7 days (limit 5%) or Spam complaint rate {rate} over the last 7 days (limit 0.2%).
Where you see it:Engage → Email → Setup, and "Sending paused" on campaign reports.
Why: too many emails bounced or were marked as spam in the last 7 days. LemuAI pauses marketing email to protect your domain's reputation (and the email service's).
Fix:
Find the cause: an old or bought list, a list imported with typos, or mail people didn't expect. Engage → Email → Deliverability shows bounces and complaints.
Remove the bad addresses or segment, and only send to people who engaged recently.
Add the domain and finish its checks before adding a sender on it
Who can fix it: whoever manages your domain's DNS, with an Owner or Admin in LemuAI.
Journeys
Why a journey run is waiting, skipped a step or failed, and what each journey error message means.
https://docs.lemuai.com/troubleshooting/journeys
Messages are quoted exactly as LemuAI shows them. Parts that change are in braces. To see what happened to one person, open Insights → Runs → Journey Runs, find the run, and open it: each step shows when it ran and, if it waited, skipped or failed, the reason below.
Why: each channel (calls, WhatsApp, email) has allowed hours in the journey, and it's outside them now. Journeys with Respect frequency caps turned off (order updates, OTPs) send WhatsApp and email at any hour; their calls still keep the window.
Fix: nothing, it sends when the window opens. To change the hours, open the journey, then its settings (Workflow Settings) → Allowed hours and Timezone.
Why: the Email credits balance (for Email steps), the SMS credits balance (for SMS steps) or the WhatsApp balance (numbers bought through LemuAI) is empty.
Fix:Usage & Plan → Usage & balances → Add balance. The step continues on its own.
Who can fix it: an Owner, Admin or Finance member.
Why: all lines on your phone provider account are busy, so the call is queued. See "Every line on the provider account was in use" in Calls and telephony.
A skipped step doesn't send, and the run carries on to the next step.
"Frequency cap: {count} {channel} send(s) in the last {hours} hours"#
For example Frequency cap: 3 whatsapp send(s) in the last 24 hours.
Why: the contact already got the most marketing messages allowed on that channel in the period. Caps protect customers from too many messages.
Fix: nothing, or change the caps under Settings → Sending Limits. For order and account updates, turn off Respect frequency caps in the journey's Workflow Settings.
Who can fix it: an Owner or Admin for Sending Limits; anyone who edits the journey for its settings.
"Contact limit reached: the contact was added after the plan's limit; upgrade or add a contact pack to reach them"#
Why: your plan allows a set number of contacts. Contacts added after you passed it are held back from marketing once the grace period ends. Journeys that ignore frequency caps (order updates, OTPs) still send to them.
Fix: upgrade the plan or add a contact pack under Usage & Plan, or delete contacts you no longer need.
Who can fix it: an Owner, Admin or Finance member.
Why: the contact met the journey's exit rule or reached its goal (for example, they ordered), so the journey stopped for them. This is often what you want.
Fix: nothing, unless the exit rule is wrong: check the journey's goal and exit settings. See Journey goals.
"The journey came back to this step after it had finished for this contact. Connect only the send steps back to it."#
Where you see it: a Choose channel, time and offer step.
Why: an arrow loops back into this step from after it, so it would run twice for the same person.
Fix: in the journey editor, connect only the send steps (WhatsApp, Email, Call) back to it, not later steps.
"Wait for reply needs a contact (the journey has no phone number or contact)"#
Also: "Agent conversation needs a contact", "Assign to team needs a contact".
Why: the run isn't tied to a contact: the trigger didn't carry a phone number or contact.
Fix: make sure the trigger gives a contact (an event with the person's phone, a segment, a list), or that the earlier steps set one.
"The AI balance is used up. Add money to the AI wallet."#
Also: "The AI step didn't return the fields", "The AI step wrote nothing", "The AI step failed: {error}".
Why: the AI balance is empty, or the AI step gave no usable answer.
Fix: add AI balance under Usage & Plan → Usage & balances. For empty answers, make the AI step's instructions clearer and name the fields it must fill.
Also: "CSV file must have a header row and at least one data row", "None of those contacts exist", "This list has no contacts to call", "No records match (or every owner is opted out)".
Why: the audience you chose has nobody the journey can reach.
Fix: for a file, the first row must be column names and the phone column must have numbers with country code (+919876543210). For a list, segment or records, check it has people and that they haven't opted out.
Also: "No rows had a phone number or external_id to import contacts by".
Why: LemuAI finds each contact by phone, email or external ID (your own customer ID). No column is mapped to any of them, or those columns are empty.
Fix: on the mapping step, set the phone column to Phone (or email to Email, or your ID column to External ID). Phone numbers work best with country code: +919876543210.
Also: "Unknown contact field “{field}” for “{column}”".
Why: a column is set to become a custom field but has no name, or it's mapped to a field that doesn't exist.
Fix: give the custom field a name (lowercase letters, numbers and underscores, like loyalty_tier), or map the column to an existing field, or skip it.
"Google Sheet must have a header row and at least one data row"#
Also: "Invalid Google Sheets URL: {url}", "Connect a Google Sheet first before adding another."
Fix: the first row must hold column names, with data from the second row. Paste the sheet's full address (https://docs.google.com/spreadsheets/d/…). See Google Sheets.
Each record needs its key (for example order_id). Map that column
"{key} (the record key) is required", "The record key is empty"
Fill in the key on every row
"The record key is longer than 255 characters"
Shorten the key
"The record is larger than 16 KB"
Remove long text or split the record
"At most 1000 records at once"
Send records in batches of 1,000 or fewer
"At most 150 fields"
Remove fields you don't use
"isn't a number", "isn't a date (YYYY-MM-DD or DD/MM/YYYY)", "isn't a date and time (ISO 8601)", "must be true or false", "must be an http(s) link", "must be text"
A value doesn't match the field's type. Fix the value, or change the field's type on the Fields tab
"must be one of: {options}"
A choice field got a value that isn't one of its options. Use an option, or add it on the Fields tab
"is longer than 2000 characters"
Shorten the text
"Two columns map to {field}"
Map each field from one column only
"The file has no column '{column}'"
The column name changed. Pick the column again
"The file has no rows"
Add data below the header row
"Your role can't add fields. Leave those columns out."
Skip new columns, or ask an Owner or Admin to add the fields
"No contact {who} in this organization"
The record's owner (phone, email or ID) isn't a contact. Add the contact first, or fix the value
"{type} is synced automatically; change it at the source"
This type comes from an integration (for example Shopify). Change the data there
Messages are quoted exactly as LemuAI shows them. Parts that change are in braces. Integrations are connected under Settings → Integrations; connecting and disconnecting needs an Owner or Admin.
Also for Jira and Google Calendar. And: "Slack: {error}", "Jira: {error}", "Google Calendar: {error}".
Where you see it: on a journey run, at a Slack, Jira or Google Calendar step.
Fix: connect the service under Settings → Integrations. If it's connected, the text after the name is the service's own reason, for example a Slack channel the app hasn't been added to.
"Connect a Google Sheet first before adding another."
Connect the first sheet, then add more
"Google Sheet must have a header row and at least one data row"
Put column names in row 1 and data from row 2
"Invalid Google Sheets URL: {url}"
Paste the full address of the sheet
"This endpoint only supports Google Sheets integrations" (or Zoho Books)
The action was used on the wrong integration. Reload the page and try from the right card
A Google Sheet step in a journey writes into a sheet. If it fails, check the sheet is still shared with the Google account you connected and the columns it writes to still exist.
Tracking sources are under Settings → Tracking Sources. These errors come back to the website or app that sends events; open your browser's developer tools (Network tab) to see them.
Message
What to do
"Unknown or disabled write key"
The key in your snippet or SDK is wrong, or the source was turned off. Copy the key again from the source
"Origin not allowed for this key"
Add your site's address under the source's Allowed sites
"App not allowed for this key"
Add your app's ID under the source's Allowed apps
"Too many requests"
The site or app sent too many events in a minute. Send events for real actions only, not on every scroll or timer
"Payload too large"
An event's properties are too big. Send IDs and key values, not whole pages or files