Create Deal
hubspot.create_deal
ActionCRM & salesconnection required
Calls the HubSpot API POST /crm/v3/objects/deals.
Create a deal in HubSpot CRM.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- HubSpot
- Secret shape
- the HubSpot private-app token
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 1 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 |
|---|---|---|---|---|---|
dealname Deal name. Supports {{ }}. | string | Yes | — | — | — |
amount Deal amount; blank leaves it out of the call. | string | No | — | — | — |
dealstage Pipeline stage id. | string | No | — | — | — |
pipeline Id of the pipeline, from hubspot.list_pipelines; blank leaves it out. | string | No | — | — | — |
properties Extra deal properties (JSON). | object | No | — | — | — |
Output
One shape.
deal
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
deal_id | string | — |
{
"deal_id": "",
"ok": false
}See Create Deal 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.