Look up a customer's full chat history mid conversation

Your agent types an email and sees every past conversation, rating and tag next to the CRM record, then files notes without ever leaving the chat.

App
LiveChatHubSpotCustomer SupportSalesAI ReportsData Sync
PromptCreate

Build me an internal lookup app my support agents open in the middle of a live conversation, so nobody has to answer a returning customer with no idea what we told them last time. It is a read and prep surface rather than an automation: nothing gets filed anywhere unless the agent clicks.

The whole app hangs off one search box at the top. The agent types an email address or a name. Resolve the customer profile with LiveChat Get Customer, and find the matching CRM contact with HubSpot Search Contacts by email, falling back to a name search or List Contacts when the email does not match. If there is no HubSpot match at all, say so plainly and still show the chat history.

The main panel is the chat history. Use LiveChat List Archives filtered to that customer to pull every past conversation. This matters: List Archives pages through results with next_page_id, so the handler must follow that cursor until it is exhausted and return the complete history instead of only the first batch. A customer with a long history is exactly the one the agent needs the full picture on. Show one row per past chat, newest first, with the date, the agent who handled it, the rating the customer left, and the tags on the thread. Each row expands inline to the full transcript, loaded on demand with LiveChat Get Chat, using List Threads where a chat has more than one thread. Do not load every transcript up front.

A side panel shows the HubSpot record next to that history. Pull the contact detail with Get Contact, and use List Deals narrowed to the deals associated with that contact to show open deals and recently closed ones with stage, amount and close date. The point of the layout is that the agent reads the support history and the commercial context in one glance.

Three actions run from the same screen without leaving the app. A File this conversation form takes the agent's summary of the chat they are in right now and writes it onto the contact with HubSpot Create Note. A Raise a follow up form with subject, due date and owner creates a task against the contact with HubSpot Create Task. A tag control applies a label to the current live thread with LiveChat Tag Thread.

Add a Brief me on this customer button that kicks off a background agent. It reads every past transcript for that customer, using List Archives and Get Chat, alongside the HubSpot contact and their deals, then writes a short history brief back into the app covering three things: what they have contacted us about before, what is still unresolved, and what deal is open. Render the brief in the app with an Approve and file button, and only on approval file it onto the contact as a HubSpot note with Create Note. Never file it automatically. Show progress while the agent runs so the person knows it is working, since they have a customer waiting.

Show a clear banner across the top when the customer has three or more prior chats, or any previous chat with a bad rating, and state which of the two triggered it. Those are the conversations worth handling carefully and the agent should see that before they read anything else.

Keep the app fast and keyboard friendly, because it is used with a customer waiting on a reply. Make recent lookups easy to return to so an agent handling several chats at once can flip between people.

What does this prompt do?

  • Type a customer's email or name and get their whole live chat history in one list: every past conversation with its date, the agent who handled it, the rating it was given and the tags on it. Any transcript opens inline when you want to read it.
  • Right beside it sits their CRM record, with contact details plus open and recently closed deals, so you know whether you are talking to a prospect in the middle of a deal or a long standing customer.
  • File the conversation you are in right now as a note on their record, raise a follow up task, and tag the live thread, all from the same screen.
  • Hit Brief me on this customer and an assistant reads every past transcript alongside the CRM record, then writes a short history brief covering what they have raised before, what is still unresolved and what deal is open. Approve it and it files as a note. A banner warns you when someone has three or more past chats or left a bad rating before.

What do I need to use this?

  • A LiveChat account with access to your chat archives
  • A HubSpot login with permission to view contacts and deals and to add notes and tasks
  • Customer email addresses recorded in both tools, so the app can match a past chat to the right CRM record

How can I customize it?

  • Change the banner rule: raise or lower the number of prior chats that counts as a repeat customer, or only flag a bad rating from the last few months
  • Choose which contact fields and deal details appear on the record panel, and how far back recently closed deals go
  • Adjust what the brief covers and whether it always waits for approval before filing
  • Set the list of tags your team can apply to a live thread

FAQs

Does this change anything in LiveChat or HubSpot on its own?
No. It is a lookup screen, so nothing is written anywhere until someone clicks. Notes, tasks and tags are only created when your agent chooses to file them, and the customer brief waits for approval before it lands on the record.
What if the customer is not in our CRM yet?
The app tells you plainly that there is no matching record and still shows the full chat history on its own. You get the conversation background either way.
Will it show everything for someone who has chatted with us dozens of times?
Yes. The app works through your entire archive for that person rather than stopping at the first handful of conversations, so a long history comes back complete.
Can agents use this while a chat is still open?
That is exactly what it is built for. An agent opens it mid conversation, reads the background, and answers the customer without switching tools or losing the thread.
Will this work on a free HubSpot account?
The contacts, deals, notes and tasks this app relies on are part of HubSpot's core CRM, which free accounts include. Paid tiers simply give you more properties and reporting around them.

Related templates

Win back LiveChat visitors whose chats went unanswered

Every couple of hours we find the chats your team never answered, email those visitors a real reply, and hand the sensitive ones to a support lead.

LiveChat
Gmail
Slack
Agentic Task
Turn Mailjet email clicks into ranked HubSpot follow-ups

Twice a day we spot the people clicking your pricing and demo pages, create a follow-up task for their owner, and post a ranked recap to Slack.

Mailjet
HubSpot
Slack Bot
Agentic Task
iMessage campaign console with pre-flight checks and delivery board

Build every text campaign in one screen: check who is actually reachable, see a realistic send plan, then watch delivery land row by row.

LoopMessage
Google Sheets
HubSpot
App
Chat quality review board for LiveChat support leads

Score last week's finished live chats against one rubric, let an AI grader draft the notes with quotes, and send coaching straight to the agent.

LiveChat
Slack
General Input Database
App
LiveChat coverage board for planning next week's shifts

See the exact hours your chat queue backs up and customers give up waiting, then plan next week's shifts before it happens again.

LiveChat
Slack Bot
General Input Database
App
A searchable RFP answer library your bid team drafts from

Every proposal you have ever submitted in one searchable archive, with the closest past answers lined up against each question in a new RFP.

General Input Storage
General Input Database
Mistral AI
+2
App

Stop making returning customers explain themselves again.

Give your agents every past conversation and the CRM record on one screen, before they type a single reply.