Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The HubSpot connection the step signs in with. |
| Object | "contacts" or "companies" or "deals" or "tickets" or "notes" or "tasks" or "calls" or "meetings" or "emails" or "leads" or "products" or "line_items" or "custom" |
| Custom object type id | The object type id, e.g. 2-1234567. The List properties node shows it. |
| Properties to fetch | Comma-separated. HubSpot leaves out anything you do not ask for. |
| Associated objects | Comma-separated object names to return associated ids for. |
| Look in the recycling bin | true/false |
| Records per call | 1 to 100. HubSpot's own default is 10, so this is always sent. |
| Start after | A paging cursor from an earlier run of this node. Leave empty to start over. |
| Fetch every page | Follows HubSpot's paging cursor, and refuses past 5,000 records rather than answering a short list. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `hubspot`) |
object | "contacts" or "companies" or "deals" or "tickets" or "notes" or "tasks" or "calls" or "meetings" or "emails" or "leads" or "products" or "line_items" or "custom", by default "contacts" |
customObjectType | textused when `object` is "custom" |
properties | text |
associations | text |
archived | true/false, by default false |
limit | number, by default 100 |
after | text |
returnAll | true/false, by default false |
Output
| Field | Type |
|---|---|
records | array |
recordCountRecords in this answer | number |
hasMoreMore records are waiting behind this page | boolean |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- hasMorefalse
- nextCursor""
- recordCount0
- records[]
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"after": "",
"archived": false,
"associations": "",
"connection": "<connection id>",
"customObjectType": "",
"limit": 100,
"object": "contacts",
"properties": "",
"returnAll": false
},
"label": "List records",
"type": "hubspot.listRecords",
"version": 1
}