Actions85
- Instances Actions
- Client Actions
- Message Actions
- Chat Actions
- Contact Actions
- Number Actions
- Group Actions
- Channel Actions
- Label Actions
- Story Actions
Overview
This node interacts with the WaAPI API to perform operations related to WhatsApp clients. Specifically, the "Reboot" operation under the "Client" resource allows users to reboot a particular WhatsApp client instance by specifying its instance ID. This can be useful for scenarios where a client becomes unresponsive or requires a restart to apply new settings or recover from errors.
Practical examples include:
- Automatically rebooting a WhatsApp client instance after detecting connectivity issues.
- Manually triggering a reboot of a client instance as part of maintenance workflows.
Properties
| Name | Meaning |
|---|---|
| Id | Instance ID (number) of the WhatsApp client to reboot |
Output
The node outputs JSON data representing the response from the WaAPI API after attempting to reboot the specified client instance. The exact structure depends on the API's response but typically includes status information about the reboot request.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the WaAPI API.
- The node sends requests to the base URL:
https://waapi.app/api/v1. - Proper configuration of the API authentication in n8n credentials is necessary.
Troubleshooting
Common Issues:
- Invalid or missing instance ID may cause the reboot request to fail.
- Network connectivity problems can prevent communication with the WaAPI API.
- Authentication failures if the API key credential is incorrect or expired.
Error Messages:
- Errors related to authorization typically indicate issues with the API key; verify and update credentials.
- "Instance not found" or similar messages suggest the provided instance ID does not exist; confirm the correct ID.
- Timeout or connection errors imply network issues; check internet connectivity and API availability.
Links and References
- WaAPI Official Documentation (for detailed API usage and client management)
- n8n Documentation (for general guidance on using API nodes and credentials)