Skip to main content
Skip table of contents

Thoughtspot - Download Search Results to Workflows

Overview

Quickly download a natural language Thoughtspot query to a csv

Variables

NameReferenceTypeRequiredDefaultOptionsDescription
API TokenTHOUGHTSPOT_TOKENPassword--The API token generated from Thoughtspot
QueryTHOUGHTSPOT_QUERYAlphanumeric--The query you want to download the results for
Table IDTHOUGHTSPOT_TABLE_IDAlphanumeric--The GUID for the table to query
RowsTHOUGHTSPOT_ROWSAlphanumeric--The number of rows to be returned. If omitted, then all will be returned
File NameTHOUGHTSPOT_FILE_NAMEAlphanumericsearch_data.csv-The name of the file to be downloaded. Will default to search_data.csv

YAML

Below is the YAML template

YAML

source:
  template: Thoughtspot - Download Search Results to Workflows
  inputs:
    THOUGHTSPOT_TOKEN:
    THOUGHTSPOT_QUERY:
    THOUGHTSPOT_TABLE_ID:
    THOUGHTSPOT_ROWS:
    THOUGHTSPOT_FILE_NAME: search_data.csv
  type: TEMPLATE
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 202

      
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.