Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node, named "Evolution API," allows users to interact with the Evolution API service. Specifically, for the resource "Instancia" and operation "Desconectar Instancia," it provides functionality to log out or disconnect a specified instance by its name. This can be useful in scenarios where you need to programmatically terminate sessions or connections to instances managed via the Evolution API.

For example, if you have multiple active instances and want to ensure that a particular instance is logged out before performing maintenance or updates, this node operation helps automate that process.

Properties

Name Meaning
Nome Da Insticância The name of the instance you want to disconnect (log out). This is a required string input.

Output

The node outputs a JSON array containing the result of the logout operation. The exact structure depends on the Evolution API's response but generally includes confirmation of the disconnection or relevant status information.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node expects the Evolution API endpoint to be accessible and properly configured.
  • No additional environment variables are explicitly required beyond the API authentication.

Troubleshooting

  • Operation not supported error: If you receive an error stating the operation is not supported, verify that the resource is set to "Instancia" and the operation to "Desconectar Instancia." Also, ensure the node version supports this operation.
  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions to perform logout operations.
  • Instance not found: If the specified instance name does not exist or is misspelled, the API may return an error or empty response. Double-check the instance name input.
  • Network issues: Confirm network connectivity to the Evolution API endpoint.

Links and References

Discussion