Actions53
- Account Actions
- Contact Actions
- Group Actions
- Message Actions
- Session Actions
Account → Connect Whatsapp Session
AI-generatedOverview
This node operation connects a WhatsApp session using the WasenderAPI. It is useful for managing WhatsApp sessions programmatically, such as establishing a connection to a session to start sending or receiving messages. For example, a user can connect a specific WhatsApp session by selecting it from a list or providing its ID, enabling automated workflows that interact with WhatsApp through that session.
Use Case Examples
- Connecting a WhatsApp session to start message automation.
- Reconnecting a session after a disconnection to resume operations.
Properties
| Name | Meaning |
|---|---|
| Session | The WhatsApp session to connect. Can be selected from a list of available sessions or specified by ID. |
| Options | Additional options for the connection request, including retry behavior. |
Output
Binary
Outputs a QR code image as binary data when connecting a session, which can be used to scan and authenticate the WhatsApp session.
JSON
json- The JSON response from the API call, including session details and connection status.binarydata- Binary data of the QR code image for session connection authentication.
Dependencies
- Requires an API key credential for WasenderAPI to authenticate requests.
Troubleshooting
- If the session ID is not provided or invalid, the node throws an error indicating that a session is required.
- If the API request to connect the session fails, the node may retry based on the retry options; otherwise, it throws an error.
- If the QR code is not returned or cannot be generated, the node returns the API response without the QR code binary data.