Workflow blocks
Update Contact
Update a HubSpot contact
hubspot/update-contact — Update a HubSpot contact.
Where it appears
The Update Contact block lives in the Integrations group of the Workflow Builder. Connect the Hubspot integration before adding it.
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
contactId | text (supports references) | Yes | — | HubSpot contact ID to update. Use a literal ID or <StepName.field> to reference an ID from a previous step. |
propertiesJson | code | Yes | — | JSON object of HubSpot contact properties to update. Only the keys you include are changed. |
Inputs and outputs
Inputs are the configurable fields above. The block produces these outputs:
Outputs
Reference an output downstream with <Update Contact.field>.
| Name | Type | Description |
|---|---|---|
success | boolean | Operation succeeded |
contact | json | Updated contact |
error | string | Error message if failed |
Example
A minimal configuration for this block:
{
"type": "hubspot/update-contact",
"config": {
"contactId": "<PreviousStep.field>",
"propertiesJson": "..."
}
}Limits and failure modes
- Requires a connected Hubspot integration. Calls fail if that integration is disconnected or its authorization has expired.
- Required fields (
contactId,propertiesJson) must be set, or the block fails validation before it runs. - On failure the
erroroutput is populated; downstream blocks that reference other outputs may not receive values.