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 "Reiniciar Instancia" (Restart Instance), it enables restarting a specified instance by its name. This is useful in scenarios where an instance needs to be rebooted or refreshed remotely via API, such as recovering from errors, applying updates, or resetting state.

Practical example: A user managing multiple instances of a service can automate the restart process of a particular instance by specifying its name, avoiding manual intervention.

Properties

Name Meaning
Nome Da Insticância The name of the instance to restart. This is a required string input identifying which instance to target.

Output

The node outputs a JSON array containing the response from the API after attempting to restart the instance. The exact structure depends on the API's response but typically includes status information about the restart operation.

No binary data output is indicated.

Dependencies

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

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 "restart-instance" respectively.
  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions.
  • Instance not found: If the specified instance name does not exist, the API may return an error; double-check the instance name spelling.
  • Network issues: Confirm network connectivity to the API endpoint.

Links and References

Discussion