Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The HubSpot connection the step signs in with. |
| TitleRequired | text |
| Notes | HubSpot stores a task's notes as HTML. |
| Due | HubSpot requires a due time on every task. The default is the moment it runs. |
| Status | "NOT_STARTED" or "IN_PROGRESS" or "WAITING" or "COMPLETED" or "DEFERRED" |
| Priority | "NONE" or "LOW" or "MEDIUM" or "HIGH" |
| Put it on | "contacts" or "companies" or "deals" or "tickets" |
| Record idRequired | text |
| Owner id | The List owners node gives you the id. Use its id, never its userId. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `hubspot`) |
subject | textits `{{ }}` must give a string |
body | text |
timestamp | text, by default "{{ $macro.date.iso() }}"its `{{ }}` must give a string |
status | "NOT_STARTED" or "IN_PROGRESS" or "WAITING" or "COMPLETED" or "DEFERRED", by default "NOT_STARTED" |
priority | "NONE" or "LOW" or "MEDIUM" or "HIGH", by default "NONE" |
associateToObject | "contacts" or "companies" or "deals" or "tickets", by default "contacts" |
associateToId | textits `{{ }}` must give a string |
ownerId | texta value from the vendor's own list |
Output
| Field | Type |
|---|---|
taskId | string |
task | object |
Sample output, and the expression for each field
- task
- id"1"
- taskId"1"
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": {
"associateToId": "<record id>",
"associateToObject": "contacts",
"body": "",
"connection": "<connection id>",
"ownerId": "",
"priority": "NONE",
"status": "NOT_STARTED",
"subject": "<title>",
"timestamp": "{{ $macro.date.iso() }}"
},
"label": "Create task",
"type": "hubspot.createTask",
"version": 1
}