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. |
| Record idRequired | The record's HubSpot id, or the value of the unique property named below. |
| Look up by property | Leave empty to address the record by its HubSpot record id. Fill in email to address a contact by e-mail, or the internal name of any unique-identifier property. |
| Properties | One row per property, keyed by its internal name. Set hs_pinned_engagement_id to pin an activity to the top of the record. |
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" |
recordId | textits `{{ }}` must give a string |
idProperty | text |
properties | object (any keys), by default {} |
Output
| Field | Type |
|---|---|
recordId | string |
record | object |
properties | object |
Sample output, and the expression for each field
- properties{}
- record
- id"1"
- recordId"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": {
"connection": "<connection id>",
"customObjectType": "",
"idProperty": "",
"object": "contacts",
"properties": {},
"recordId": "<record id>"
},
"label": "Update record",
"type": "hubspot.updateRecord",
"version": 1
}