GoHighLevel V2 icon

GoHighLevel V2

Consume GoHighLevel V2 API

Overview

This node integrates with the GoHighLevel V2 API, allowing users to manage various resources such as Contacts, Companies, Opportunities, and Custom Fields within their GoHighLevel account. Specifically, for the Contact resource and the Remove Tag operation, the node removes specified tags from a contact record.

Common scenarios include cleaning up or updating contact information by removing outdated or irrelevant tags, which helps maintain organized and accurate contact data. For example, if a contact was previously tagged as "Prospect" but has since become a customer, you might want to remove the "Prospect" tag.

Properties

Name Meaning
Tags A string representing one or more tags to be removed from the contact. The user specifies which tags should be deleted from the contact's tag list.

Note: The property is shown only when the resource is "contact" and the operation is either "addTag" or "removeTag".

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON object contains the result of the API call related to the requested operation on the contact resource.

  • The json field typically includes the updated contact data after the tag removal.
  • If multiple items are processed, the output is an array of such JSON objects.
  • In case of errors (and if "Continue On Fail" is enabled), the output JSON will contain an error field with the error message.

No binary data output is indicated in the source code.

Dependencies

  • Requires an active connection to the GoHighLevel V2 API.
  • Needs an API authentication token configured via OAuth2 credentials in n8n.
  • The node depends on internal utility modules (./src/resources and ./src/utils/gohighlevel) to handle API requests and operations.

Troubleshooting

  • Unknown Resource Error: If a resource other than "contact", "company", or "opportunity" is specified, the node throws an error indicating the resource is unknown.
  • API Authentication Issues: Failure to authenticate with the GoHighLevel API will prevent any operation from succeeding. Ensure that valid OAuth2 credentials are configured.
  • Invalid Tag Names: Providing tags that do not exist or are misspelled may result in no changes or API errors.
  • Continue On Fail Behavior: When enabled, the node continues processing subsequent items even if some fail, returning error messages in the output JSON.

Links and References

Discussion