Actions113
- 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
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
- 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
Overview
This node operation deletes a custom attribute from a specified account in the ChatWoot system. Custom attributes are user-defined fields that can be attached to accounts for additional metadata or categorization. This operation is useful when you want to remove outdated or incorrect custom attribute data from an account.
Practical examples include:
- Cleaning up obsolete custom attributes after a data migration.
- Removing sensitive or incorrect information mistakenly added as a custom attribute.
- Managing dynamic account metadata by deleting attributes no longer relevant.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account from which the custom attribute will be deleted. |
| Id | The numeric ID of the custom attribute that should be deleted from the specified account. |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this would include confirmation of deletion or details about the deleted attribute. 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 the ChatWoot REST API endpoint for managing custom attributes.
Troubleshooting
- Invalid Account Id or Attribute Id: If either ID does not exist or is incorrect, the API will likely return an error indicating the resource was not found. Verify the IDs before running the node.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to delete custom attributes.
- Network Issues: Connectivity problems with the ChatWoot server will cause request failures; check network access and base URL configuration.
- Permission Denied: The authenticated user may lack rights to delete attributes; verify user roles and permissions in ChatWoot.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and authentication)
- n8n Documentation (for general usage of custom nodes and credentials)