ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions100

Overview

This node allows you to update an existing user in the ChatWoot platform. It is useful for scenarios where you need to modify user details such as their name, email, password, or custom attributes programmatically from within n8n workflows. For example, you might use this node to synchronize user information between ChatWoot and another system, or to automate profile updates based on external triggers.

Properties

Display Name Type Description
Id Number The numeric ID of the user on the platform (required).
Name String Name of the user.
Email String Email of the user.
Password String Password must contain uppercase, lowercase letters, number, and a special character.
Custom Attributes JSON Custom attributes you want to associate with the user. Provide as a JSON object.

Output

The output will be a json object containing the updated user's data as returned by the ChatWoot API. The structure typically includes fields such as the user's id, name, email, and any custom attributes. The exact structure depends on the ChatWoot API response for the "Update A User" operation.

Dependencies

  • External Service: Requires access to a ChatWoot instance.
  • API Key/Credentials: You must configure the chatwootApi credentials in n8n, including the base URL (url) for your ChatWoot installation.
  • n8n Configuration: No additional configuration required beyond setting up the credentials.

Troubleshooting

  • Missing Required Field: If the "Id" property is not provided, the node will fail because it is required to identify which user to update.
  • Invalid Email/Password Format: If the email or password does not meet ChatWoot's requirements, the API may return an error. Ensure the password contains uppercase, lowercase, numbers, and a special character.
  • Authentication Errors: If the credentials are incorrect or missing, you may receive authentication errors from the ChatWoot API.
  • Malformed Custom Attributes: If the "Custom Attributes" field is not valid JSON, the request will fail. Always provide a properly formatted JSON object.

Links and References

Discussion