Guide Event Broadcasting
Event broadcasting lets web developers listen for events broadcasted from the Guide widget, such as a template being displayed or an entry point being clicked on. Developers can then pass the event data to third-party systems of record, such as an analytics reporting tool of their choice. Event broadcasting is intended for people responsible for integrating Guide with a website. Experience with front-end web technologies including HTML, CSS, and JavaScript is required.
Listening for Events
The following example demonstrates listening for the templateDisplayed event on the page:
window.addEventListener("templateDisplayed", function(e) {console.info("Event type: " + e.type + " || Detail: " + JSON.stringify(e.detail));});
Or, here is an example that includes loading Guide on a page and listening for the templateDisplayed event:
<script>
(function(n,u){
window.CXoneDfo=n,
window[n]=window[n]||function(){(window[n].q=window[n].q||[]).push(arguments)},window[n].u=u, e=document.createElement("script"),e.type="module",e.src=u+"?"+Math.round(Date.now()/1e3/3600), document.head.appendChild(e)
})('cxone','<LOADER-ID>');
cxone('init', '<TENANT-ID>');
cxone('guide', 'init');
const guideEvents = ['templateDisplayed'
];
function handleEvent(event) {
console.log('Entire event:', event);
console.log('Event Detail property:', event.detail);
}
guideEvents.forEach(eventType => {
window.addEventListener(eventType, handleEvent);
});
</script>
These are the Guide events:
Template events |
proactive offer events |
---|---|
templateDisplayed | proactiveOfferDisplayed |
menuOpened | proactiveOfferSuccessful |
menuClosed | proactiveOfferDeclined |
entrypointOpened | |
entrypointClosed | |
pcqDisplayed | |
pcqFieldPopulated | |
pcqSubmitted |
Guide Event Payload
The Guide events have the properties of a CustomEvent. The payload always includes:
-
type — The event type, for example, templateDisplayed or menuOpened.
-
detail — A structure with properties relevant to the event.
For example:
templateDisplayed
Use the templateDisplayed event to monitor for when a template appears on a page. The template can be a single channel template, multiple channel template, or a customer portal template.
The event returns the following:
-
type is set to templateDisplayed.
-
detail payload, which is specific to the type of template displayed.

Field | Value |
---|---|
template | |
template.id | Template ID. |
template.type |
singleButton |
template.name | Template name. |
template.buttons |
Definition of the button based on the type of channel. The definition varies based on button type. See Payloads for template.buttons for possible payloads based on type of channel. |
template.design | |
template.design.position | bottomLeft or bottomRight |
template.design.primaryFontColor | Hex color code |
template.design.primaryThemeColor | Hex color code |
type | template |

Field | Value |
---|---|
template | |
template.id | Template ID. |
template.type |
multipleButtons |
template.name | Template name. |
template.buttons | See Payloads for template.buttons for possible payloads based on type of channel. |
template.design | |
template.design.position | bottomLeft or bottomRight |
template.design.primaryThemeColor | Hex color code |
template.design.primaryFontColor | Hex color code |
template.design.direction | For example: vertical |
template.menuButtonId | Button ID. |
template.menuButton | |
template.menuButton.iconUrl | URL for icon. |
template.menuButton.backgroundColor | Hex color code. |
type | template |

