Overview
This node integrates with the GoHighLevel API to manage contacts, opportunities, and locations. Specifically for the Contact - Update operation, it updates an existing contact's details such as first name, last name, email, and phone number by sending a PUT request to the GoHighLevel API.
Typical use cases include:
- Keeping contact information up-to-date in your CRM when changes occur.
- Automating contact data synchronization between different systems.
- Correcting or enriching contact records based on new input data.
For example, if a customer's phone number or email changes, this node can update those fields automatically without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Contact ID | The unique identifier of the contact to update (required). |
| First Name | The contact's first name. |
| Last Name | The contact's last name. |
| The contact's email address. | |
| Phone | The contact's phone number. |
Output
The node outputs the updated contact data as JSON. The structure corresponds to the contact object returned by the GoHighLevel API after a successful update. It includes all contact fields, reflecting the latest state.
If multiple items are processed, each output item contains one updated contact JSON object under the json property.
No binary data is produced by this operation.
Dependencies
- Requires an API key credential for authenticating requests to the GoHighLevel API.
- The node uses the base URL
https://services.leadconnectorhq.com. - The API key must have permissions to update contacts.
- The node expects the API key and optionally a location ID configured in the credentials.
Troubleshooting
Common issues:
- Missing or invalid Contact ID will cause the API to reject the update request.
- Providing no fields to update (first name, last name, email, phone all empty) may result in no changes or an error.
- Invalid API key or insufficient permissions will cause authentication errors.
- Network issues or incorrect endpoint URLs can cause request failures.
Error messages:
"Unauthorized"or"Invalid API key": Check that the API key credential is correctly set and valid."Contact not found": Verify the Contact ID exists in GoHighLevel."Bad Request": Ensure at least one field to update is provided and data formats are correct.
To resolve errors, verify input parameters, ensure the API key is valid, and confirm the contact exists in the system.
Links and References
- GoHighLevel API Documentation (for detailed API endpoints and data models)
- n8n documentation on creating custom nodes