Actions113
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
Overview
This node allows updating a contact in the Contacts API of ChatWoot. It is useful for scenarios where you need to modify existing contact information such as email, name, phone number, avatar URL, or custom attributes. For example, if a customer updates their contact details on your platform, you can use this node to synchronize those changes with ChatWoot’s contact records.
Properties
| Name | Meaning |
|---|---|
| Inbox Identifier | The identifier obtained from the API inbox channel, specifying which inbox the contact belongs to. |
| Contact Identifier | The unique source ID of the contact that was obtained when the contact was created. |
| Identifier | External identifier of the contact (optional). |
| Identifier Hash | Identifier hash prepared for HMAC authentication (optional). |
| Email address of the contact (optional). | |
| Name | Name of the contact (optional). |
| Phone Number | Phone number of the contact (optional). |
| Avatar Url | URL to a JPEG or PNG file used as the user avatar (optional). |
| Custom Attributes | JSON object containing custom attributes of the contact (optional). |
Output
The node outputs JSON data representing the updated contact information as returned by the ChatWoot API. This typically includes the contact's identifiers and any updated fields. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL for the ChatWoot instance must be configured in the credentials.
- The node uses standard HTTP headers for JSON content type and expects JSON responses.
Troubleshooting
- Missing Required Fields: Ensure that both "Inbox Identifier" and "Contact Identifier" are provided; these are mandatory.
- Invalid Identifiers: If the contact or inbox identifiers are incorrect or do not exist, the API will likely return an error indicating the resource was not found.
- Malformed JSON in Custom Attributes: The "Custom Attributes" field expects valid JSON. Invalid JSON syntax will cause errors.
- Authentication Errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network Issues: Check connectivity to the ChatWoot instance URL configured in credentials.
Links and References
- ChatWoot API Documentation (for detailed API usage and contact management)
- n8n Documentation (for general guidance on using n8n nodes and credentials)