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 account in ChatWoot by specifying the account's numeric ID and providing a new name. It is useful in scenarios where you need to programmatically rename or update account details within your ChatWoot workspace, such as synchronizing account names with another system or automating administrative tasks.
Example use cases:
- Automatically updating account names based on changes in your CRM.
- Bulk-renaming accounts during data migration.
- Integrating with other systems to keep account information consistent.
Properties
| Display Name | Type | Required | Description |
|---|---|---|---|
| Account Id | Number | Yes | The numeric ID of the account. |
| Name | String | No | Name of the account. |
- Account Id: The unique identifier for the account you wish to update.
- Name: The new name to assign to the account.
Output
The output will be a JSON object reflecting the updated account information as returned by the ChatWoot API. Typical fields may include:
{
"id": 123,
"name": "New Account Name",
// ...other account properties as provided by ChatWoot
}
Note: The exact structure depends on the ChatWoot API response.
Dependencies
- External Service: Requires access to a ChatWoot instance.
- API Credentials: You must configure
chatwootApicredentials in n8n, including the base URL (url) and authentication details. - n8n Configuration: Ensure the node has access to the necessary credentials and that the ChatWoot API is reachable from your n8n environment.
Troubleshooting
Missing or Invalid Credentials:
Error message: "No credentials found" or authentication errors.
Resolution: Make sure you have set up thechatwootApicredentials correctly in n8n.Invalid Account Id:
Error message: "Account not found" or similar from the API.
Resolution: Verify that the Account Id exists in your ChatWoot instance.Network/Connection Issues:
Error message: "Could not reach server" or timeout errors.
Resolution: Check network connectivity and ensure the ChatWoot API URL is correct and accessible.Insufficient Permissions:
Error message: "Unauthorized" or "Forbidden".
Resolution: Ensure the API key/user used has permission to update accounts.