DocumentationWorkflowsApps and services
HubSpot Deals node
Deals in the HubSpot sales pipeline: search, view, create, update. Uses your connected HubSpot account (Sidebar → Connectors) and calls CRM v3 directly. Learn how to configure it, map inputs and outputs, run a test and resolve common errors.
9 min readUpdated
What this node does
Deals in the HubSpot sales pipeline: search, view, create, update. Uses your connected HubSpot account (Sidebar → Connectors) and calls CRM v3 directly.
Use HubSpot Deals as a clearly defined step in an anymize workflow.
- Processes one input.
- Provides one output for following steps.
- Runs as a regular step in the flow.
Set up the node
- 01Open a workflow and add HubSpot Deals from the node catalog.
- 02If your HubSpot account is not connected yet, connect it right in the node panel or under Connectors.
- 03Complete the required fields and map values from previous steps.
- 04Run the node with a small test record and inspect its output.
- 05Connect the successful output and activate the workflow after an end-to-end test.
Operations and modes
Choose the required function in Action. The panel then shows the relevant settings.
- Search deals
- Read deal
- Create deal
- Update deal
- Delete deal
- List properties
- Get property definition
Settings
| Field | Meaning | Area |
|---|---|---|
| Action | Choices: Search deals, Read deal, Create deal, Update deal, Delete deal, List properties, Get property definition | Standard |
| Search term | Searches the deal name (and other default properties). Empty = all deals (up to the count below). | Standard |
| Count (max. 100) | Configure this value in the node panel. | Standard |
| Deal ID | Configure this value in the node panel. | Standard |
| Deal name | Configure this value in the node panel. | Standard |
| Amount | Configure this value in the node panel. | Standard |
| Pipeline | Configure this value in the node panel. | Standard |
| Stage | The pipeline stage, e.g. „qualifiedtobuy“. You'll find it in your HubSpot deal settings. | Standard |
| More fields | Additional HubSpot fields as field → value. | Standard |
| Properties to read | Internal property names, separated by commas. Custom HubSpot properties are supported. Leave empty to use the defaults. | Standard |
| Next page | Use paging.next.after from the previous result. | Standard |
| Search filters | HubSpot filter groups with internal property names and operators. | Standard |
| Sort | One internal property name. Prefix it with a minus sign to sort in descending order. | Standard |
| Associated objects | Configure this value in the node panel. | Standard |
| Unique ID property | Optional internal name of a unique property instead of the record ID. | Standard |
| Internal property name | Configure this value in the node panel. | Standard |
| Run once per item | Off (default): the node runs once for the whole input. On: if it receives several items (e.g. from Split Out), it runs once PER item, and {{ $json }} is that one item each time. This is how you work through a file list entry by entry. | Standard |
| If one item fails | "Skip" writes an `error` field for the failed item and keeps processing the rest, instead of losing the whole run to a single unreadable file. | Standard |
| Pause between items (milliseconds) | Wait before every run except the first. 1000 = 1 second per item. Useful when the other side would otherwise throttle you. Maximum 300000 (5 minutes). | Standard |
Inputs and outputs
| Input | Meaning | Type |
|---|---|---|
| Standard | Receives the complete result from the previous step. | JSON |
| Output | Meaning | Type |
|---|---|---|
| Standard | Makes the result available to the next step as JSON. | JSON |
This node can process lists item by item. Error handling and the delay between items are available in advanced settings.
Example and test run
Create new deal from form: begin with a small, recognizable record. Inspect the output and only map fields that are present there.
Test-run example
{
"dealname": "Enterprise Plan, Acme Corp",
"amount": 12000,
"pipeline": "default",
"dealstage": "qualifiedtobuy"
}Access and security
The node works with your own connected HubSpot account. It only sees and changes what this account is allowed to. Check the permissions shown when you connect.
"Allowed actions" in the settings of your HubSpot connection under Connectors also applies to this node and is checked on every run. With "Read only" or "Read and draft", only the read actions run: Search deals, Read deal, List properties, Get property definition. These actions need "Allow changes": Create deal, Update deal, Delete deal.
Keys and credentials belong in Workflow Secrets or your connected accounts. Never paste them as plain text into workflow fields, test data or descriptions.
Troubleshooting
- No output: inspect the latest run and confirm that the previous node returned the expected fields.
- Empty variable: open the previous step output and use a field name from the real test data.
- Connection rejected: reconnect the service and grant the permissions required by this step.
- Action blocked: set "Allowed actions" of the connection under Connectors to "Allow changes", or pick a read action.
- List processed once: enable per-item execution in advanced settings.