Looker - Download Look as File to Workflows
Overview
Quickly download a Look from Looker as a variety of file types.
Variables
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
Looker URL | LOOKER_URL | Alphanumeric | ✅ | None | - | The base URL of your organization's looker instance. Include https:// |
Looker Client ID | LOOKER_CLIENT_ID | Password | ✅ | None | - | The Client ID generated from Looker for API access |
Looker Client Secret | LOOKER_CLIENT_SECRET | Password | ✅ | None | - | The secret key generated from Looker for API access |
Looker Look ID | LOOKER_LOOK_ID | Alphanumeric | ✅ | None | - | The identifier for the specific Look you are intending to download |
File Type | LOOKER_FILE_TYPE | Select | ✅ | png | JSON (.json): json Text (.txt): txt CSV (.csv): csv JSON Detail (.json): json_detail Markdown (.md): md Excel (.xlsx): xlsx SQL (.sql): sql PNG (.png): png JPG (.jpg): jpg | The type of file that will be generated from the Look. |
Folder Name | LOOKER_DESTINATION_FOLDER_NAME | Alphanumeric | ➖ | None | - | Folder where the file will be created. Leave blank to store in the current working directory |
File Name | LOOKER_DESTINATION_FILE_NAME | Alphanumeric | ✅ | None | - | File name that will be created for the Look being downloaded. Include the extension and ensure that it matches the selected File Type. |
YAML
Below is the YAML template
source:
template: Looker - Download Look as File to Workflows
inputs:
LOOKER_URL:
LOOKER_CLIENT_ID:
LOOKER_CLIENT_SECRET:
LOOKER_LOOK_ID:
LOOKER_FILE_TYPE: png
LOOKER_DESTINATION_FOLDER_NAME:
LOOKER_DESTINATION_FILE_NAME:
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