Field | Value |
---|---|
template | |
template.id | Template ID. |
template.type |
customerPortal |
template.name | Template name. |
template.buttons | See Payloads for template.buttons for possible payloads based on type of channel. |
template.design | |
template.design.position | bottomLeft or bottomRight |
template.design.outline | channelsOriented or knowledgeBaseOriented |
template.content | |
template.content.heading | Heading text. |
template.content.subheading | Subheading text. |
template.content.mainIconUrl | URL for icon. |
template.menuButton.Id | Button ID. |
template.menuButton | |
template.menuButton.iconUrl | URL for icon. |
template.menuButton.backgroundColor | Hex color code. |
template.knowledgeBase | |
template.knowledgeBase.entrypoint | |
template.knowledgeBase.entrypoint.id | Entry point ID. |
template.knowledgeBase.entrypoint.name | Entry point name. |
template.knowledgeBase.entrypoint.type | knowledgeBase |
template.knowledgeBase.entrypoint.knowledgeBase | |
template.knowledgeBase.entrypoint.knowledgeBase.id | Knowledge base ID. |
template.knowledgeBase.entrypoint.knowledgeBase.type | cxone-expert |
template.knowledgeBase.entrypoint.defaultArticleIds | |
template.knowledgeBase.entrypoint.defaultArticleIds.0 | Article ID. |
template.knowledgeBase.entrypoint.defaultArticleIds.1 | Article ID. |
template.knowledgeBase.entrypoint.defaultArticleIds.2 | Article ID. |
template.knowledgeBase.entrypoint.defaultArticleIds.3 | Article ID. |
template.knowledgeBase.entrypoint.defaultButtonId | Default button ID. |
template.knowledgeBase.heading | Heading. |
template.knowledgeBase.popup | |
template.knowledgeBase.popup.title | Popup title. |
template.knowledgeBase.popup.labels | |
template.knowledgeBase.popup.labels.loadMoreArticles | Label for load more articles. |
template.knowledgeBase.popup.labels.noMoreArticles | Label for no more articles. |
template.knowledgeBase.popup.design | |
template.knowledgeBase.popup.design.header | |
template.knowledgeBase.popup.design.header.fontColor | Hex color code. |
template.knowledgeBase.popup.design.header.backgroundColor | Hex color code. |
type | template |
menuOpened
Use the menuOpened event to monitor for when the menu button is clicked or when a menu is displayed on page reload. This event pertains to multiple channel templates and customer portal templates.
The event returns the following:
-
type is set to menuOpened.
-
detail payload, which is specific to the type of menu opened. Options are:

Field | Value |
---|---|
template | |
template.id | Template ID. |
template.type |
multipleButtons |
template.name | Template name. |
template.buttons | See Payloads for template.buttons for possible payloads based on type of channel. |
template.design | |
template.design.position | bottomLeft or bottomRight |
template.design.primaryThemeColor | Hex color code. |
template.design.primaryFontColor | Hex color code. |
template.design.direction | For example: vertical |
template.menuButtonId | Button ID. |
template.menuButton | |
template.menuButton.iconUrl | URL for icon. |
template.menuButton.backgroundColor | Hex color code. |
type | template |

Field | Value |
---|---|
template | |
template.id | Template ID. |
template.type |
customerPortal |
template.name | Template name. |
template.buttons | See Payloads for template.buttons for possible payloads based on type of channel. |
template.design | |
template.design.position | bottomLeft or bottomRight |
template.design.outline | channelsOriented or knowledgeBaseOriented |
template.content | |
template.content.heading | Portal heading. |
template.content.subheading | Portal subheading. |
template.content.mainIconUrl | URL for icon. |
template.menuButton.Id | Button ID. |
template.menuButton | |
template.menuButton.iconUrl | URL for icon. |
template.menuButton.backgroundColor | Hex color code. |
template.knowledgeBase | |
template.knowledgeBase.entrypoint | |
template.knowledgeBase.entrypoint.id | Entry point ID. |
template.knowledgeBase.entrypoint.name | Entry point name. |
template.knowledgeBase.entrypoint.type | knowledgeBase |
template.knowledgeBase.entrypoint.knowledgeBase | |
template.knowledgeBase.entrypoint.knowledgeBase.id | Knowledge base ID. |
template.knowledgeBase.entrypoint.knowledgeBase.type | cxone-expert |
template.knowledgeBase.entrypoint.defaultArticleIds | |
template.knowledgeBase.entrypoint.defaultArticleIds.0 | Article. |
template.knowledgeBase.entrypoint.defaultArticleIds.1 | Article. |
template.knowledgeBase.entrypoint.defaultArticleIds.2 | Article. |
template.knowledgeBase.entrypoint.defaultArticleIds.3 | Article. |
template.knowledgeBase.entrypoint.defaultButtonId | Default button ID. |
template.knowledgeBase.heading | Heading. |
template.knowledgeBase.popup | |
template.knowledgeBase.popup.title | Popup title. |
template.knowledgeBase.popup.labels | |
template.knowledgeBase.popup.labels.loadMoreArticles | Label for load more articles. |
template.knowledgeBase.popup.labels.noMoreArticles | Label for no more articles. |
template.knowledgeBase.popup.design | |
template.knowledgeBase.popup.design.header | |
template.knowledgeBase.popup.design.header.fontColor | Hex color code. |
template.knowledgeBase.popup.design.header.backgroundColor | Hex color code. |
type | template |
menuClosed
Use the menuClosed event to monitor for when the button is clicked to hide the customer portal or multiple channel template.
The event returns the following:
-
type is set to menuClosed.
-
detail payload, which is specific to the type of menu closed. Options are:

