Domo - Download Card to Workflows
Overview
Download a card from Domo as a CSV, XLSX, or PPT file. Typically used for pulling live data and sending the output to a messaging service, like Email or Slack. Authentication can be provided with either an access token or a combination of username and password. If both are provided, access token will be preferred.
Variables
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
Access Token | DOMO_ACCESS_TOKEN | Password | ✅ | None | - | Access token to authenticate with Domo. Used in place of username/password. |
Domo Instance | DOMO_INSTANCE | Alphanumeric | ✅ | None | - | Typically found in the URL structure as https://DOMOINSTANCE.domo.com |
Card ID | DOMO_CARD_ID | Alphanumeric | ✅ | None | - | Numeric ID of the card you want to download, typically found at the end of the URL. |
Download As | DOMO_FILE_TYPE | Select | ✅ | csv | .csv: csv .xlsx: excel .ppt: ppt | File format to download the specified card as. |
File Name | DOMO_DESTINATION_FILE_NAME | Alphanumeric | ✅ | None | - | File name that will be created for the card being downloaded. Include the extension. |
Folder Name | DOMO_DESTINATION_FOLDER_NAME | Alphanumeric | ➖ | None | - | Folder where the file will be created. Leave blank to store in the current working directory |
YAML
Below is the YAML template
source:
template: Domo - Download Card to Workflows
inputs:
DOMO_ACCESS_TOKEN:
DOMO_INSTANCE:
DOMO_CARD_ID:
DOMO_FILE_TYPE: csv
DOMO_DESTINATION_FILE_NAME:
DOMO_DESTINATION_FOLDER_NAME:
type: TEMPLATE
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- 201
- 203
- 101
- 102
- 103
- 105
- 116