opportunities_upsert_opportunity
Create or update a GoHighLevel opportunity with details like pipeline, stage, value, status, and assigned user. Manage followers by adding or removing contacts.
Instructions
Upsert Opportunity
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pipelineId": "<pipelineId>",
"followers": "<followers>",
"isRemoveAllFollowers": "<isRemoveAllFollowers>",
"followersActionType": "<followersActionType>"
},
"name": "opportunities_upsert_opportunity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | opportunityId | |
| name | No | name | |
| status | No | ||
| followers | Yes | contactId | |
| assignedTo | No | ||
| locationId | No | locationId Defaults to GHL_LOCATION_ID when omitted. | |
| pipelineId | Yes | pipeline Id | |
| lostReasonId | No | lost reason Id | |
| monetaryValue | No | ||
| pipelineStageId | No | ||
| followersActionType | Yes | followers action type | |
| isRemoveAllFollowers | Yes | isRemoveAllFollowers |