Skip to main content
Skip table of contents

Looker - Download Dashboard as File to Workflows

Overview

Quickly download a Looker Dashboard as a PDF, PNG, or JPG.

Variables

NameReferenceTypeRequiredDefaultOptionsDescription
Looker URLLOOKER_URLAlphanumericNone-The base URL of your organization's looker instance. Include https://
Looker Client IDLOOKER_CLIENT_IDPasswordNone-The Client ID generated from Looker for API access
Looker Client SecretLOOKER_CLIENT_SECRETPasswordNone-The secret key generated from Looker for API access
Looker Dashboard IDLOOKER_DASHBOARD_IDAlphanumericNone-The identifier for the specific Dashboard you are intending to download
File TypeLOOKER_FILE_TYPESelectpngPDF (.pdf): pdf

PNG (.png): png

JPG (.jpg): jpg
The type of file that will be generated from the Dashboard.
Folder NameLOOKER_DESTINATION_FOLDER_NAMEAlphanumericNone-Folder where the file will be created. Leave blank to store in the current working directory
File NameLOOKER_DESTINATION_FILE_NAMEAlphanumericNone-File name that will be created for the Look being downloaded. Include the extension and ensure that it matches the selected File Type.
Output HeightLOOKER_OUTPUT_HEIGHTInteger800-The size (in pixels) for the height of the downloaded dashboard
Output WidthLOOKER_OUTPUT_WIDTHInteger800-The size (in pixels) for the width of the downloaded dashboard

YAML

Below is the YAML template

YAML

source:
  template: Looker - Download Dashboard as File to Workflows
  inputs:
    LOOKER_URL:
    LOOKER_CLIENT_ID:
    LOOKER_CLIENT_SECRET:
    LOOKER_DASHBOARD_ID:
    LOOKER_FILE_TYPE: png
    LOOKER_DESTINATION_FOLDER_NAME:
    LOOKER_DESTINATION_FILE_NAME:
    LOOKER_OUTPUT_HEIGHT: '800'
    LOOKER_OUTPUT_WIDTH: '800'
  type: TEMPLATE
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 101
    - 102
    - 103
    - 203
    - 204
    - 205
    - 206
    - 207
    - 208
    - 209

      
JavaScript errors detected

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

If this problem persists, please contact our support.