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, enabling various operations related to WhatsApp sessions. This node is particularly useful for automating tasks such as retrieving session information, creating new sessions, and managing existing ones. Common scenarios include integrating WhatsApp messaging capabilities into applications, automating customer support interactions, or managing multiple WhatsApp accounts from a single interface.
For example, a business could use this node to automatically retrieve session details for customer inquiries or create new sessions for different departments within the organization.
Properties
| Name | Meaning |
|---|---|
| Session ID | The WhatsApp session ID (required) used to identify which session's information to retrieve. |
Output
The output of the Get operation will return a JSON object containing the details of the specified WhatsApp session. The structure typically includes session attributes such as status, phone number, and other relevant metadata associated with the session.
If the node can output binary data, it would generally relate to media files or images sent through the WhatsApp API, but in this specific operation, the focus is on JSON output.
Dependencies
- An API key credential is required to authenticate requests to the WhatsApp Multi-Session API.
- The server URL for the WhatsApp API must be configured correctly in the n8n environment.
Troubleshooting
- Common Issues: Users may encounter issues related to invalid session IDs, network errors, or authentication failures.
- Error Messages:
- "Authentication failed": This indicates that the provided API key is incorrect or lacks necessary permissions. Ensure the API key is valid and has the appropriate access rights.
- "Media link has expired": This error occurs when trying to access a media file using an expired URL. Request a new media URL if this happens.
- "HTTP [status code]": Various HTTP status codes may indicate different issues, such as 404 for not found or 403 for forbidden access. Check the API documentation for specific error handling based on the status code.
Links and References
- WhatsApp Multi-Session API Documentation (replace with actual documentation link)
- n8n Documentation for further guidance on setting up nodes and workflows.