Create actions that send notifications and export data

You can create workbook actions that initiate direct downloads as well as exports to email, Slack channels, Microsoft Teams Channels, Microsoft SharePoint, webhooks, and cloud storage.

For email and Slack, you can create actions that send notifications to users and channels. These notifications can be configured independently of an export, and support both static and dynamic lists of users.

This document explains how to create actions that export workbook content to specific destinations or notify users by Slack and email. For more information about configuring these actions in Sigma, see Intro to actions. For more information on exporting data, see Export data.

User requirements

Send notifications by email (Beta)

Create an action that emails selected recipients, without sending an attachment or export.

πŸ“˜

This action can only be configured and triggered by users assigned an account type with the Export to email permission enabled.

ActionSelect Notify and export.
DestinationSelect Email.
RecipientFor Specific users / teams, enter one or more comma-separated email addresses for the recipients.

For Dynamic recipients, provide a list of users based on dynamic information from a control or formula. If your action is configured on a table, pivot table, or input table, you can also create a list of dynamic recipients from a column.
SubjectEnter a subject line for the email notification. For dynamic text, press = on your keyboard to open the formula bar and configure dynamic text.
Message[optional] Enter a message to include in the email body. For dynamic text, press = on your keyboard to open the formula bar and configure dynamic text. Sigma includes basic information about the sender and workbook in the email body.
Link to workbook[optional] On by default. Turn the Link to workbook toggle on to include a link to the workbook in the email. When the toggle is turned on, you can select whether to link to the entire workbook (top of page 1), a specific page (top of specified page), or a specific element.
AttachmentConfirm that the Attachment toggle is turned off.
More options[optional] Select the Run queries as recipient checkbox to run workbook queries as the recipient of the email. If deselected (default), queries run as the user who performs the action. When Run queries as recipient is enabled, each query runs separately per recipient. Larger list of recipients result in more queries and longer processing times. Each recipient must be a Sigma user, and the user who performs the action must have an account type with the Run exports as recipient permission enabled.

Send notifications by Slack (Beta)

Create an action that sends a Slack message to selected recipients, without sending an attachment or export.

To create a Slack notification action, the Slack integration must be enabled for your organization. If you want to send notifications to a private channel, you must also add Sigma to the private channel. See Adding Sigma to a private Slack channel.

πŸ“˜

This action can only be configured and triggered by users assigned an account type with the Export to Slack permission enabled.

ActionSelect Notify and export.
DestinationSelect Slack.
ToFor Specific users / teams, enter a comma-separated list of Slack #channel-names, channel-ids, or member-ids.

For Dynamic recipients, provide a list of channel names, channel ids, or member ids based on dynamic information from a control or formula. If your action is configured on a table, pivot table, or input table, you can also provide a column that contains a list of channel names, channel ids, or member ids.
Message[optional] Enter a message to include in the Slack notification. For dynamic text, press = on your keyboard to open the formula bar and configure dynamic text. Sigma includes basic information about the sender and workbook in the message body by default. For more information on formatting a message, such as tagging users, see Format a slack message.
Link to workbook[optional] On by default. Turn the Link to workbook toggle on to include a link to the workbook in the message. When the toggle is turned on, you can select whether to link to the entire workbook (top of page 1), a specific page (top of specified page), or a specific element.
AttachmentConfirm that the Attachment toggle is turned off.
πŸ’‘

When sending to Slack channels, Sigma recommends using channel ids rather than channel names. For more information, see Format a slack message.

Download a file

Create an action that downloads an entire workbook, a specific page, or an individual element directly to the interacting user’s device.

πŸ“˜

This action can only be configured and triggered by users assigned an account type with the Download permission enabled.

  • ActionSelect Notify and export.
    DestinationSelect Download.
    AttachmentSelect the workbook content to download, then choose a file format.

Export to email

Create an action that emails an entire workbook, a specific page, or an individual element to selected recipients.

To configure a standard export to email that is not managed by a workbook action, see Export to email.

πŸ“˜

This action can only be configured and triggered by users assigned an account type with the Export to email permission enabled.

Action Select Notify and export.
Destination Select Email.
Recipient For Specific users / teams, enter one or more comma-separated email addresses for the recipients.

For Dynamic recipients, provide a list of users based on dynamic information from a control or formula. If your action is configured on a table, pivot table, or input table, you can also create a list of dynamic recipients from a column.
Subject Enter text to include in the email subject line. For dynamic text, press = on your keyboard to open the formula bar and configure dynamic text.
Message [optional] Enter a message to include in the email body. For dynamic text, press = on your keyboard to open the formula bar and configure dynamic text.
Attachment Confirm that the Attachment toggle switch is on. Select the workbook content to export, then choose a file type.
More options [optional] Select the Include link to workbook checkbox to allow the export recipient to open the workbook directly from the email.

[optional] Select the Run queries as recipient checkbox to run workbook queries as the recipient of the email. If deselected (default), queries run as the user who performs the action. When Run queries as recipient is enabled, each query runs separately per recipient. Larger list of recipients result in more queries and longer processing times. Each recipient must be a Sigma user, and the user who performs the action must have an account type with the Run exports as recipient permission enabled.

[optional] Select the Send as .zip file checkbox to send attachments as a compressed zip file.

Export to Slack

Create an action that exports an entire workbook, a specific page, or an individual element to Slack.

To create a Slack export action, the Slack integration must be enabled for your organization. If you want to send notifications to a private channel, you must also add Sigma to the private channel. See Adding Sigma to a private Slack channel.

πŸ“˜

