After a live chat, five key pieces of information belong in the CRM: the correct contact, the inquiry as a category, a brief summary, the outcome including the next step, and the origin of the conversation. The full chat history remains in the chat system, subject to its specific retention period. For this to work seamlessly, the integration must be bidirectional: during the conversation, the live chat reads from the CRM; afterward, it writes back to it. This guide shows which fields are best suited, what should be kept out, and how to prevent duplicate records.
Why the field mapping plan comes before the technology
From a technical standpoint, a CRM integration can be set up quickly. However, whether it actually delivers value depends on the field mapping plan. If the live chat writes every conversation into the profile as a long block of text, no one will read it later. If it only records that a chat took place, sales lacks the necessary context ahead of the next appointment. The sweet spot lies in a small selection of fields that can be filtered, analyzed, and read within a minute.
Five details for every conversation
Detail | Example | Source |
|---|---|---|
Contact | Existing contact via email or customer ID; otherwise, a new lead | Chatbot prior to handoff; agent corrects if needed |
Inquiry | Category from a predefined list, e.g., quote, complaint, technical support | Chatbot based on the recognized intent |
Summary | Two to three sentences outlining the conversation content | Agent at the end of the conversation |
Outcome and next step | Resolved, quote to follow, callback scheduled by Friday | Agent |
Origin | Channel, page, campaign | System |
Two details are provided by the chatbot that handled the conversation before the live chat. It recognized the intent and requested the necessary information. Two are provided by the human agent who concluded the conversation, and the origin is captured automatically by the system.

What does not belong in the customer profile
The complete chat history as plain text. It clutters the profile, making it unreadable, and duplicates data that is already stored in the chat system. Anyone who needs the full transcript can find it there.
Information that was only needed in the moment. Bank details for processing a refund, health data, or a password inadvertently shared by a customer. The GDPR mandates data minimization, and CRM systems often retain records for long periods.
Subjective evaluations of individuals. Free-text notes such as “difficult customer” have no place in a profile. Customers have the right of access under data protection regulations and can see what information is stored about them.
Contacts created without a purpose. Not every anonymous visitor asking about opening hours requires a new CRM record. A new contact should only be created when there is a clear next step.
Finding contacts without creating duplicates
Duplicates often occur during the matching process. Three rules will help keep your CRM organized and clean.
Logged-in users take priority. Users authenticated in the customer portal are already known. The live chat inherits their identity from the login session, eliminating the need for a search.
Unique identifiers before names. Before handing over the conversation, the chatbot prompts for an email address or customer ID. Matches based on these unique identifiers are reliable. Names are rarely suitable on their own, as duplicates are common.
When in doubt, flag as new. If there is no exact match, the integration creates a lead and flags it. The team can then merge records before the CRM ends up with two separate profiles for the same person.
Reading during the conversation, writing afterward
An effective integration works in both directions. During the chat, the agent can see what the CRM already knows about the contact: open tickets, the assigned account manager, and the contract details. This enables them to address the inquiry directly without asking for details that are already on file.
Writing to the CRM mostly takes place at the end of the chat, once the summary and outcome are confirmed. Exceptions include actions explicitly initiated by the customer during the session—such as an address change or a callback request. These should be logged immediately. How such integrations are structured technically is detailed in the guide on CRM and ERP integration.
How Mercury.ai connects live chat and CRM
In the Agent Desk, the team takes over conversations from the chatbot complete with the full chat history and pre-qualified data, intelligently routed by department, language, or agent capacity. The Agent Desk connects bidirectionally with Salesforce. During active conversations, the chatbot itself reads from and writes to CRM systems like Salesforce, HubSpot, or Pipedrive—for example, to log a case or retrieve an account status. It can also forward structured conversation data to other systems via workflows or webhooks.
The chatbot identifies logged-in users via synchronization with the customer portal and tracks origin through UTM parameters. Teams already using a live chat tool like Zendesk or Userlike can route chats to these platforms with complete conversational context intact. Once the live chat concludes, the conversation can return to a designated flow within the chatbot. Learn more on our pages about the Agent Desk and Integrations. For insights into when a chatbot should hand over in the first place, read our article on complex customer inquiries.
The field mapping plan on a single page
Before setting up the integration, it is well worth drafting a simple three-column table: CRM field, conversation source, and who populates it. Add a line beneath for data that is deliberately excluded. With this one-page plan, service, sales, and data privacy teams stay aligned before the first conversation is logged in a profile.
Looking to connect your live chat with your CRM? Get in touch with us.

About the Author
Dr. Hendrik ter Horst
Chief Product Officer @Mercury.ai
Dr. Hendrik ter Horst is Chief Product Officer at Mercury.ai. He holds a PhD in Computer Science from the CITEC Institute at Bielefeld University, with a focus on machine information extraction and data processing. For ten years, he has been working on dialogue-based AI systems, overseeing the conception, implementation, and validation of AI-powered applications from initial idea to production deployment.





