Actions11
Overview
This node manages WhatsApp session connections and configurations via the DinastiAPI service. It supports various operations such as connecting, disconnecting, logging out, retrieving status or QR codes, pairing a phone number, setting proxy settings, configuring S3 storage, RabbitMQ messaging, and skipping certain message types or calls.
The Pair Phone operation specifically allows pairing a WhatsApp device using a phone number (without country code prefixes). This is useful when you want to initiate or restore a WhatsApp session by linking it to a specific phone number programmatically.
Practical examples:
- Automating WhatsApp session setup for customer support bots.
- Managing multiple WhatsApp sessions in bulk by pairing devices with their phone numbers.
- Integrating WhatsApp session management into larger workflows that require dynamic session control.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The phone number to pair the WhatsApp device with. Must be provided without country code prefixes like "+". Example: "5521987654321". |
Output
The node outputs JSON data representing the response from the DinastiAPI service for the requested operation. For the Pair Phone operation, the output JSON typically contains information about the pairing result, such as success confirmation or error details.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the DinastiAPI service.
- The node makes HTTP requests to DinastiAPI endpoints corresponding to each operation.
- Proper network connectivity to DinastiAPI servers is necessary.
- No additional environment variables are explicitly required beyond the API authentication.
Troubleshooting
Common issues:
- Providing an incorrectly formatted phone number (e.g., including "+" or country code prefix) may cause pairing failure.
- Network or authentication errors if the API key credential is missing or invalid.
- API rate limits or service downtime could prevent successful pairing.
Error messages:
- Errors returned from the DinastiAPI service will be passed through. These might include messages about invalid phone numbers, unauthorized access, or server errors.
- To resolve, verify the phone number format, ensure valid API credentials, and check network connectivity.
Links and References
- DinastiAPI Documentation (replace with actual URL if available)
- WhatsApp Business API general info: https://developers.facebook.com/docs/whatsapp
- n8n documentation on creating custom nodes: https://docs.n8n.io/integrations/creating-nodes/