ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Automation Rule → Get Account Automation Rule

AI-generated

Overview

This node interacts with the ChatWoot API to retrieve automation rules associated with a specific account. The "Get Account Automation Rule" operation fetches automation rules configured for an account, which can be useful for monitoring or managing automated workflows within ChatWoot.

Common scenarios include:

  • Retrieving existing automation rules to display or audit them.
  • Integrating ChatWoot automation rules into other systems or dashboards.
  • Paginating through multiple automation rules when there are many configured.

Example: A user wants to list all automation rules for their customer support account to review and update them as needed.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account whose automation rules you want to retrieve.
Page The page number for paginated results, allowing retrieval of automation rules in batches.

Output

The node outputs JSON data representing the automation rules retrieved from the ChatWoot API for the specified account. The structure typically includes details about each automation rule such as its ID, conditions, actions, status, and metadata.

No binary data output is involved.

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.
  • Internet access to reach the ChatWoot API endpoint.

Troubleshooting

  • Invalid Account Id: If the provided account ID does not exist or is incorrect, the API will return an error. Verify the account ID before running the node.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key and base URL are correctly set in the node credentials.
  • Pagination Issues: If the page parameter is out of range (e.g., too high), the API may return empty results. Adjust the page number accordingly.
  • Network Errors: Connectivity issues to the ChatWoot API endpoint will result in request failures. Check network settings and API availability.

Links and References

Discussion