ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Inboxes → Update Agent Bot

AI-generated

Overview

The node interacts with the ChatWoot API to update the agent bot assigned to a specific inbox within an account. This operation is useful for automating the management of inbox configurations, particularly when you want to change or assign a different agent bot to handle conversations in a given inbox.

Practical scenarios include:

  • Automatically switching the agent bot for an inbox based on certain triggers or workflows.
  • Managing multiple inboxes and their associated bots programmatically without manual intervention.
  • Integrating ChatWoot inbox management into broader customer support automation pipelines.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account that owns the inbox.
Id The numeric ID of the inbox whose agent bot you want to update.
Agent Bot The numeric ID of the agent bot to assign to the specified inbox.

Output

The node outputs JSON data representing the response from the ChatWoot API after updating the agent bot for the inbox. This typically includes confirmation details such as the updated inbox information and the newly assigned agent bot ID.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the ChatWoot API.
  • Needs an API authentication token configured in the node credentials to authorize requests.
  • The base URL for the ChatWoot instance must be set in the credentials configuration.

Troubleshooting

  • Invalid Account or Inbox ID: If the provided account or inbox ID does not exist or is incorrect, the API will return an error. Verify these IDs before running the node.
  • Agent Bot ID Not Found: Providing an invalid or non-existent agent bot ID will cause the update to fail. Ensure the agent bot ID is valid and accessible within the account.
  • Authentication Errors: Missing or incorrect API credentials will result in authorization failures. Confirm that the API key/token is correctly configured.
  • Network Issues: Connectivity problems to the ChatWoot server can cause timeouts or request failures. Check network access and endpoint availability.

Links and References

Discussion