Sync data from ThoughtSpot to Slack

Use ThoughtSpot Sync to connect ThoughtSpot to your Slack workspace and deliver insights directly to a Slack channel.

Sync to Slack from an answer

To create a sync to Slack from an answer, follow these steps:

  1. Select the desired answer from the Answers tab or from the ThoughtSpot homepage. You must have Can manage sync permissions and view access to an answer to create a sync.

  2. In the upper-right corner of the answer, select the more options menu icon icon more 10px. From the drop-down menu, select Sync to other apps, then select Slack and hit Next.

    You cannot create a sync from an unsaved answer. If the Sync to other apps option appears grayed-out in the menu, first save the answer before trying again.
  3. If this is the first sync you have created for Slack, a pop-up authorization window appears. To grant ThoughtSpot access to send data to Slack from your account, select Allow.

    ts sync permission slack

    If the ThoughtSpot app is not installed in your Slack workspace

    The app authorization page prompts you to install the app. If you have admin rights to your workspace, complete the installation, and then retry the Slack action workflow.
    If you do not have access rights to install the app in your Slack workspace:

    1. Click Submit to send a request to your workspace administrator. You can also add a message for your workspace administrator in the request.

    2. Your Slack workspace administrator receives a Slackbot notification to approve the request.

    3. Close the app authorization pop-up and return to the ThoughtSpot UI.

    4. Wait until your request is approved by the Slack workspace administrator. If your request is approved, you will receive a notification via email and Slackbot.

    5. If your request is not approved, the app authorization pop-up displays the Your request is already submitted message when you re-initiate the sync. Contact your Slack administrator and ensure that the ThoughtSpot app is installed in your workspace.

    6. After you receive a notification from Slackbot or email about the request approval, re-initiate the sync workflow by selecting Sync to other apps from the more options menu, selecting Slack, and clicking Next.

    If the ThoughtSpot app is installed in your Slack workspace

    ThoughtSpot requests access to your Slack workspace and opens the app authorization pop-up.
    If you are not logged in to your Slack workspace, the app authorization page prompts you to sign in. To continue with the integration, sign in with your credentials.

  4. Fill in the following parameters:

    • Edit the Pipeline name if needed. By default, this field populates with PL-[Answer Name].

    • If you have more than one Slack destination set up, then the Destination field appears, and you must select a Slack destination from the drop-down available. However, if no destinations have been set up before or if you have only one Slack destination, the Destination field does not appear.

    • Select channel from the drop-down menu.

    • Add the answer’s Title.

    • [Optional] Enter a Message to send with your answer.

    • By default, Include image and Include CSV are selected. This sends both the image of the answer and the CSV file with the data.

      Note: If the visualization is a table and not a chart, then Include image and Include CSV checkboxes do not appear and only the CSV file of data is sent on Slack. ts sync slack param

  5. By default, “Sync and save” is selected. Click Save to send your answer to Slack.

Sync to Slack from a Custom SQL View

To sync to Slack from a custom SQL view, follow these steps:

  1. Navigate to your SQL view by clicking the Data tab and searching from the Data Workspace home page. Select the SQL view name.

  2. In the top right corner, click the more options menu icon icon more 10px and select Sync to other apps. Select Slack and click Next.

  3. If this is the first sync you have created for the selected app, an authorization page appears. To give ThoughtSpot permission to send data to the selected app, click Allow.

    If the ThoughtSpot app is not installed in your Slack workspace

    The app authorization page prompts you to install the app. If you have admin rights to your workspace, complete the installation, and then retry the Slack action workflow.
    If you do not have access rights to install the app in your Slack workspace:

    1. Click Submit to send a request to your workspace administrator. You can also add a message for your workspace administrator in the request.

    2. Your Slack workspace administrator receives a Slackbot notification to approve the request.

    3. Close the app authorization pop-up and return to the ThoughtSpot UI.

    4. Wait until your request is approved by the Slack workspace administrator. If your request is approved, you will receive a notification via email and Slackbot.

    5. If your request is not approved, the app authorization pop-up displays the Your request is already submitted message when you re-initiate the sync. Contact your Slack administrator and ensure that the ThoughtSpot app is installed in your workspace.

    6. After you receive a notification from Slackbot or email about the request approval, re-initiate the sync workflow by selecting Sync to other apps from the more options menu, selecting Slack, and clicking Next.

    If the ThoughtSpot app is installed in your Slack workspace

    ThoughtSpot requests access to your Slack workspace and opens the app authorization pop-up.
    If you are not logged in to your Slack workspace, the app authorization page prompts you to sign in. To continue with the integration, sign in with your credentials.

  4. Fill in the following parameters:

    • Edit the Pipeline name if needed. By default, this field populates with PL-[Answer Name].

    • If you have more than one Slack destination set up, then the Destination field appears and you must select a Slack destination from the drop-down available. However, if no destinations have been set up before or if you have only one Slack destination, the Destination field does not appear.

    • Select channel from the drop-down menu.

    • Add the Title.

    • [Optional] Enter a Message to send with your view. By default, ThoughtSpot sends your data in CSV format.

  5. By default, “Sync and save” is selected. Click Save to send your SQL view to Slack.

Sync to Slack from the Data Workspace

To create a sync to Slack from the Data Workspace, follow these steps:

  1. Click the Data tab.

  2. On the left menu bar, select Sync.

  3. Under the Pipelines tab, select Create new pipeline. Note that if you do not already have a destination created to the intended destination app, you first need to create one in the Destinations tab.

  4. Fill in the following parameters:

    • Edit the Pipeline name if needed. By default, this field populates with PL-[Answer Name].

    • All destinations available appear in the Destinations drop-down.

    • Select your Source data. Here, you choose an answer or a view to send through sync.

    • Select channel from the drop-down menu.

    • Add the Title.

    • [Optional] Enter a Message to send with your answer or view.

    • If your chosen source is an answer, the Include image and Include CSV checkboxes appear. Otherwise, ThoughtSpot sends your data as a CSV.

  5. By default, “Sync and save” is selected. Click Save to send your answer or SQL view to Slack.

Manage pipelines

While you can also manage a pipeline from the Pipelines tab in the Data Workspace, accessing the Manage pipelines option from an answer or view displays all pipelines local to that specific data object. To manage a pipeline from an answer or view, follow these steps:

  1. Click the more options menu icon icon more 10px and select Manage pipelines.

  2. Scroll to the name of your pipeline from the list that appears. Next to the pipeline name, select the more options icon icon more 10px. From the list that appears, select:

    • Edit to edit the pipeline’s properties. For example, for a pipeline to Google Sheets, you can edit the pipeline name, destination, file name, sheet name, or cell number.

    • Delete to permanently delete the pipeline.

    • Sync now to sync your answer or view to the designated destination.

    • View run history to see the pipeline’s Activity log in the Data Workspace.

      ts sync manage pipelines