ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to retrieve detailed information about a single automation rule within a specified account. It is useful when you need to fetch the configuration or status of an existing automation rule for review, auditing, or further processing in your workflow.

Practical examples include:

  • Automatically fetching details of an automation rule before updating or disabling it.
  • Integrating ChatWoot automation rules data into reporting dashboards.
  • Triggering conditional logic based on specific properties of an automation rule.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account that owns the automation rule.
Id The unique numeric ID of the automation rule whose details you want to retrieve.

Output

The node outputs JSON data representing the full details of the requested automation rule. This typically includes all properties defined by the ChatWoot API for an automation rule, such as its conditions, actions, status, and metadata.

No binary data output is expected from this operation.

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 automation rule ID will cause the API call to fail.
    • Incorrect or expired API credentials will result in authentication errors.
    • Network connectivity problems can prevent reaching the ChatWoot API endpoint.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check that the API key credential is valid and has sufficient permissions.
    • "Not Found": Verify that the provided account ID and automation rule ID exist and are correct.
    • "Bad Request": Ensure that the input parameters are correctly formatted and required fields are provided.

Links and References

Discussion