ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Custom Attributes → Delete Custom Attribute From Account

AI-generated

Overview

This node interacts with the ChatWoot API to delete a custom attribute from a specified account. It is useful in scenarios where you need to programmatically manage and clean up custom attributes associated with user accounts, such as removing outdated or incorrect metadata.

For example, if your system tracks additional information about users via custom attributes and some of these attributes become obsolete or were created by mistake, this node allows you to remove them efficiently without manual intervention.

Properties

Name Meaning
Account Id The numeric ID of the account from which the custom attribute will be deleted.
Id The ID of the custom attribute that you want to delete from the specified account.

Output

The node outputs JSON data representing the result of the deletion operation. Typically, this would include confirmation of successful deletion or details about any error encountered. 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 node credentials.
  • The node depends on the @devlikeapro/n8n-openapi-node package and uses an OpenAPI specification (openapi.json) to define its properties and requests.

Troubleshooting

  • Common issues:

    • Invalid or missing account ID or custom attribute ID can cause the deletion to fail.
    • Incorrect or expired API authentication token will prevent access to the ChatWoot API.
    • Network connectivity issues may cause request timeouts or failures.
  • Error messages:

    • "Unauthorized" or similar errors indicate problems with API credentials; verify and update the API key.
    • "Not Found" errors suggest the specified account or custom attribute ID does not exist; double-check the IDs.
    • "Bad Request" errors may occur if input parameters are invalid or malformed.

Resolving these typically involves verifying input values, ensuring valid credentials, and confirming network connectivity.

Links and References

Discussion