Field | Value |
---|---|
template | |
template.id | Template ID. |
template.type |
multipleButtons |
template.name | Template name. |
template.buttons | See Payloads for template.buttons for possible payloads based on type of channel. |
template.design | |
template.design.position | bottomLeft or bottomRight |
template.design.primaryThemeColor | Hex color code. |
template.design.primaryFontColor | Hex color code. |
template.design.direction | For example: vertical |
template.menuButtonId | Button ID. |
template.menuButton | |
template.menuButton.iconUrl | URL for icon. |
template.menuButton.backgroundColor | Hex color code. |
type | template |

Field | Value |
---|---|
template | |
template.id | The ID of the template closed. |
template.type |
customerPortal |
template.name | The name of the template |
template.buttons | See Payloads for template.buttons for possible payloads based on type of channel. |
template.design | |
template.design.position | bottomLeft or bottomRight |
template.design.outline | channelsOriented or knowledgeBaseOriented |
template.content | |
template.content.heading | Portal heading. |
template.content.subheading | Portal subheading. |
template.content.mainIconUrl | URL for icon. |
template.menuButton.Id | Button ID. |
template.menuButton | |
template.menuButton.iconUrl | URL for icon. |
template.menuButton.backgroundColor | Hex color code. |
template.knowledgeBase | |
template.knowledgeBase.entrypoint | |
template.knowledgeBase.entrypoint.id | Entry point ID. |
template.knowledgeBase.entrypoint.name | Entry point name. |
template.knowledgeBase.entrypoint.type | knowledgeBase |
template.knowledgeBase.entrypoint.knowledgeBase | |
template.knowledgeBase.entrypoint.knowledgeBase.id | Knowledge base ID. |
template.knowledgeBase.entrypoint.knowledgeBase.type | cxone-expert |
template.knowledgeBase.entrypoint.defaultArticleIds | |
template.knowledgeBase.entrypoint.defaultArticleIds.0 | Article ID. |
template.knowledgeBase.entrypoint.defaultArticleIds.1 | Article ID. |
template.knowledgeBase.entrypoint.defaultArticleIds.2 | Article ID. |
template.knowledgeBase.entrypoint.defaultArticleIds.3 | Article ID. |
template.knowledgeBase.entrypoint.defaultButtonId | Default button ID. |
template.knowledgeBase.heading | Heading. |
template.knowledgeBase.popup | |
template.knowledgeBase.popup.title | Popup title. |
template.knowledgeBase.popup.labels | |
template.knowledgeBase.popup.labels.loadMoreArticles | Label for load more articles. |
template.knowledgeBase.popup.labels.noMoreArticles | Label for no more articles. |
template.knowledgeBase.popup.design | |
template.knowledgeBase.popup.design.header | |
template.knowledgeBase.popup.design.header.fontColor | Hex color code. |
template.knowledgeBase.popup.design.header.backgroundColor | Hex color code. |
type | template |
entrypointOpened
Use the entrypointOpened event to monitor for when an entry point is opened. An entry point is considered opened when a visitor clicks an entry point button or when an entry point is displayed on page refresh.
For customer portal templates, the following are considered an entry point being opened:
- When the Guide button is clicked after an entry point was previously opened and minimized.
- The visitor clicks into an article to read it.
- The visitor clicks the More Articles link.
- The visitor does a knowledge base search.
- The visitor clicks the button to continue a chat.
The event returns the following:
-
type is set to entrypointOpened.
-
detail payload for entry point.

