FlowmageDocs

Remove association

BetaChanges data

Unlinks two HubSpot records, labels included.

Settings

SettingWhat it is
ConnectionRequiredThe 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 idThe object type id, e.g. 2-1234567.
From record idRequiredtext
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 idThe object type id, e.g. 2-1234567.
To record idRequiredtext
Technical details
KeyValue
connectiontexta 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"
fromCustomObjectTypetextused when `fromObject` is "custom"
fromIdtextits `{{ }}` 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"
toCustomObjectTypetextused when `toObject` is "custom"
toIdtextits `{{ }}` must give a string

Output

FieldType
dissociatedUnlinked by this runboolean
alreadyGoneThere was no link leftboolean
fromObjectIdFrom record idstring
toObjectIdTo record idstring
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
}