StyloDocs
Workflow blocks

Create Company

Create a HubSpot company

View as Markdown

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

FieldTypeRequiredDefaultDescription
propertiesJsoncodeYesJSON 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>.

NameTypeDescription
successbooleanOperation succeeded
companyjsonCreated company
errorstringError 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 error output is populated; downstream blocks that reference other outputs may not receive values.

On this page