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.
function wixCrmInbox_onConversationConversationsMerged(
event: ConversationConversationsMerged,
): void;
export function wixCrmInbox_onConversationConversationsMerged(event) {
const eventId = event.metadata.id;
const entityId = event.data.conversation._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.