Emitted when the interaction's custom fields are updated - either by the local agent via Interaction.mergeCustomFields or by a server-side change (e.g. a CRM workflow injecting a case ID).
interaction.subscribe(InteractionEventType.INTERACTION_CUSTOM_FIELDS_UPDATED, (event) => { console.log("Custom fields:", event.payload.customFields);}); Copy
interaction.subscribe(InteractionEventType.INTERACTION_CUSTOM_FIELDS_UPDATED, (event) => { console.log("Custom fields:", event.payload.customFields);});
The event type identifier.
The payload containing the full merged custom fields snapshot.
The timestamp when the event occurred.
Emitted when the interaction's custom fields are updated - either by the local agent via Interaction.mergeCustomFields or by a server-side change (e.g. a CRM workflow injecting a case ID).
Example
See