Search.../

onConversationConversationsMerged( )

Developer Preview

Triggered when the conversation is merged, for example when contacts are merged or when a visitor becomes a contact.

Description

If messages exist in both conversations when they merge, the messages are preserved in chronological order.

Syntax

function wixCrmInbox_onConversationConversationsMerged(event: ConversationConversationsMerged): void

onConversationConversationsMerged Parameters

NAME
TYPE
DESCRIPTION
event
Optional
ConversationConversationsMerged

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onConversationConversationsMerged example

Copy Code
1
2 export function wixCrmInbox_onConversationConversationsMerged(event) {
3 const eventId = event.metadata.id
4 const entityId = event.data.conversation._id;
5 }
6
7