Workflow blocks
Create Company
Create a HubSpot company
hubspot/create-company — Create a HubSpot company.
Where it appears
The Create Company block lives in the Integrations group of the Workflow Builder. Connect the Hubspot integration before adding it.
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
propertiesJson | code | Yes | — | JSON object of HubSpot company properties to set on the new company (e.g. name, domain). Property keys must match your HubSpot schema. |
Inputs and outputs
Inputs are the configurable fields above. The block produces these outputs:
Outputs
Reference an output downstream with <Create Company.field>.
| Name | Type | Description |
|---|---|---|
success | boolean | Operation succeeded |
company | json | Created company |
error | string | Error message if failed |
Example
A minimal configuration for this block:
{
"type": "hubspot/create-company",
"config": {
"propertiesJson": "..."
}
}Limits and failure modes
- Requires a connected Hubspot integration. Calls fail if that integration is disconnected or its authorization has expired.
- Required field (
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.