Overview
Download any Domo dataset as a csv. The entire dataset will be download, be aware of potential memory constraints if the dataset is very large ( greater than 1M rows). Either a username/password or an access token should be provided. If both are provided, the access token will be preferred.
Variables
|
Name |
Reference |
Type |
Required |
Default |
Options |
Description |
|---|---|---|---|---|---|---|
|
Client ID |
DOMO_CLIENT_ID |
Password |
✅ |
None |
- |
Client ID is generated in the Domo Developer Portal. The ID should have the following scope: data, workflow, user, account, dashboard |
|
Secret Key |
DOMO_SECRET_KEY |
Password |
✅ |
None |
- |
The secret attached to the generated Client ID |
|
DOMO Dataset ID |
DOMO_DATASET_ID |
Alphanumeric |
✅ |
None |
- |
The id of the dataset desired to be replaced. Can be acquired from the url of the dataset |
|
Local Destination Folder Name |
DOMO_DESTINATION_FOLDER |
Alphanumeric |
➖ |
None |
- |
The file path of where the csv should be downloaded to. If left blank, then the file will be saved in the current working directory. |
|
Workflows File Name |
DOMO_DESTINATION_FILE_NAME |
Alphanumeric |
✅ |
None |
- |
The name for the csv file once it is downloaded |
YAML
Below is the YAML template
source:
template: Domo - Download Dataset to Workflows
inputs:
DOMO_CLIENT_ID:
DOMO_SECRET_KEY:
DOMO_DATASET_ID:
DOMO_DESTINATION_FOLDER:
DOMO_DESTINATION_FILE_NAME:
type: TEMPLATE
guardrails:
retry_count: 0
retry_wait: 0h5m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- 101
- 115
- 116
- 201
- 203