Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The HubSpot connection the step signs in with. |
| From 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" |
| From custom object type id | The object type id, e.g. 2-1234567. |
| From record idRequired | text |
| To 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" |
| To custom object type id | The object type id, e.g. 2-1234567. |
| To record idRequired | text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `hubspot`) |
fromObject | "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" |
fromCustomObjectType | textused when `fromObject` is "custom" |
fromId | textits `{{ }}` must give a string |
toObject | "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 "companies" |
toCustomObjectType | textused when `toObject` is "custom" |
toId | textits `{{ }}` must give a string |
Output
| Field | Type |
|---|---|
dissociatedUnlinked by this run | boolean |
alreadyGoneThere was no link left | boolean |
fromObjectIdFrom record id | string |
toObjectIdTo record id | string |
Sample output, and the expression for each field
- alreadyGonefalse
- dissociatedtrue
- fromObjectId"1"
- toObjectId"2"
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>",
"fromCustomObjectType": "",
"fromId": "<from record id>",
"fromObject": "contacts",
"toCustomObjectType": "",
"toId": "<to record id>",
"toObject": "companies"
},
"label": "Remove association",
"type": "hubspot.dissociateRecords",
"version": 1
}