Path of a message
1
Customer Sends A Message
The customer messages your WhatsApp business number. Text, images, video, documents, voice notes, location pins, and shared contact cards are all supported.
2
Message Delivered To OpenCX
The message arrives via webhook and is validated.
3
Match Number To Org
OpenCX matches the receiving business number to your org.
4
Find Or Create Session
The sender’s phone number is matched against existing contacts. If a contact has an open WhatsApp session on this business number, the message continues it. Otherwise a new session is created. If no contact record exists, a new contact is created automatically.
5
AI Generates Reply
If is enabled and the per-number AI toggle is on, the AI generates a reply after a . When Autopilot is off or the session is handed off, human agents reply from the inbox instead.
The thread in your OpenCX dashboard is the authoritative record. Session continuity is by customer phone number and business number.On a number connected directly to OpenCX, a customer has at most one open session per business number. While one is open, an older closed session can’t be reopened by a reply, a template, or a status change from OpenCX: the inbox points you to the open session, and the customer’s replies go there. A reopen that comes from a connected ticketing system still goes through.
Outbound format
The AI chooses the best format for each reply:Quick reply suggestions in workflows
In Workflows, add a Reply to ticket step and set Quick Reply Suggestions. Enter the session number, message, and optional button labels, such as Track transfer, Cancel transfer, and Speak to someone. You can also reference values from earlier steps. Save and activate the workflow when it is ready. Selecting a suggestion sends its label as a normal customer reply in the session. The usual AI, human assignment, and workflow rules process that reply. The sending step does not wait for a selection or automatically branch to another step. Customers can still type their own response. The three-button and 20-character label limits apply to workflow suggestions on every supported channel, keeping the same workflow compatible with WhatsApp. Invalid values, including values supplied by earlier steps, fail the step instead of being truncated. Labels are sent as configured: supply them in the customer’s language. If automatic message translation expands the WhatsApp body beyond 1,024 characters, the message is delivered as plain text without suggestions. Suggestions also work in the OpenCX web widget, Messenger, and Instagram. Custom API clients can read message options but must render and submit selections themselves. WhatsApp, Messenger, and Instagram must be connected directly to OpenCX. Other channels and sessions whose replies are delivered through an external integration do not support workflow suggestions; the step fails before saving a reply. Leave suggestions empty to keep existing text-only behavior. Users need permission to edit workflows. See Workflows for creating and validating workflows through the API.Lists from AI-triggered workflows
An AI Trigger workflow that runs synchronously can show its own list under the AI reply that follows it, such as a customer’s saved recipients or orders. In the workflow’s Aggregate Workflow Results step, set WhatsApp list (whatsappList), usually from a Run code step that maps your data to rows:
"rows": [...] instead of "sections". Each row needs an id and a title; description is optional. Without a button, the label is Select an option.
The AI writes the message above the list. It is told a list is shown, not its rows, so it doesn’t repeat them. The rows go out exactly as your workflow gives them. A list from the workflow replaces the link button and AI-suggested options for that reply; links stay readable in the message text. If two workflows set a list in the same turn, the last one is shown.
When the customer taps a row, its title is sent as their reply, and the session saves the choice as waListReplyId (the row’s id) and waListReplyTitle, with waListReplyAt recording when the tap was sent. The next workflow reads them from the session’s custom data. Each tap replaces the previous choice and fires Session Updated when the choice changes. A tap sent earlier than the saved one, such as a delayed delivery, never replaces it. With PII redaction on, waListReplyTitle is saved redacted, the same as the message. Redacting all or part of the tap message, or the whole session, also removes the saved choice. The choice stays in OpenCX: it is not copied to Intercom or HubSpot.
The list is only shown in WhatsApp conversations that reach one of your numbers connected to OpenCX and whose replies OpenCX sends, with the v2 agent. WhatsApp delivered through Intercom, HubSpot, Genesys or another messaging integration is sent as text only, and so is a reply requested through the public API’s send-message endpoint, which returns the reply instead of sending it, so the field is ignored there, as it is on other channels, with the older agent, and in Assist Mode drafts: the AI is not told about a list and replies as usual. Only taps on lists sent this way save a choice; options the AI suggests on its own never do.
Good To Know
Cross-Session Memory
Cross-Session Memory
WhatsApp is the only channel where the AI pulls context from for the same customer and business number (for Genesys, the last 48 hours of the customer’s WhatsApp sessions). This means the AI can reference earlier conversations without the customer repeating themselves.
Media Handling
Media Handling
Voice notes are transcribed so the AI can read them. Images, video, and documents are attached to the conversation. Location pins become map links. Shared contact cards become a text message with the contact’s name, phone numbers, emails and company. Stickers and system messages are not processed.
Replies To A Specific Message
Replies To A Specific Message
When a customer swipes to reply to one of the chat’s messages, the inbox shows that message above their reply. Click it to jump to the message, or to open the earlier session it belongs to. The AI reads the quoted text (up to 300 characters) with the reply, so an answer like “this one” keeps its meaning. A message that isn’t in OpenCX, such as one sent before the number was connected, isn’t shown, and the reply appears on its own.
Click-To-WhatsApp Ads
Click-To-WhatsApp Ads
When a customer starts the chat from a Facebook or Instagram ad (or a post) that opens WhatsApp, the ad’s headline, text, and link are added to the session just before their first message. The AI reads it as campaign context, so it knows which ad the customer is answering, and agents see it in the inbox.The ad details are also saved on the session as custom data, so workflows can use them (for example, to write the lead source to your CRM):
waReferralSourceType (ad or post), waReferralSourceId, waReferralSourceUrl, waReferralHeadline, and waReferralCtwaClid. If the customer taps another ad while the session is open, the newest ad replaces these values. Ads that open WhatsApp from other platforms, or a website button, carry no ad details.Outbound Attachments
Outbound Attachments
Attachments are sent as separate messages (one per file) followed by the text reply. There is a short pause between each.JPEG and PNG images up to 5 MB arrive as pictures, and MP4 and 3GPP videos up to 16 MB as videos. Other images and videos (GIFs included), and larger ones up to 100 MB, arrive as files.
Session Auto-Resolution
Session Auto-Resolution
WhatsApp sessions auto-resolve after approximately 12 hours of inactivity by default — longer than web chat (3 hours). Contact support to adjust your org’s threshold.
Related Documentation
Troubleshooting
Missing replies, delivery failures, and error logs.
Messaging Rules
24-hour reply window, templates, and CSAT.
AI Actions
Run tools and workflows from WhatsApp conversations.
Autopilot And Topics
Channel-level Autopilot and topic rules.