ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to delete a specific custom filter associated with an account. It is useful in scenarios where you want to programmatically remove filters that are no longer needed or relevant, helping maintain clean and updated filter configurations within ChatWoot.

For example, if you have automated workflows managing customer support filters and need to remove outdated or incorrect filters based on certain conditions, this node can be integrated to perform those deletions seamlessly.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account from which the custom filter will be deleted.
Custom Filter Id The numeric ID of the custom filter to be deleted.

Output

The node outputs JSON data representing the response from the ChatWoot API after attempting to delete the specified custom filter. Typically, this will include confirmation of deletion or error details if the operation failed.

No binary data output is involved.

Dependencies

  • Requires an active connection to the ChatWoot API.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The base URL for the ChatWoot instance must be provided via credentials.

Troubleshooting

  • Common Issues:

    • Invalid or missing Account Id or Custom Filter Id will cause the API call to fail.
    • Authentication errors if the API token is invalid or expired.
    • Network connectivity issues preventing access to the ChatWoot API.
  • Error Messages:

    • "Unauthorized" — Check that the API key credential is correctly set and has sufficient permissions.
    • "Not Found" — Verify that both the Account Id and Custom Filter Id exist and are correct.
    • "Bad Request" — Ensure that the input parameters are valid numbers and properly formatted.

Resolving these typically involves verifying input values, refreshing credentials, and ensuring network access.

Links and References

Discussion