Actions64
- Instance Actions
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
Overview
This node interacts with the Evolution API, allowing users to perform various operations on resources managed by that API. Specifically, for the "Instance" resource and the "Restart Instance" operation, the node enables restarting a specified instance by its name. This is useful in scenarios where an instance needs to be rebooted due to updates, errors, or maintenance tasks.
Practical examples include:
- Automatically restarting an instance after deploying new configurations.
- Restarting instances that have become unresponsive or are experiencing issues.
- Integrating instance restarts into broader automation workflows for system management.
Properties
Name | Meaning |
---|---|
Name Da Insticância | The name of the instance you want to restart. This is a required string input property. |
Output
The node outputs a JSON array containing the response from the Evolution API after attempting to restart the instance. The exact structure depends on the API's response but typically includes status information about the restart request.
If the API returns any binary data (not indicated here), it would represent related files or logs, but this node primarily deals with JSON responses.
Dependencies
- Requires an API key credential for authenticating 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 as "instances-api" and "restart-instance" respectively.
- Authentication errors: Ensure the API key credential is valid and has the necessary permissions to restart instances.
- Instance not found: If the specified instance name does not exist, the API may return an error; double-check the instance name spelling and availability.
- Network issues: Confirm network connectivity to the Evolution API endpoint.
Links and References
- Evolution API Documentation (base URL used by the node)