Actions20
- Session Actions
- Message Actions
- Contact Actions
- Typing Actions
- Webhook Actions
Overview
The WhatsApp Multi-Session node allows users to interact with the WhatsApp Multi-Session API, specifically for sending text messages. This node is beneficial in scenarios where automated messaging is required, such as customer support, notifications, or marketing campaigns. For example, a business can use this node to send personalized greetings or updates to customers via WhatsApp.
Properties
| Name | Meaning |
|---|---|
| Session ID | The WhatsApp session ID used to authenticate and send messages. |
| Phone Number | The recipient's phone number, including the country code but without the '+' sign. |
| Message Text | The actual text message that will be sent to the specified phone number. |
Output
The output of the sendText operation will typically include a JSON object indicating the success of the message delivery along with any relevant metadata (e.g., message ID, status). If the message fails to send, the output may contain error details.
Dependencies
- An API key credential is required to authenticate requests to the WhatsApp Multi-Session API.
- The server URL for the WhatsApp Multi-Session API must be configured in the n8n environment.
Troubleshooting
- Common Issues: Users might encounter issues related to invalid session IDs, incorrect phone numbers, or network errors.
- Error Messages:
- "Authentication failed": This indicates that the provided API key is invalid or lacks necessary permissions. Ensure the correct API key is being used.
- "Media link has expired": This occurs when trying to access a media file using an outdated URL. Request a new media URL from the webhook.
- "Access forbidden": This suggests that the user does not have permission to access the requested resource. Check the API key permissions.
Links and References
- WhatsApp Multi-Session API Documentation (replace with actual documentation link)
- n8n Documentation