Thoughtspot - Download Search Results to Workflows
Overview
Quickly download a natural language Thoughtspot query to a csv
Variables
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
API Token | THOUGHTSPOT_TOKEN | Password | ✅ | - | - | The API token generated from Thoughtspot |
Query | THOUGHTSPOT_QUERY | Alphanumeric | ✅ | - | - | The query you want to download the results for |
Table ID | THOUGHTSPOT_TABLE_ID | Alphanumeric | ✅ | - | - | The GUID for the table to query |
Rows | THOUGHTSPOT_ROWS | Alphanumeric | ➖ | - | - | The number of rows to be returned. If omitted, then all will be returned |
File Name | THOUGHTSPOT_FILE_NAME | Alphanumeric | ➖ | search_data.csv | - | The name of the file to be downloaded. Will default to search_data.csv |
YAML
Below is the YAML template
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