Delete Association
hubspot.delete_association
ActionCRM & salesconnection required
Calls the HubSpot API with the connection's credentials.
Remove every association between two records with DELETE /crm/v4/objects/{fromType}/{id}/associations/{toType}/{id}. Labelled and unlabelled associations between the pair all go.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- HubSpot
- Secret shape
- the HubSpot private-app token, or {"token": "…"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 4 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
from_object_type Object type of the record the association starts from. | string | Yes | — | — | contact |
from_object_id The HubSpot record id of the record the association starts from. | string | Yes | — | — | 101 |
to_object_type Object type of the record it points to. | string | Yes | — | — | company |
to_object_id The HubSpot record id of the record it points to. | string | Yes | — | — | 202 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"from_object_id": "101",
"from_object_type": "contact",
"to_object_id": "202",
"to_object_type": "company"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok True once HubSpot accepted the removal. | boolean | — |
fromObjectId Id of the record the association started from. | string | — |
toObjectId Id of the record it pointed to. | string | — |
{
"fromObjectId": "",
"ok": false,
"toObjectId": ""
}Notes
- This removes the association only; neither record is deleted.
See Delete Association run in a workflow.
In a technical demo we add the HubSpot connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.