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 service to set the status message of a WhatsApp client instance. It is useful when you want to programmatically update the WhatsApp status text for a specific client identified by its instance ID. For example, you might use this node in an automation workflow to update your WhatsApp status based on certain triggers or events, such as posting a custom greeting or availability message.
Properties
| Name | Meaning |
|---|---|
| Id | The unique instance ID of the WhatsApp client whose status you want to set. Must be a number. |
| Status | The status text to set for the WhatsApp client. This is a string and can be any custom message, e.g., "Hello, I'm using WhatsApp!". |
Output
The node outputs JSON data representing the response from the WaAPI service after attempting to set the status. This typically includes confirmation of the status update or error details if the operation failed. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the WaAPI service.
- The node sends requests to the base URL
https://waapi.app/api/v1. - Proper configuration of the API key credential within n8n is necessary for successful execution.
Troubleshooting
- Common issues:
- Invalid or missing instance ID may cause the request to fail.
- Incorrect or expired API key will result in authentication errors.
- Network connectivity problems can prevent communication with the WaAPI endpoint.
- Error messages:
- Authentication errors usually indicate issues with the API key; verify and update credentials.
- Validation errors may occur if the status text is empty or too long; ensure the status complies with WhatsApp limits.
- If the instance ID does not correspond to an active client, the API may return a not found or similar error.
Links and References
- WaAPI Official Documentation (for detailed API usage and status message constraints)
- n8n Documentation (for general guidance on setting up API credentials and using HTTP-based nodes)