Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The HubSpot connection the step signs in with. |
| NoteRequired | HubSpot stores a note's body as HTML. |
| Time on the note | HubSpot requires a time on every note. The default is the moment it runs. |
| Write it on | "contacts" or "companies" or "deals" or "tickets" |
| Record idRequired | text |
| Attached file ids | File ids from the Upload file node. HubSpot separates several ids with a semicolon, and the value is sent exactly as you write it. |
| 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`) |
body | text |
timestamp | text, by default "{{ $macro.date.iso() }}"its `{{ }}` must give a string |
associateToObject | "contacts" or "companies" or "deals" or "tickets", by default "contacts" |
associateToId | textits `{{ }}` must give a string |
attachmentFileIds | text |
ownerId | texta value from the vendor's own list |
Output
| Field | Type |
|---|---|
noteId | string |
note | object |
Sample output, and the expression for each field
- note
- id"1"
- noteId"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",
"attachmentFileIds": "",
"body": "<note>",
"connection": "<connection id>",
"ownerId": "",
"timestamp": "{{ $macro.date.iso() }}"
},
"label": "Create note",
"type": "hubspot.createNote",
"version": 1
}