Skip to main content
Skip table of contents

Thoughtspot - Export Answer Report

Overview

Quickly export a Thoughtspot answer into a variety of formats ranging from CSV, PNG, PDF, and XLSX

Variables

NameReferenceTypeRequiredDefaultOptionsDescription
API TokenTHOUGHTSPOT_TOKENPassword--The API token generated by Thoughtspot
Answer IDTHOUGHTSPOT_ANSWER_IDAlphanumeric--The GUID of the desired Answer report
File FormatTHOUGHTSPOT_FILE_FORMATSelectcsvCSV: csv

PDF: pdf

PNG: png

XSLX: xlsx
The file type of the downloaded file to have
Runtime FilterTHOUGHTSPOT_RUNTIME_FILTERAlphanumeric--The optional column filter to filter the data before export
Runtime SortTHOUGHTSPOT_RUNTIME_SORTAlphanumeric--The optional column sort to arrange the data before export
File NameTHOUGHTSPOT_FILE_NAMEAlphanumericanswer-The name that the downloaded answer report should be saved to

YAML

Below is the YAML template

YAML

source:
  template: Thoughtspot - Export Answer Report
  inputs:
    THOUGHTSPOT_TOKEN:
    THOUGHTSPOT_ANSWER_ID:
    THOUGHTSPOT_FILE_FORMAT: csv
    THOUGHTSPOT_RUNTIME_FILTER:
    THOUGHTSPOT_RUNTIME_SORT:
    THOUGHTSPOT_FILE_NAME: answer
  type: TEMPLATE
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 201
    - 202
    - 203
    - 204

      
JavaScript errors detected

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

If this problem persists, please contact our support.