Field | Value |
---|---|
templateButton |
See Payloads for templateButton for possible payloads based on type of channel. |
type |
entrypoint |
entrypointClosed
Use the entrypointClosed event to monitor for when an entry point is closed. An entry point is closed when the channel defined in the entry point is dismissed.
In the case of a customer portal, if you switch entry point buttons, the old entry point is closed before the new entry point is displayed.
The event returns the following:
-
type is set to entrypointClosed.
-
detail payload for entry point.

Field | Value |
---|---|
templateButton |
See Payloads for templateButton for possible payloads based on type of channel. |
type |
entrypoint |
pcqDisplayed
Use the pcqDisplayed event to monitor for when a precontact survey is displayed.
The event returns the following:

Field | Value |
---|---|
preContactForm | |
preContactForm.id |
Form ID. |
preContactForm.name | Form name. |
preContactForm.channels | |
preContactForm.customFields | |
type | pcqForm |
pcqFieldPopulated
Use the pcqFieldPopulated event to monitor for when a field in a precontact survey is edited. Note that this event is not broadcasted if a visitor removes a value from a field and the field is blank.
The event returns the following:

Field | Value |
---|---|
field | |
field.ident |
Field identifier. |
field.autocomplete | Field autocomplete attribute. |
field.label | Field name. |
field.type | text |
field.required | Whether it is a required field. |
field.maxLength | Field maximum lenghth. |
field.isEditable | Whether field is editable. |
preContactForm | |
preContactForm.id | Form ID. |
preContactForm.name | Form name. |
preContactForm.channels | |
preContactForm.customFields | |
type | pcqFormField |
pcqSubmitted
Use the pcqSubmitted event to monitor for when a precontact survey is successfully submitted by the visitor.
The event returns the following:

Field | Value |
---|---|
preContactForm | |
preContactForm.id |
Form ID. |
preContactForm.name | Form name. |
preContactForm.channels | |
preContactForm.customFields | |
type | pcqForm |
proactiveOfferDisplayed
Use the proactiveOfferDisplayed event to monitor for when a proactive offer is displayed on a page.
The event returns the following:

Field | Value |
---|---|
context | |
context.ruleId |
Rule ID. |
context.ruleName | Rule name. |
context.actionId | Action ID. |
context.actionName | Action name. |
context.type | proactiveOffer |
type | proactiveOffer |
proactiveOfferSuccessful
Use the proactiveOfferSuccessful event to monitor for when a proactive offer is successful. A proactive offer is successful when the visitor clicks a call to action button. In the case of a chat call to action button, the visitor needs to start the chat. In the case of email, the visitor needs to send an email message.
The event returns the following:

Field | Value |
---|---|
action | See action types for proactive offers. |
context | |
context.ruleId |
Rule ID. |
context.ruleName | Rule name. |
context.actionId | Action ID. |
context.actionName | Action name. |
context.type | proactiveOffer |
type | proactiveOffer |
proactiveOfferDeclined
Use the proactiveOfferDeclined event to monitor for when a proactive offer is declined on a page. A proactive offer is declined when the visitor clicks a call to action button defined as Declined or clicks the X close icon in upper right corner of the proactive offer.
The event returns

Field | Value |
---|---|
action | See action types for proactive offers. |
context | |
context.ruleId |
Rule ID. |
context.ruleName | Rule name. |
context.actionId | Action ID. |
context.actionName | Action name. |
context.type | proactiveOffer |
type | proactiveOffer |
Button Details on Payloads
Payloads for template.buttons
The payload varies based on the type of channel referenced in a template.

