Overview
The "Hubspot - Download List Data to Workflows" blueprint on Workflows allows you to export selected data fields from a specific Hubspot list. Simply provide your Hubspot Access Token, specify the list ID and desired data fields, set a filename (which will auto-append .csv), and initiate the process.
Variables
|
Name |
Reference |
Type |
Required |
Default |
Options |
Description |
|---|---|---|---|---|---|---|
|
Access Token |
HUBSPOT_ACCESS_TOKEN |
Password |
✅ |
- |
- |
Token for authenticating with Hubspot. This ensures secure access to the Hubspot account for exporting data. |
|
Export Job Name |
HUBSPOT_EXPORT_NAME |
Alphanumeric |
✅ |
- |
- |
A unique name to identify the export job. Useful for referencing and tracking the job later. |
|
ILS List ID |
HUBSPOT_LIST_ID |
Alphanumeric |
✅ |
- |
- |
The unique ID of the Hubspot list you wish to export. Ensure the list exists in your Hubspot account. |
|
Object Properties to Export |
HUBSPOT_OBJECT_PROPERTIES |
Alphanumeric |
➖ |
- |
- |
Comma-separated list of object properties from the Hubspot list that you want to export. Ensure these properties exist for the specified list. |
|
Destination Filename |
HUBSPOT_DESTINATION_FILENAME |
Alphanumeric |
✅ |
- |
- |
The desired filename for the exported data. The file will be saved with a .csv extension. |
|
Hubspot Data Type |
HUBSPOT_OBJECT_TYPE |
Select |
✅ |
contacts |
Contacts: contacts
|
Select which data object is that is included in the list. |
YAML
Below is the YAML template
source:
template: Hubspot - Download List Data to Workflows
inputs:
HUBSPOT_ACCESS_TOKEN:
HUBSPOT_EXPORT_NAME:
HUBSPOT_LIST_ID:
HUBSPOT_OBJECT_PROPERTIES:
HUBSPOT_DESTINATION_FILENAME:
HUBSPOT_OBJECT_TYPE: contacts
type: TEMPLATE
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- 102
- 201
- 202
- 206