Skip to main content

Hello Trailblazers    This is the scenario    When a customer initiates a messaging session, they first fill out the pre-chat data. The Omni flow then searches for an associated contact that matches the email field value and routes the session to the appropriate agent. However, if the agent’s internet is disconnected or if the agent goes offline during the conversation, the session moves into a waiting status, and the flow is triggered again.   https://help.salesforce.com/s/articleView?id=service.messaging_life_cycle.htm&type=5    When the customer re-engages by sending a message after being inactive they are routed back to the agent but the messaging session now has the incorrect user details. The system is attempting to associate the session with a user whose email field value is null (so we always get the same Messaging User details when this scenario occurs)    I think I understand what is happening but I don't know how to fix the issue    How do I get the user details that were originally input in the pre-chat form after the user has re-engaged? I want these details passed to the agent when the same customer resumes messaging after inactivity.    Any help much appreaciated    Thanks Trailblazers           @* Service Cloud * 

6 answers