Field | Value |
---|---|
template.buttons.<index> | |
template.buttons.<index>.id | Button ID. |
template.buttons.<index>.label |
Button label. |
template.buttons.<index>.entrypoint | |
template.buttons.<index>.entrypoint.name | Entry point name. |
template.buttons.<index>.entrypoint.type | knowledgeBase |
template.buttons.<index>.entrypoint.knowledgeBase | |
template.buttons.<index>.entrypoint.knowledgeBase.id | Knowledge base ID. |
template.buttons.<index>.entrypoint.knowledgeBase.type | cxoneExpert |
template.buttons.<index>.entrypoint.defaultArticleIds | |
template.buttons.<index>.entrypoint.defaultArticleIds.0 | Article ID. |
template.buttons.<index>.entrypoint.defaultArticleIds.1 | Article ID. |
template.buttons.<index>.entrypoint.defaultArticleIds.2 | Article ID. |
template.buttons.<index>.entrypoint.defaultArticleIds.3 | Article ID. |
template.buttons.<index>.entrypoint.defaultArticleIds.4 | Article ID. |
template.buttons.<index>.entrypoint.defaultButtonId | Default button ID. |
template.buttons.<index>.popup | |
template.buttons.<index>.popup.title | Popup title. |
template.buttons.<index>.popup.labels | |
template.buttons.<index>.popup.labels.loadMoreArticles | Label for load more articles. |
template.buttons.<index>.popup.labels.noMoreArticles | Label for no more articles. |

Field | Value |
---|---|
template.buttons.<index> | |
template.buttons.<index>.id | Button ID. |
template.buttons.<index>.label | Button label. |
template.buttons.<index>.entrypoint | |
template.buttons.<index>.entrypoint.id | Entry point ID. |
template.buttons.<index>.entrypoint.name | Entry point name. |
template.buttons.<index>.entrypoint.type | chat |
template.buttons.<index>.entrypoint.channelId | Channel ID. |
template.buttons.<index>.entrypoint.defaultButtonId | Default button ID. |
template.buttons.<index>.preContactForm | Form. |

Field | Value |
---|---|
template.buttons.<index> | |
template.buttons.<index>.id | Button ID. |
template.buttons.<index>.label | Button label. |
template.buttons.<index>.entrypoint | |
template.buttons.<index>.entrypoint.id | Entry point ID. |
template.buttons.<index>.entrypoint.name | Entry point name. |
template.buttons.<index>.entrypoint.type | chat |
template.buttons.<index>.entrypoint.channelId | Entry point channel ID. |
template.buttons.<index>.entrypoint.preContactForm | |
template.buttons.<index>.entrypoint.preContactForm.id | Form ID. |
template.buttons.<index>.entrypoint.preContactForm.name | Form name. |
template.buttons.<index>.entrypoint.preContactForm.customFields | |
template.buttons.<index>.entrypoint.defaultButtonId | Default button ID. |
template.buttons.<index>.preContactForm | |
template.buttons.<index>.preContactForm.iconUrl | Icon URL. |
template.buttons.<index>.preContactForm.label | Form label. |

Field | Value |
---|---|
template.buttons.<index> | |
template.buttons.<index>.id | Button ID. |
template.buttons.<index>.label | Button label. |
template.buttons.<index>.entrypoint | |
template.buttons.<index>.entrypoint.id | Entry point ID. |
template.buttons.<index>.entrypoint.name | Entry point name. |
template.buttons.<index>.entrypoint.type | voice |
template.buttons.<index>.entrypoint.phone | Phone number. |
template.buttons.<index>.entrypoint.defaultButtonId | Default button ID. |

