ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

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 attributes become obsolete or were created by mistake, this node allows you to remove those attributes 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 response from the ChatWoot API after attempting to delete the custom attribute. Typically, this will include confirmation of deletion or error details if the operation failed.

No binary data output is produced 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 for OpenAPI integration.

Troubleshooting

  • Common issues:

    • Invalid or missing account ID or custom attribute ID will cause the API call to fail.
    • Incorrect or expired API authentication token will result in authorization errors.
    • Network connectivity problems can prevent communication with the ChatWoot server.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set and valid.
    • "Not Found": Verify that both the account ID and custom attribute ID exist and are correct.
    • "Bad Request": Ensure that the input parameters are properly formatted and meet API requirements.

Resolving these typically involves verifying input values, refreshing credentials, and ensuring network access to the ChatWoot API endpoint.

Links and References

Discussion