ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node allows updating a user on the platform by specifying the user's numeric ID and optionally modifying their name, email, password, and custom attributes. It is useful in scenarios where user information needs to be programmatically maintained or synchronized, such as updating user profiles after registration changes, correcting user details, or managing user data in bulk.

Practical examples:

  • Automatically update a user's email address when they change it in another system.
  • Change a user's password following a reset request.
  • Add or modify custom metadata associated with a user for segmentation or personalization purposes.

Properties

Name Meaning
Id The numeric ID of the user on the platform (required).
Name The new name of the user.
Email The new email address of the user.
Password The new password for the user. Must contain uppercase, lowercase letters, a number, and a special character.
Custom Attributes JSON object representing custom attributes to associate with the user.

Output

The node outputs JSON data representing the updated user object returned from the platform's API. This typically includes the user's updated fields such as id, name, email, and any custom attributes. There is no binary output.

Dependencies

  • Requires an API key credential for authenticating with the platform.
  • The base URL for the API must be configured in the credentials.
  • The node uses the ChatWoot API as indicated by the bundled OpenAPI specification.

Troubleshooting

  • Invalid User ID: If the provided user ID does not exist, the API will likely return an error indicating the user was not found. Verify the ID before running the node.
  • Password Validation Errors: Passwords must meet complexity requirements (uppercase, lowercase, number, special character). Failure to comply will cause the API to reject the update.
  • Malformed Custom Attributes: The custom_attributes field expects valid JSON. Invalid JSON syntax will cause parsing errors.
  • Authentication Failures: Ensure the API key credential is correctly set up and has sufficient permissions to update users.
  • Empty Required Fields: The Id property is required; omitting it will prevent the node from executing properly.

Links and References

Discussion