Field | Value |
---|---|
template.buttons.<index> | |
template.buttons.<index>.id | Button ID. |
template.buttons.<index>.label | Button label. |
template.buttons.<index>.entrypoint | |
template.buttons.<index>.entrypoint.id | Entry point ID. |
template.buttons.<index>.entrypoint.name | Entry point name. |
template.buttons.<index>.entrypoint.type | |
template.buttons.<index>.entrypoint.email | Email address. |
template.buttons.<index>.entrypoint.defaultButtonId | Default button ID. |
template.buttons<index>.preContactForm | Form. |

Field | Value |
---|---|
template.buttons.<index> | |
template.buttons.<index>.id | Button ID. |
template.buttons.<index>.label | Button label. |
template.buttons.<index>.entrypoint | |
template.buttons.<index>.entrypoint.id | Entry point ID. |
template.buttons.<index>.entrypoint.name | Entry point name. |
template.buttons.<index>.entrypoint.type | |
template.buttons.<index>.entrypoint.channelId | Channel ID. |
template.buttons.<index>.entrypoint.email | Email address. |
template.buttons.<index>.entrypoint.defaultButtonId | Default button ID. |
template.buttons<index>.preContactForm | |
template.buttons.<index>.entrypoint.preContactForm.id | Form ID. |
template.buttons.<index>.entrypoint.preContactForm.name | Form name. |
template.buttons.<index>.entrypoint.preContactForm.channels | |
template.buttons.<index>.entrypoint.preContactForm.customFields | |
template.buttons.<index>.preContactForm | |
template.buttons.<index>.preContactForm.label | Form label. |
template.buttons.<index>.preContactForm.iconUrl | Icon URL. |

Field | Value |
---|---|
template.buttons.<index> | |
template.buttons.<index>.id | Button ID. |
template.buttons.<index>.label | Button label. |
template.buttons.<index>.entrypoint | |
template.buttons.<index>.entrypoint.id | Entry point ID. |
template.buttons.<index>.entrypoint.name | Entry point name. |
template.buttons.<index>.entrypoint.type | custom |
template.buttons.<index>.entrypoint.channelId | Channel ID. |
template.buttons.<index>.entrypoint.url | Entry point URL. |
template.buttons.<index>.entrypoint.defaultButtonId | Default button ID. |
Payloads for templateButton
Details about entry point buttons (templateButton).

Field | Value |
---|---|
templateButton.id | Button ID. |
templateButton.label | Button label. |
templateButton.entrypoint | |
templateButton.entrypoint.id | Entry point ID. |
templateButton.entrypoint.name | Entry point name. |
templateButton.entrypoint.type | knowledgebase |
templateButton.entrypoint.knowledgebase | |
templateButton.entrypoint.knowledgebase.id | Knowledge base ID. |
templateButton.entrypoint.knowledgebase.type | cxone-expert |
templateButton.entrypoint.defaultArticleIds | |
templateButton.entrypoint.defaultArticleIds.<index> | Array of article IDs. |
templateButton.entrypoint.defaultButtonId | Default button ID. |
templateButton.popup | |
templateButton.popup.title | Popup title. |
templateButton.popup.labels | |
templateButton.popup.labels.loadMoreArticles | Label for load more articles. |
templateButton.popup.labels.noMoreArticles | Label for no more articles. |
templateButton.popup.design | |
templateButton.popup.design.header | |
templateButton.popup.design.header.fontColor | Hex color code. |
templateButton.popup.design.header.backgroundColor | Hex color code. |

Field | Value |
---|---|
templateButton.id | Button ID. |
templateButton.label | Button label. |
templateButton.entrypoint | |
templateButton.entrypoint.id | Entry point ID. |
templateButton.entrypoint.name | Entry point name. |
templateButton.entrypoint.type | chat |
templateButton.entrypoint.channelId | Channel ID. |
templateButton.entrypoint.defaultButtonId | Default button ID. |
templateButton.preContactForm | Form |

