ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

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 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

Discussion