JivoChat automation · runs weekly
Merge duplicate JivoChat clients
The same customer wrote from a phone on Monday and a laptop on Friday, and JivoChat has two cards with one email and two half-empty histories.
Cotlet does it in your own JivoChat account with list_clients, list_duplicate_clients, get_client and merge_clients, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Can JivoChat do this on its own?
JivoChat has no API call to list or merge clients (checked 20 Oct 2026). The CRM webhooks, such as crm_client, notify your server about a change but cannot make one. Zapier has no JivoChat actions. The merge is a button in the agent app.
How you do it in JivoChat today
- Open the client in the agent dashboard and look for the red icon next to the client data. It appears when another client shares the email or phone number.
- Click the icon to open the list of customers with the same data, pick the right one and press Merge.
- In the window that opens, choose which customer's value to keep for Name, Company, Responsible, Status, Category and Description.
- Check the combined result on the right side of the screen, then press Merge again. The app shows "The clients merge started".
- Repeat for every pair. Nothing lists all flagged clients at once, so the pairs are found one client at a time.
How to merge duplicate JivoChat clients
Find JivoChat clients that share an email with another client. For each pair, keep the older client, take the name and company from whichever side has them, and merge. - 01
Walk the client list
list_clients pages through CRM and the agent calls list_duplicate_clients for each client that has a conversation. Clients already seen as the duplicate of a client in the same run are not checked twice.
- 02
Compare before touching
get_client shows the company, status, category and description of both cards. A pair is merged only when the email or phone number is the same; two people who share a company mailbox by name are left for you.
- 03
Choose the side that wins
keep_from picks the client or the duplicate for all six fields at once. The agent keeps the card with an assigned agent and a status, and a name that is not an initial, and reports when both sides hold different values for Responsible.
- 04
Merge one pair at a time
merge_clients runs once per pair and asks for your OK by default, because the app cannot undo a merge. A channel other than Live Chat fails with a clear error and the pair goes on your list.
- 05
Report the finished merges
The merge takes from a few seconds to a few minutes on the JivoChat side, so the agent reports the pair as started and checks list_duplicate_clients again at the end of the run.
What you get back
Clients checked: 120
Duplicate pairs found: 3
Merge started 2:
- Dana Whitfield + D. Whitfield (same email), kept name and company of the first
- Priya Shah + P. Shah (same phone)
Left for you 1:
- Info Desk + Ben Ortiz share a company mailbox Other ways to ask
- List duplicate pairs from this month's new clients and show what each merge would keep, without merging.
- Merge only pairs where both cards have the same email and one of them has no assigned agent.
- After a CSV import, find imported clients that already exist and merge them into the existing card.
What JivoChat allows, and what to know first
- JivoChat flags a duplicate when a client with an email or phone number in CRM starts a new chat, for example from another device, and gives the same details. It does not matter whether the client or an agent typed them.
- A merge combines tags, tasks and deals automatically and asks you to choose only Name, Company, Responsible, Status, Category and Description.
- After a merge the chat histories become one common chat, and later agent replies go to every device the customer has used.
- JivoChat cannot reverse a merge, any agent can run it with or without admin rights, and it works only inside one channel, currently only in Live Chat channels.
merge_clients asks for your OK by default. To run it weekly without you, switch confirmation off for that tool in your dashboard.
Sources: JivoChat Help: How to merge duplicated customers · JivoChat Help: Importing clients to JivoChat · JivoChat Docs: Webhooks API
Call merge_clients from a script
curl -X POST https://cotlet.dev/api/v1/jivochat/duplicates/cl_7b20/clients/cl_3a91/merge \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keep_from":"client"}' {
"status": "merge_started",
"client_id": "cl_3a91",
"merged_client_id": "cl_7b20",
"message": "The clients merge started"
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is jivochat_write → merge_clients. Example data.
Schedule it in n8n, Make, Zapier or cronJivoChat tools this automation uses
| Tool | Parameters |
|---|---|
| list_clients | query, tag, cursor |
| list_duplicate_clients | client_id |
| get_client | client_id |
| merge_clients | client_id, duplicate_id, keep_from |
Frequently asked questions
Is it safe to connect JivoChat to Cotlet?
Yes. You sign in to JivoChat yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get JivoChat once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.
Give your agent access to JivoChat.
Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with JivoChat.