Evolution API icon

Evolution API

Interact with Evolution API

Overview

The "Reiniciar Instancia" operation of the "Instancia" resource in this custom n8n node allows users to restart a specific instance by providing its name. This is useful in scenarios where an instance needs to be rebooted due to maintenance, troubleshooting, or applying configuration changes. For example, if a cloud-based service or application instance becomes unresponsive, this node can automate the process of restarting it as part of a workflow.

Properties

Display Name Type Description
Nome Da Insticância String Digite o nome da instância que deseja pesquisar (required).
  • Nome Da Insticância: The user must enter the name of the instance they wish to restart.

Output

The output will be a JSON object (or array of objects) containing the result of the restart operation. The exact structure depends on the API response, but typically includes information about the instance and the status of the restart request.

[
  {
    // ...fields returned by the Evolution API after restarting the instance
  }
]

Dependencies

  • External Service: Requires access to the Evolution API at https://doc.evolution-api.com/api-reference.
  • API Key/Credentials: The node requires valid credentials named evolutionApi to authenticate requests.
  • n8n Configuration: No special environment variables are mentioned, but credentials must be configured in n8n.

Troubleshooting

  • Common Issues:

    • Missing or incorrect instance name may cause the operation to fail.
    • Invalid or missing API credentials will prevent the node from connecting to the Evolution API.
    • Network issues or downtime on the Evolution API endpoint could result in errors.
  • Error Messages:

    • "Operação não suportada.": This error occurs if the selected operation is not implemented for the chosen resource. Ensure you have selected the correct resource and operation.
    • API-specific errors may be returned in the output JSON if the instance cannot be found or restarted.

Links and References

Discussion