Evolution API icon

Evolution API

Interact with Evolution API

Actions114

EvoAI → Change Bot Status

AI-generated

Overview

This node interacts with the Evolution API to change the status of a bot instance. It is useful for managing bot availability by enabling or disabling a specific bot within an instance. For example, a user can disable a bot temporarily for maintenance or enable it when ready for operation.

Use Case Examples

  1. Change the status of a bot to 'enabled' to make it active.
  2. Disable a bot by changing its status to 'disabled' during off-hours or troubleshooting.

Properties

Name Meaning
Instance Name The name of the bot instance to target for the status change.
Bot ID The unique identifier of the bot whose status is to be changed.
Status The new status to set for the bot, either 'enabled' or 'disabled'.

Output

JSON

  • status - The updated status of the bot after the operation.
  • botId - The identifier of the bot whose status was changed.
  • instanceName - The name of the instance where the bot resides.

Dependencies

  • Requires an API key credential for the Evolution API to authenticate requests.

Troubleshooting

  • Common issues include providing an invalid bot ID or instance name, which will result in errors from the API indicating the bot or instance was not found.
  • Incorrect or missing API credentials will cause authentication failures.
  • The node may throw an error if the specified operation 'change-status' is not supported for the resource 'EvoAI', which indicates a configuration issue.

Discussion