Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Event handler in the Playbook intake component

A component triggers an event when a certain condition is met or on user interaction. The event can be used to execute an action through a code on a third-party webpage.

Event handlerDescriptionPayload
SN_EMBEDX_PLAYBOOK_INTAKE #COMPONENT_READYThis event is dispatched when a component is ready and usable.None
SN_EMBEDX_PLAYBOOK_INTAKE #COMPONENT_ERRORThis event is dispatched when a property validation or internal error occurs.errorType, errorMessage
SN_EMBEDX_PLAYBOOK_INTAKE #RECORD_CREATION_SUCCEEDEDThis event is dispatched when a record is created by a Record Generator Playbook.table, sysId, number, playbook_experience_id, hide_record_creation
SN_EMBEDX_PLAYBOOK_INTAKE #PRIMARY_BUTTON_CLICKEDThis event is dispatched when the primary button is selected the record created confirmation page.table, record_sys_id, playbook_experience_id
SN_EMBEDX_PLAYBOOK_INTAKE #SECONDARY_BUTTON_CLICKEDThis event is dispatched when the secondary button is selected on the record created confirmation page.table, record_sys_id
Additional event handlers
SN_EMBEDX_PLAYBOOK_INTAKE #OPEN_LISTThis event is dispatched when an open list event is fired.table, listTitle, query, disableInlineEditing, listView
SN_EMBEDX_PLAYBOOK_INTAKE #ACTIVITY_SELECTEDSelect the provided playbook, stage, and activity by context ID.playbookContextId, stageContextId, activityContextId
SN_EMBEDX_PLAYBOOK_INTAKE #ACTIVITY_STATE_CHANGEDThis event is dispatched by Playbook Custom Layout Controller when playbook activity state has changed to either Complete, Skipped, canceled, or Error.playbookContextId, stageContextId, activityContextId
SN_EMBEDX_PLAYBOOK_INTAKE #STAGE_SELECTEDSelect the provided playbook and stage by context ID.playbookContextId, stageContextId
SN_EMBEDX_PLAYBOOK_INTAKE #UPDATE_SELECTIONThis event is dispatched by the Playbook Custom Layout Controller when the selected state of a playbook, stage, or activity has changed.selectedPlaybook, selectedStage, selectedActivity
SN_EMBEDX_PLAYBOOK_INTAKE #FILTER_SELECTEDThis event is dispatched when playbook filter is opened or closed.playbookContextId, value
SN_EMBEDX_PLAYBOOK_INTAKE #USER_INTERACTIONThis event is dispatched on User interaction with a Playbook Activity.playbookContextId, parentTable, parentRecord, stageName, stageTitle, stageState, activityTitle, activityContextId, associatedTable, associatedRecord
SN_EMBEDX_PLAYBOOK_INTAKE #OPEN_RECORDThis event is dispatched when an open record event is fired.table, sys_id, params, query
SN_EMBEDX_PLAYBOOK_INTAKE #FILTER_OPTION_SELECTEDThis event is dispatched when an item is selected the playbook filter.playbookContextId, item
SN_EMBEDX_PLAYBOOK_INTAKE #PLAYBOOK_EXPANDEDThis event is dispatched when the playbook stage list changes expanded state.playbookContextId, updatedExpandState

Related topics

Configure the Playbook intake component instance

Embed the Playbook intake component instance on the third-party website

Component properties for the Playbook intake

Sample code for the Playbook intake component