Actions100
- 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
- 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
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. |
| 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
chatwootApicredentials 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.