Actions16
Overview
The HighLevel node for n8n allows you to interact with the HighLevel API. Specifically, when using the Opportunity resource and the Delete operation, this node enables users to delete an existing opportunity from a specified pipeline in their HighLevel account. This is useful for automating CRM workflows, such as cleaning up outdated opportunities or integrating HighLevel with other systems where opportunity lifecycle management is required.
Example scenarios:
- Automatically remove opportunities that have been marked as lost in another system.
- Clean up test or duplicate opportunities during data maintenance routines.
Properties
| Name | Type | Meaning |
|---|---|---|
| Pipeline ID | options | The identifier of the pipeline containing the opportunity. You can select from a list of pipelines or specify an ID using an expression. This helps ensure the correct context for the opportunity being deleted. |
| Opportunity ID | string | The unique identifier of the opportunity to be deleted. This field is required and specifies exactly which opportunity will be removed from the selected pipeline. |
Output
- The output will typically contain a
jsonfield indicating the result of the delete operation. This may include confirmation of deletion or details about the deleted opportunity, depending on the API's response. - No binary data is produced by this operation.
Dependencies
- External Service: Requires access to the HighLevel API.
- API Key: You must configure valid HighLevel API credentials in n8n under the name
highLevelApi. - n8n Configuration: Ensure the node is properly authenticated and has network access to
https://rest.gohighlevel.com/v1.
Troubleshooting
Common Issues:
- Invalid Opportunity ID: If the provided Opportunity ID does not exist or is incorrect, the API may return a "Not Found" error.
- Missing Permissions: If the API key lacks permission to delete opportunities, you may receive a "Forbidden" or "Unauthorized" error.
- Pipeline/Opportunity Mismatch: Deleting an opportunity from the wrong pipeline may fail if the IDs do not match.
Error Messages & Resolutions:
"404 Not Found": Check that both the Pipeline ID and Opportunity ID are correct and exist in your HighLevel account."401 Unauthorized"or"403 Forbidden": Verify that your API credentials are correct and have sufficient permissions."400 Bad Request": Ensure all required fields are filled and formatted correctly.