Actions26
Overview
This node integrates with the GoHighLevel V2 API, allowing users to manage various resources such as Contacts, Companies, Opportunities, and Custom Fields. Specifically, for the Contact resource with the Delete operation, it enables the removal of a contact from the GoHighLevel system by specifying the contact's unique ID.
Common scenarios include:
- Automating cleanup of outdated or irrelevant contacts.
- Integrating with other systems to synchronize contact deletions.
- Managing contact lifecycle within marketing or sales workflows.
Example: Automatically deleting a contact after they unsubscribe from a mailing list or when their data is no longer needed.
Properties
| Name | Meaning |
|---|---|
| Contact ID | The unique identifier of the contact to delete. This is a required string input. |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will be a confirmation of deletion or an empty object if successful. If the operation fails, the output may contain an error message describing the issue.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the GoHighLevel V2 API.
- Needs an API authentication token configured in n8n credentials (an OAuth2 or API key credential).
- The node uses standard HTTP headers including
Accept: application/jsonandContent-Type: application/json.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Contact ID will cause the operation to fail.
- Missing or incorrect API credentials will prevent successful communication with the GoHighLevel API.
- Network connectivity problems can interrupt the request.
Error messages:
"The resource "contact" is not known!": Indicates an unsupported resource was selected; ensure "Contact" is chosen.- API errors returned from GoHighLevel typically include descriptive messages; check the error details in the output JSON.
Resolutions:
- Verify the Contact ID exists in the GoHighLevel account.
- Confirm that API credentials are correctly set up and have sufficient permissions.
- Check network connectivity and retry the operation.