Create Association
Creates an association in HubSpot.
This node is also exposed as an AI Agent tool.
This node has 1 input port and 1 output port.
Common Properties
Every node shares these.
- Name — the node's display name on the canvas.
- Color — the node's colour on the canvas.
- Delay Before (sec) — wait this long before the node runs.
- Delay After (sec) — wait this long after the node runs.
- Continue On Error — carry on instead of failing the flow. Defaults to false.
info
When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.
Inputs
| Property | Field | Description |
|---|---|---|
| Client ID | inClientID | Client ID from Connect node (optional if credentials provided) |
| From Object ID | inFromObjectID | ID of the source object |
| From Object Type | inFromObjectType | Source object type (contacts، companies، deals، tickets) |
| To Object ID | inToObjectID | ID of the target object |
| To Object Type | inToObjectType | Target object type (contacts، companies، deals، tickets) |
Options
| Property | Field | Description |
|---|---|---|
| Association Type | optAssociationType | Type of association One of: contact_to_company, contact_to_deal, contact_to_ticket, company_to_contact, company_to_deal, company_to_ticket, deal_to_contact, deal_to_company, deal_to_ticket, ticket_to_contact, ticket_to_company, ticket_to_deal. |
| Credentials | optCredentials | HubSpot credentials (optional - use instead of Connect node) |
Requirements
- A Client ID from this package's Connect node, unless you set credentials directly on this node.
- Private App Access Token — Access token from a HubSpot Private App
value— Access Token (password, required). Private App access token from HubSpot
- OAuth2 — OAuth2 authorization for user-level access
_redirect_url— Redirect URL (readonly, optional). Add this to your HubSpot app's Redirect URLsclient_id— Client ID (text, required). OAuth2 Client ID from HubSpot Developer Accountclient_secret— Client Secret (password, required). OAuth2 Client Secret
Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.
Related nodes
Elsewhere in the package: Connect · Disconnect · Create Contact · Get Contact · Update Contact · Delete Contact · List Contacts · Search Contacts · Create Company · Get Company and 16 more
See also
- HubSpot — every node in this package
- Message object — how properties read values from
msg - Handling failure — Continue On Error, Catch and retries