Intro to actions

Actions are user-defined interactivity that you can configure within and across workbook elements. By automating responses to specific user interactions, you can create efficient workbook workflows that produce quick and relevant data insights.

This document introduces action conditions, triggers, and effects. For information about using actions, see the Related resources section at the end of this page.

Understanding actions

An individual action consists of a condition (optional), a trigger, and an effect.

Condition (optional)A rule that determines when an action or sequence of actions1 executes.
TriggerA user interaction with a specific element (the trigger element) that initiates the response of one or more actions or sequences of actions.
EffectThe defined response to the user interaction.

1 You can configure a single action on a workbook element or a sequence of multiple actions that execute in a specified order.

Action conditions

You can define an optional condition for any action sequence. The condition can be a custom formula or, if you are configuring an action for a control, the condition can be the value of the control.

For more information, see Make an action conditional.

Action triggers

Action triggers can be configured on most element types. The following table describes the supported trigger types.

Element typeTrigger type (user interaction)
Table, pivot table, or input tableOn select: user selects a cell in a specific column.
VisualizationOn select: user selects a data point or category on the chart
UI element
(button or image only)
On click: user clicks the element.
Control elementOn change: user changes the control value.
Modal

On click - primary: user clicks the primary button.

On click - secondary: user clicks the secondary button.

On close: user clicks the X or clicks outside the modal.

Action effects

The following table lists the actions you can configure on a trigger element and describes the corresponding effect.

TypeActionEffect
NavigationOpen URLNavigates to an external link or destination within Sigma.
Open Sigma docNavigates to a different Sigma workbook.
Navigate in this workbookShifts the focus to the top of a specific page or an individual element in the current workbook.
Open modalOpens a modal in the current workbook.
Close modalCloses an open modal.
Control value managementSet control valueSets the value of a specific control element in the current workbook.
Clear controlClears the values of a specific control element in the current workbook.
Element modificationModify elementModifies an element's columns, groupings, properties, or axis scale.
Refresh element

Refreshes the data of a specific element in the current workbook.

This action doesn’t apply to materialized elements.

Input table modificationInsert rows in input tablesInserts a new row in an existing input table.
Data transferDownload and exportInitiates a direct download or an export to email, Slack, webhook, or cloud storage.
EmbeddingGenerate outbound embed iframe eventTriggers an embed iframe event.

Action configurations

Actions feature versatile configurations to support responses that are highly relevant to your specific needs and preferences.

Examples:

  • Configure the Open URL action to open a static link, or utilize dynamic text to generate URLs that adjust to control or column values in the current workbook.
  • Configure the Set control value action to filter the trigger element itself, or create a cross-element action that filters a child element.
  • Configure the Open Sigma doc action to open another workbook in its published state, or pass values to control elements in the destination workbook to open a custom, drilled-down view.

For detailed information about configuring the different types of actions, see the Related resources section at the end of this page.