ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions100

Overview

This node allows you to delete a custom attribute from a specific account in ChatWoot. It is useful when you need to manage or clean up custom metadata associated with accounts, such as removing outdated or incorrect attributes. For example, if an account's status or tag needs to be removed for compliance or data hygiene reasons, this operation provides a direct way to do so via the ChatWoot API.

Properties

Display Name Type Description
Account Id Number The numeric ID of the account.
Id Number The ID of the custom attribute to be deleted.

Output

  • json: The output will contain the response from the ChatWoot API after attempting to delete the specified custom attribute. Typically, this may include a success confirmation or details about the deletion result.
  • No binary data is produced by this operation.

Dependencies

  • External Service: Requires access to a ChatWoot instance.
  • API Credentials: Needs valid chatwootApi credentials configured in n8n, including the base URL and authentication token.
  • n8n Configuration: Ensure that the ChatWoot API credentials are set up in your n8n instance.

Troubleshooting

  • Common Issues:

    • Invalid Account Id or Attribute Id: If either ID does not exist, the API may return a "Not Found" error.
    • Authentication Errors: Missing or incorrect API credentials will result in authentication failures.
    • Insufficient Permissions: The API key used must have permission to delete custom attributes.
  • Error Messages:

    • "404 Not Found": Check that both the Account Id and Attribute Id are correct and exist in ChatWoot.
    • "401 Unauthorized": Verify that your API credentials are correctly configured in n8n.
    • "403 Forbidden": Ensure your API user has sufficient permissions to perform deletions.

Links and References

Discussion