Actions11
Overview
This node manages the configuration of WhatsApp session connections and settings via an API. Specifically, the "Configure Skip Calls" operation allows users to enable or disable automatic skipping (rejecting) of incoming calls on the WhatsApp session. When enabled, it can send a custom rejection message and specify the type of call rejection (e.g., busy, declined, unavailable).
This functionality is useful in scenarios where you want to automate handling of incoming calls, for example:
- Automatically rejecting calls during business hours or outside working times.
- Sending a polite message to callers explaining why calls are not accepted.
- Managing call flow in automated customer support or notification systems.
Properties
| Name | Meaning |
|---|---|
| Skip Calls Configuration | A collection of settings related to skipping calls: |
| - Enable Skip Calls | Boolean flag to enable or disable automatic skipping/rejecting of incoming calls. |
| - Reject Message | Custom message sent to callers when their call is rejected (shown only if skipping is enabled). |
| - Reject Type | Type of call rejection to send: "Busy", "Declined", or "Unavailable" (shown only if skipping is enabled). |
Output
The node outputs JSON data representing the response from the API after configuring the skip calls settings. The structure depends on the API response but generally includes confirmation of the updated configuration or status information.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the WhatsApp session management API.
- Needs an API key credential configured in n8n to authenticate requests.
- The node uses HTTP methods (POST/GET) to communicate with endpoints like
/session/skipcalls/config.
Troubleshooting
Common Issues:
- Invalid or missing API credentials will cause authentication failures.
- Network connectivity problems may prevent reaching the API endpoint.
- Providing incomplete or malformed configuration data may result in errors.
Error Messages:
- Authentication errors typically indicate invalid or missing API keys; verify credentials.
- Validation errors may occur if required fields (like enabling flag or reject message) are missing or incorrect.
- API timeouts or unreachable endpoints suggest network issues or incorrect API URLs.
Resolution Tips:
- Ensure the API key credential is correctly set up in n8n.
- Double-check all required input properties before execution.
- Confirm network access to the API server.
- Review error messages returned by the node for specific guidance.
Links and References
- WhatsApp Business API Documentation
- n8n HTTP Request Node Documentation
- DinastiAPI Session Management (if publicly available) (Replace with actual link if known)