Field | Value |
---|---|
templateButton.id | Button ID. |
templateButton.label | Button label. |
templateButton.entrypoint | |
templateButton.entrypoint.id | Entry point ID. |
templateButton.entrypoint.name | Entry point name. |
templateButton.entrypoint.type | chat |
templateButton.entrypoint.channelId | Channel ID. |
templateButton.entrypoint.preContactForm | |
templateButton.entrypoint.preContactForm.id | Form ID. |
templateButton.entrypoint.preContactForm.name | Form name. |
templateButton.entrypoint.preContactForm.customFields | |
templateButton.entrypoint.defaultButtonId | Default button ID. |
templateButton.preContactForm | |
templateButton.preContactForm.iconUrl | Icon URL. |
templateButton.preContactForm.label | Form label. |

Field | Value |
---|---|
templateButton.id | Button ID. |
templateButton.label | Button label. |
templateButton.entrypoint | |
templateButton.entrypoint.id | Entry point ID. |
templateButton.entrypoint.name | Entry point name. |
templateButton.entrypoint.type | voice |
templateButton.entrypoint.phone | Phonue number. |
templateButton.entrypoint.defaultButtonId | Default button ID. |

Field | Value |
---|---|
templateButton.id | Button ID. |
templateButton.label | Button label. |
templateButton.entrypoint | |
templateButton.entrypoint.id | Entry point ID. |
templateButton.entrypoint.name | Entry point name. |
templateButton.entrypoint.type | |
templateButton.entrypoint.email | Email address. |
templateButton.entrypoint.defaultButtonId | Default button ID. |
templateButton.preContactForm | Form. |

Field | Value |
---|---|
templateButton.id | Button ID. |
templateButton.label | Button label. |
templateButton.entrypoint | |
templateButton.entrypoint.id | Entry point ID. |
templateButton.entrypoint.name | Entry point name. |
templateButton.entrypoint.type | |
templateButton.entrypoint.channelId | Channel ID. |
templateButton.entrypoint.email | Email address. |
templateButton.entrypoint.defaultButtonId | Default button ID. |
templateButton.entrypoint.preContactForm | |
templateButton.entrypoint.preContactForm.id | Form ID. |
templateButton.entrypoint.preContactForm.name | Form name. |
templateButton.entrypoint.preContactForm.channels | |
templateButton.entrypoint.preContactForm.customFields | |
templateButton.preContactForm | |
templateButton.preContactForm.label | Form label. |
templateButton.preContactForm.iconUrl | Icon URL. |

Field | Value |
---|---|
templateButton.id | Button ID. |
templateButton.label | Button label. |
templateButton.entrypoint | |
templateButton.entrypoint.id | Entry point ID. |
templateButton.entrypoint.name | Entry point name. |
templateButton.entrypoint.type | custom |
templateButton.entrypoint.channelId | Channel ID. |
templateButton.entrypoint.url | Entrypoint URL. |
templateButton.entrypoint.defaultButtonId | Default button ID. |
Action Types for Proactive Offers
The action type for the proactive offer can be starting a chat, clicking an entry point, clicking into an article, or closing the proactive offer.

Field | Value |
---|---|
action.id | Action ID. |
action.type | link |
action.actionName |
Action button name. |
action.url | Link URL. |

Field | Value |
---|---|
action.id | Action ID. |
action.type | startChat |
action.actionName |
Action button name. |
action.entrypointId | Entry point ID. |
action.handover | |
action.handover.postback | Relay context. |
action.handover.customFields |

Field | Value |
---|---|
action.id | Action ID. |
action.type | entrypoint |
action.actionName |
Action button name. |
action.entrypointId | Entry point ID. |

Field | Value |
---|---|
action.id | Action ID. |
action.type | knowledgeBase |
action.actionName |
Action button name. |
action.entrypointId | Entry point ID. |
action.articleId | Article ID. |

Field | Value |
---|---|
action.id | Action ID. |
action.type | close |
action.actionName |
Action button name. |
Or, if the visitor closes the proactive offer with the X button.

Field | Value |
---|---|
action.type | close |