Actions64
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Overview
The node "Evolution API" allows interaction with the Evolution API service. Specifically, for the resource Instancia and operation Desconectar Instancia, it provides functionality to disconnect or log out an instance by its name. This is useful in scenarios where you need to programmatically terminate sessions or connections associated with a particular instance in the Evolution system.
For example, if you have multiple instances running and want to ensure that a specific instance is logged out or disconnected before performing other operations, this node operation facilitates that action by specifying the instance name.
Properties
| Name | Meaning |
|---|---|
| Nome Da Insticância | The name of the instance you want to disconnect. You must provide the exact instance name. |
Output
The output of the node is a JSON array containing the result of the disconnect operation. The structure depends on the Evolution API response but generally includes confirmation of the logout/disconnect action. No binary data output is indicated.
Example output (conceptual):
[
{
"success": true,
"message": "Instance disconnected successfully",
"instanceName": "example-instance"
}
]
Dependencies
- Requires an API key credential for the Evolution API.
- The node expects the Evolution API endpoint to be accessible and properly authenticated.
- 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".
- 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 no effect. Double-check the instance name input.
- Network issues: Confirm network connectivity to the Evolution API endpoint.
Links and References
- Evolution API official documentation (link not provided in source)
- n8n documentation on creating custom nodes and using credentials: https://docs.n8n.io/
- General API error handling best practices: https://restfulapi.net/http-status-codes/