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

Name

Reference

Type

Required

Default

Options

Description

API Token

THOUGHTSPOT_TOKEN

Password

-

-

The API token generated by Thoughtspot

Answer ID

THOUGHTSPOT_ANSWER_ID

Alphanumeric

-

-

The GUID of the desired Answer report

File Format

THOUGHTSPOT_FILE_FORMAT

Select

csv

CSV: csv

PDF: pdf

PNG: png

XSLX: xlsx

The file type of the downloaded file to have

Runtime Filter

THOUGHTSPOT_RUNTIME_FILTER

Alphanumeric

-

-

The optional column filter to filter the data before export

Runtime Sort

THOUGHTSPOT_RUNTIME_SORT

Alphanumeric

-

-

The optional column sort to arrange the data before export

File Name

THOUGHTSPOT_FILE_NAME

Alphanumeric

answer

-

The name that the downloaded answer report should be saved to

YAML

Below is the YAML template for this Template and can be used in the Fleet YAML Editor.

CODE
source:
  blueprint: Thoughtspot - Export Answer Report
  inputs:
    THOUGHTSPOT_TOKEN: null  ## REQUIRED
    THOUGHTSPOT_ANSWER_ID: null ## REQUIRED
    THOUGHTSPOT_FILE_FORMAT: csv ## REQUIRED
    THOUGHTSPOT_RUNTIME_FILTER: null
    THOUGHTSPOT_RUNTIME_SORT: null
    THOUGHTSPOT_FILE_NAME: answer
  type: BLUEPRINT
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.