Skip to main content

CustomerMergeResult

Summary of unifying several customer records into one. Leads that turn out to be the same person are folded onto a single customer so the agent sees their whole history.

survivor_customer_idSurvivor Customer Idrequired

ID of the customer the others were folded into.

merged_customer_idsinteger[]

IDs of the customers that were folded in. They are kept as empty records rather than deleted.

repointed object

How many records were moved onto the surviving customer.

identitiesIdentities

Identity keys (chat, CRM, and contact aliases) moved.

Default value: 0
leadsLeads

Leads moved.

Default value: 0
contactsContacts

Contacts moved.

Default value: 0
dialoguesDialogues

Dialogues moved. This is what gives the agent the combined conversation history.

Default value: 0
episode_summariesEpisode Summaries

Stored conversation summaries moved.

Default value: 0
CustomerMergeResult
{
"survivor_customer_id": 0,
"merged_customer_ids": [
0
],
"repointed": {
"identities": 0,
"leads": 0,
"contacts": 0,
"dialogues": 0,
"episode_summaries": 0
}
}