After a live chat, five key details belong in the CRM: the correct contact, the inquiry category, a brief summary, the outcome including the next step, and the origin of the conversation. The full conversation history remains in the chat system, subject to its specific retention period. For this to work smoothly, the integration must operate bidirectionally: during the conversation, the live chat retrieves data from the CRM; afterwards, it writes data back. This guide outlines which fields are best suited, what should be kept out, and how to prevent duplicate records.
Why field mapping comes before technical setup
Setting up a CRM integration is technically straightforward. Whether it adds value, however, depends entirely on field mapping. If the live chat logs every conversation as a long block of text into the customer profile, nobody will read it later. If it merely logs that a chat took place, sales lacks the necessary context ahead of the next meeting. The sweet spot lies in a small set of fields that can be filtered, evaluated, and read within a minute.
Five details for every conversation
Detail | Example | Provided by |
|---|---|---|
Contact | Existing contact matched via email or customer number, otherwise a new lead | Chatbot prior to handoff, agent verifies/corrects |
Inquiry | Category from a defined list, e.g., quotation, complaint, technical support | Chatbot based on detected intent |
Summary | Two to three sentences summarizing the conversation | 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 captured by the chatbot handling the conversation prior to the live chat; it identifies the intent and collects the necessary information. Two are provided by the human agent closing the conversation, and the origin is tracked automatically by the system.

What does not belong in the customer profile
The complete transcript as plain text. It clutters the profile and duplicates data already stored in the chat system. Anyone requiring the full transcript can access it there.
Information that was only needed temporarily. Bank details for refund verification, health data, or a password inadvertently shared by a customer. The GDPR mandates data minimization, and CRM systems often retain records long term.
Subjective evaluations of individuals. Subjective notes like “difficult customer” have no place in a profile. Customers have a right of access under data privacy laws and can view the data stored about them.
Contacts generated without a valid business reason. Not every anonymous visitor asking about opening hours requires a CRM record. A new contact should only be created when there is a concrete next step.
Matching contacts without creating duplicates
Duplicates arise during contact assignment. Three rules help keep your CRM organized and clean.
Logged-in users first. Users authenticated in a customer portal are already identified. The live chat inherits this identity from the active session, eliminating the need for a search.
Unique identifiers over names. The chatbot prompts for an email address or customer number prior to handoff. Matches based on unique identifiers are reliable; names rarely are, as they are not unique.
Flag as new when in doubt. If no definitive match is found, the integration creates a lead and flags it. The team can then merge records manually before the CRM ends up with duplicate profiles for the same individual.
Read during the conversation, write afterwards
A high-performing integration operates bidirectionally. During the chat, the agent can see everything the CRM knows about the contact: open tickets, the designated account owner, contract details. This enables them to address the issue directly without asking for details already on file.
Writing data occurs primarily at the conclusion, once the summary and outcome are finalized. Exceptions include actions triggered explicitly during the conversation—such as an address update or a callback request. These should be logged to the system immediately. For details on how these integrations are architected, refer to our guide on CRM and ERP integration.
How Mercury.ai connects live chat and CRM
In the Agent Desk, teams take 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. The chatbot itself reads and writes data dynamically within CRM systems such as Salesforce, HubSpot, or Pipedrive during live dialogues—for instance, to create a ticket or query a status. It routes 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. Organizations already using live chat tools like Zendesk or Userlike can hand off conversations seamlessly with full context. Following the live chat, the interaction can return to a designated flow within the chatbot. Discover more on our pages about the Agent Desk and our Integrations. To learn when an automated handoff makes sense, read our article on handling complex customer inquiries. In joint projects with Mercury.ai, system integrator Frank Reply oversees integration across your CRM and IT landscape.
The field mapping plan at a glance
Before implementing the integration, it is best practice to define a simple three-column table: CRM field, conversation source, and who provides the data. Add a row at the bottom explicitly listing what should be omitted. This single page aligns service, sales, and data privacy teams before the first chat is ever logged to a profile.
Looking to seamlessly connect your live chat and 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.





