Outbound event reference
Sigma supports the following outbound events that describe user interactions with embedded Sigma content. Each event includes specific properties about the interaction that allow the host application to process and respond accordingly.
- For a list of the events that are possible to set, see Inbound event reference.
- For examples and more details, see Implement inbound and outbound events in embeds.
action:outbound
This event occurs when a Generate iframe event workbook action is triggered. This event can be used to react to user actions taken in the workbook. See Create actions that trigger embed iframe events.
Event structure:
Event properties:
document:element:nodata
This event occurs if there is no data in a table, pivot table, or chart in a workbook, report, or data model.
This event is useful to identify if there is no data in a given element and redirect to a different page or display relevant guidance in the host application.
Event structure:
Event properties:
url:onchange
This event occurs when the URL path changes, but not when URL search parameters change. This event returns the URL of the embed.
This event gives insight into when the user creates their own workbook that they can edit.
Event structure:
Event properties:
workbook:bookmark:onchange
This event occurs when a user selects or deselects a bookmark.
Event structure:
Event properties:
workbook:bookmark:oncreate
This event occurs when an embed user creates a bookmark using the embed UI.
This event is useful for analyzing when users create their bookmarks.
Event structure:
Event properties:
workbook:bookmark:ondelete
This event occurs when an embed user deletes a bookmark using the embed UI.
Event structure:
Event properties:
workbook:bookmark:onupdate
This event occurs when an embed user updates a bookmark using the embed UI by either changing the name, setting or removing it as the default view, sharing the bookmark, or unsharing the bookmark by setting it as a personal view.
Event structure:
Event properties:
workbook:chart:error
This event occurs when a chart produces an error.
This event is useful for detecting errors and taking action in response.
Event structure:
Event properties:
workbook:chart:onvalueselect
This event is specifically designed for user interactions with embedded visualization elements, like clicking data points in a bar chart. This event extends beyond the basic interaction details and includes a values object that provides insight about the specific chart component selected.
This event is crucial for applications that must respond to precise user interactions within embedded visualization elements. It offers a nuanced understanding of the chart component a user focuses on and analyzes.
Event structure:
Event properties:
Example scenario:
A user clicks on a specific bar in a bar chart. The event returns detailed information about that bar, including its category label and value. This enables the host application to provide context-specific responses or further data insights related to that precise interaction.
workbook:dataloaded
This event occurs when a workbook finishes loading its data.
This event is useful for signaling when an iframe finishes loading a Sigma embed.
Event structure:
Example scenario: When a user exports the workbook as PDF via API immediately after accessing a workbook, they might see in the PDF that the embed element hasn’t finished loading. Developers can add a check for iframe elements and check that the iframe contents are fully loaded before exporting.
workbook:error
This event occurs when a workbook produces an error. Common error codes and messages that might occur that you might catch and handle with this event are listed in Common embed error codes and messages.
This event is useful for detecting errors and taking action in response.
Event structure:
Event properties:
workbook:exploreKey:onchange
This event occurs when a new exploration is created on an embed.
Event structure:
Event properties:
workbook:fullscreen:onchange
This event occurs when the user minimizes or maximizes an element.
This event is useful for taking an action in response to an element being minimized or maximized.
Event structure:
Event properties:
workbook:id:onchange
This event occurs when the ID of the displayed workbook changes.
This event gives insight into when the user creates their own workbook that they can edit.
Event structure:
Event properties:
workbook:loaded
This event occurs when a workbook’s metadata has loaded, but the elements haven’t been evaluated.
This event is crucial for scenarios in which an initial setup or a pre-processing step is required before the workbook becomes interactive. It provides an opportunity to implement any preparatory actions in the host application based on the workbook’s metadata.
Event structure:
workbook:ondelete
This event occurs when a user clicks Delete in the embed menu and a workbook is successfully deleted.
Event structure:
Event properties:
workbook:pageheight:onchange
This event communicates the document height to the parent whenever it changes.
This event is useful for avoiding situations where the body of a frame might scroll due to dynamic sizing. Use this function to calculate the height of the iframe.
To use this event, the responsive_height parameter must be set to true. See Embed URL parameters.
Event structure:
Event properties:
workbook:pivottable:oncellselect
This event occurs when a user selects a cell or multiple cells in an embedded pivot table. This event provides an array of selected cells and their properties.
This event is crucial for applications that require responsive interaction with pivot table data within Sigma, allowing the host application to tailor its response based on user selection in the embedded workbook.
Event structure:
Event properties:
workbook:published
This event occurs in secure embeds when a user saves and publishes a workbook.
This event is useful for taking some action in the host application when a workbook is published and for tracking when changes are made to a workbook.
Event structure:
Event properties:
workbook:saveas
This event occurs when a user successfully saves a workbook using the Save as option on the embed menu of the workbook.
Event structure:
Event properties:
workbook:table:oncellselect
This event occurs when a user selects a cell or multiple cells in an embedded table. This event provides an array of selected cells and their properties.
This event is crucial for applications that require responsive interaction with table data within Sigma, allowing the host application to tailor its response based on user selection in the embedded workbook.
Event structure:
Event properties:
Example scenario:
When a user selects a specific cell (for example, in the Sum of Revenue column) for a particular order, the event returns detailed information about the cell, including its value, column name, and any underlying data (if it’s an aggregate value).
workbook:variables:onchange
This event occurs when a user- or system-initiated update is applied to a control element within the embedded Sigma content. The event also triggers when a user clicks an element on the page that updates a control value, such as clicking a chart mark or data point that applies a cross-filter.
This event is essential for situations where the host application needs to respond to changes within the embedded Sigma content. This event provides information about user interactions with the embedded content, allowing for a dynamic and responsive integration within the host application.
For detailed examples on how values are encoded for URLs, refer to Add query string parameters to a URL.
Event structure:
Event properties:
Example scenario:
If you have a multi-select list values control configured with a control ID of store-region and a user selects two regions, East and Midwest, the event emitted is of the following format:

