Update Opportunity
highlevel.update_opportunity
ActionCRM & salesconnection required
Calls the HighLevel API with the connection's credentials.
Update an opportunity; only the fields you fill in are sent.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- HighLevel
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"} for a marketplace app, or {"access_token": "…"} for a Private Integration Token
- Config it needs
- location_id, user_type, base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
8 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 |
|---|---|---|---|---|---|
opportunity_id The opportunity id. | string | Yes | — | — | — |
name New opportunity name. | string | No | — | — | — |
pipeline_id Move it to this pipeline. | string | No | — | — | — |
pipeline_stage_id Move it to this stage. | string | No | — | — | — |
status New status — HighLevel accepts only the listed values. | string | No | — | one of "open", "won", "lost", "abandoned" | — |
monetary_value New deal value. | number | No | — | ≥ 0 | — |
assigned_to User id to assign it to. | string | No | — | — | — |
custom_fields HighLevel's customFields list, as JSON — one entry per field, each with the field's id (or key) and its value. | array | No | — | array of object | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The opportunity id. | string | — |
name Opportunity name. | string | — |
monetaryValue Deal value. | number | — |
pipelineId The pipeline it sits in. | string | — |
pipelineStageId The stage it sits in. | string | — |
status open, won, lost or abandoned. | string | — |
contactId The contact it belongs to. | string | — |
locationId The sub-account it belongs to. | string | — |
assignedTo User id it is assigned to. | string | — |
createdAt When it was created (ISO-8601). | string | — |
updatedAt When it last changed (ISO-8601). | string | — |
{
"assignedTo": "",
"contactId": "",
"createdAt": "",
"id": "",
"locationId": "",
"monetaryValue": 0,
"name": "",
"pipelineId": "",
"pipelineStageId": "",
"status": "",
"updatedAt": ""
}See Update Opportunity run in a workflow.
In a technical demo we add the HighLevel connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.