Overview
This node integrates with the GoHighLevel API to create an opportunity within a specified pipeline and stage, associating it with a contact. It is useful for automating sales processes by programmatically adding new sales opportunities linked to existing contacts in a CRM system. For example, when a new lead is qualified, this node can create an opportunity in the appropriate sales pipeline stage to track progress.
Use Case Examples
- Creating a new sales opportunity for a contact after a successful lead qualification.
- Automating opportunity creation in a sales pipeline based on external triggers or events.
Properties
| Name | Meaning |
|---|---|
| Pipeline ID | The ID of the sales pipeline where the opportunity will be created. This ID can be found using the 'Get All' operation for opportunities. |
| Stage ID | The ID of the stage within the pipeline where the opportunity will be placed. |
| Opportunity Name | The name of the opportunity to be created. |
| Contact ID | The ID of the contact to associate with the opportunity. |
Output
JSON
id- The unique identifier of the created opportunity.pipelineId- The ID of the pipeline where the opportunity was created.locationId- The location ID associated with the opportunity, derived from credentials.name- The name of the opportunity.stageId- The ID of the stage within the pipeline.status- The status of the opportunity, typically 'open' upon creation.contactId- The ID of the contact associated with the opportunity.
Dependencies
- Requires an API key credential for GoHighLevel API authentication.
- Uses the GoHighLevel API endpoint at https://services.leadconnectorhq.com.
Troubleshooting
- Common issues include invalid or missing API key, resulting in authentication errors.
- Incorrect pipelineId, stageId, or contactId may cause the API to reject the creation request.
- Network connectivity issues can prevent successful API calls.
- Error messages from the API typically indicate the cause, such as 'Unauthorized' for invalid credentials or 'Bad Request' for missing required fields.
Links
- GoHighLevel API Documentation - Official API documentation for GoHighLevel, useful for understanding available endpoints and required parameters.