Pre-requisites
- Widget installed and reachable — see Install Widget.
- Salesforce Live Messaging credentials saved — see Live Messaging setup.
How conversations land in Salesforce
Setting up
Confirm the widget is live
Open the page where you embedded the widget and send a test message. You should see the AI respond. If the widget doesn’t load, walk through Install Widget first.
Confirm Live Messaging is connected
In your OpenCX dashboard, open Salesforce → MIAW. All six fields should be filled and saved. If not, complete the Live Messaging setup.
Trigger a test handoff
Send a message like “I want to talk to a human” in the widget. The AI should hand off the conversation.
What the rep sees
- A messaging thread in the Salesforce console routed through Omni-Channel.
- The full AI-to-visitor transcript attached to the conversation.
- Routing attributes including
OpencxSessionId— the trace key back to the OpenCX session. - Replies typed in the Salesforce console land back in the visitor’s widget within a couple of seconds.
Channel-specific details
Authenticated visitors vs anonymous visitors
Authenticated visitors vs anonymous visitors
When the widget passes a verified email via widget authentication, OpenCX generates an authenticated identity token. Anonymous visitors get an unauthenticated token. Both flow through the same Embedded Service Deployment — your Omni-Channel flow can use the
Chat_Consumer_Type routing attribute to route differently.Files visitors upload
Files visitors upload
Files uploaded in the widget appear as attachments on the messaging thread in the Salesforce console. File-size limits follow your Salesforce org’s messaging configuration.
Widget custom components still render on the visitor side
Widget custom components still render on the visitor side
When an AI action returns data rendered by a custom component, the visitor sees the richer UI. Your rep sees the underlying text in the Salesforce console — pick copy that reads well in both surfaces.
CSAT after the chat ends
CSAT after the chat ends
If your workflow triggers , the rating and comment land on the OpenCX session (visible in the Inbox), not in Salesforce.
Related Documentation
AI Chat Widget
The channel itself — install, configure, authenticate.
Live Messaging setup
JWT credentials, routing attributes, and connection.
Salesforce overview
What Salesforce lights up across every channel.
Troubleshooting
Conversations not appearing, routing issues.