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 disconnect or log out a specified instance by its name. This can be useful in scenarios where you need to programmatically terminate sessions or connections associated with particular instances, such as managing active user sessions or cleaning up resources.

For example, if you have multiple instances running and want to ensure that a specific instance is logged out remotely, this node operation facilitates that action by specifying the instance name.

Properties

Name Meaning
Nombre De La Instancia The name of the instance you want to find and disconnect. This is a required string input.

Output

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

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authentication with the Evolution API.
  • The base URL for requests is set to https://doc.evolution-api.com/api-reference.
  • Proper configuration of the API credential within n8n is necessary for successful execution.

Troubleshooting

  • Operation not supported error: If the node throws an error stating the operation is not supported, verify that the resource and operation names are correctly set to "instances-api" and "logout-instance" respectively.
  • Authentication errors: Ensure the API key credential is valid and has the necessary permissions.
  • 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