WhatsApp Multi-Session icon

WhatsApp Multi-Session

Interact with WhatsApp Multi-Session API

Overview

The WhatsApp Multi-Session node allows users to interact with the WhatsApp Multi-Session API, specifically for managing sessions and contacts. This node is particularly useful for applications that require automated messaging or session management on WhatsApp. Common scenarios include listing all active WhatsApp sessions, checking contact availability, and managing session connections. For example, a business could use this node to automate customer support responses via WhatsApp by listing available sessions and sending messages to customers.

Properties

Name Meaning
Session ID The WhatsApp session ID required to perform operations related to the specified session.

Output

The output of the execute() method will be an array of JSON objects, each representing either a session or contact, depending on the operation performed. For the "List" operation under the "Contact" resource, the output will contain details of all contacts associated with the specified session ID.

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 may encounter issues such as invalid session IDs, network errors, or authentication failures.
  • Error Messages:
    • Authentication failed: Indicates that the provided API key is incorrect or lacks necessary permissions. Ensure the API key is valid and has the correct access rights.
    • Media link has expired: This occurs when trying to access a media file using an expired URL. Request a new media URL from the webhook.
    • HTTP 404: This indicates that the requested resource was not found. Verify that the session ID and other parameters are correct.

Links and References

Discussion