This action can only be configured and triggered by users assigned an account type with the Export to Slack permission enabled.

ActionSelect Notify and export.
DestinationSelect Slack.
ToFor Specific users / teams, enter a comma-separated list of Slack #channel-names, channel-ids, or member-ids.

For Dynamic recipients, provide a list of channel names, channel ids, or member ids based on dynamic information from a control or formula. If your action is configured on a table, pivot table, or input table, you can also provide a column that contains a list of channel names, channel ids, or member ids.
Message[optional] Enter a message to include in the Slack notification. For dynamic text, press = on your keyboard to open the formula bar and configure dynamic text. Sigma includes basic information about the sender and workbook in the message body by default. For more information on formatting a message, such as tagging users, see Format a slack message.
AttachmentConfirm that the Attachment toggle is turned on. Select the workbook content to export, then choose a file type.
More options[optional] Select the Include link to workbook checkbox to allow Slack channel members to open the workbook directly from the Slack message.
πŸ’‘

When sending to Slack channels, Sigma recommends using channel ids rather than channel names. For more information, see Format a slack message.

Export to Microsoft Teams (Beta)

Create an action that exports an entire workbook, a specific page, or an individual element to Microsoft Teams.

To create a Teams export action, the Microsoft integration must be enabled for your organization. To send notifications to a channel, you must also add Sigma to the channel. See Add the Sigma Notifications app to Teams.

πŸ“˜

This action can only be configured and triggered by users assigned an account type with the Export to Microsoft Teams and SharePoint permission enabled.

ActionSelect Notify and export.
DestinationSelect Microsoft Teams.
Channel URLEnter the URL for the Microsoft Teams channel. For example:

https://teams.microsoft.com/l/channel/><channel-ID-and-name>?groupId=<group-ID>&tenantId=\<tenant-ID>
Message[optional] Enter a message to include in the notification. Sigma includes basic information about the sender and workbook in the message body by default. For more information on formatting a Teams message, such as supported markdown syntax, see Format a Microsoft Teams message.
AttachmentSelect the workbook content to export, then choose a file type and layout.
More options[Optional] Select the Include link to workbook checkbox to allow Teams channel members to open the workbook directly from the Teams message.

Export to SharePoint (Beta)

Create an action that exports an entire workbook, a specific page, or an individual element to Microsoft SharePoint.

To create a SharePoint export action, the Microsoft integration must be enabled for your organization.

πŸ“˜

This action can only be configured and triggered by users assigned an account type with the Export to Microsoft Teams and SharePoint permission enabled.

ActionSelect Notify and export.
DestinationSelect SharePoint.
Folder URLEnter the URL for the SharePoint folder. For example:

https://<organization>.sharepoint.com/:f:/s/<site-name>/<folder-id>
AttachmentSelect the workbook content to export, then choose a file type and layout.

Export to a webhook

Create an action that exports an individual element’s data to another application with a webhook.

πŸ“˜

This action can only be configured and triggered by users assigned an account type with the Export to webhook permission enabled.

  • ActionSelect Notify and export.
    DestinationSelect Webhook.
    EndpointEnter the receiving application’s endpoint.
    AttachmentSelect an element to export, then choose a data format.

Export to cloud storage

Create an action that exports an individual element’s data to cloud storage.

πŸ“˜

This action can only be configured and triggered by users assigned an account type with the Export to cloud permission enabled.

  • ActionSelect Notify and export.
    DestinationSelect Cloud Storage.
    Storage integrationEnter an integration name.
    Cloud Storage URIEnter a file path for the export destination.
    ElementSelect an element to export, then choose a file format.
    More options[optional] Select the Prefix file name with current date and time checkbox to include the export date and time (in ISO format) in the file name.

Example: Slack notification workflow for new project tasks

You can configure workbook actions that send notifications to users about changes to a workbook, such as new data entry or changes to existing data.

In this example, imagine you're interacting with a project tracker data app. Users can add new projects, tasks, and statuses.

A gif shows a user demonstrating a project tracker application, adding a task to a project.

You decide to configure a workbook action to send a notification whenever a user assigns a new task. Currently, users add tasks by selecting Add Task, entering information into the provided modal, and clicking the Create Task button to add the task to an input table.

Using the Notify and export action, you can send a notification by Slack whenever someone clicks the Create Task button, so that users are always up to date when a task is assigned to them.

  1. Navigate to the Create Task modal, and open the Actions panel.
  2. Add an action to the On click - primary action sequence.
  3. In the Action modal, configure the action:
ActionSelect Notify and export.
DestinationSelect Slack.
ToSelect Dynamic recipients and Formula

In the formula bar, enter the following formula:
Lookup([Employees/Slack ID], [ct-Task-Owner], [Employees/Name])

In the context of this workbook, this formula uses a Lookup to return a Slack ID based on the name of the user currently selected in the Task Owner control.
MessageEnter a message to be sent to the user with the assigned task.

To tag them, press = on your keyboard to open the formula bar. In the formula bar, enter the following formula:
"<@" & Lookup([Employees/Slack ID], [ct-Task-Owner], [Employees/Name]) & ">"

In the context of this workbook, this concatenates the user's Slack ID with the characters required to tag them in Slack. For more information on this, see Format a slack message.
AttachmentTurn the Attachment toggle off.
More optionsSelect the Include link to workbook checkbox.
  1. [optional] Click More to add a condition to the Action sequence. In the example below, the condition IsNotNull([ct-Task-Name]) prevents tasks from being published with a blank name.
A screenshot of the Sigma UI shows a notification action configured according to this tutorial