onConversationConversationsMerged( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

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

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

Method Declaration
Copy
function wixCrmInbox_onConversationConversationsMerged(
  event: ConversationConversationsMerged,
): void;
Method Parameters
eventConversationConversationsMerged
onConversationConversationsMerged example
JavaScript
export function wixCrmInbox_onConversationConversationsMerged(event) { const eventId = event.metadata.id; const entityId = event.data.conversation._id; }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?