Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation reconnects an existing WhatsApp session using the WARest WhatsApp REST API. It is useful when a session has been disconnected or lost and needs to be re-established without creating a new session. For example, if a WhatsApp session drops due to network issues, this operation can be used to reconnect it seamlessly.
Use Case Examples
- Reconnecting a WhatsApp session after a temporary network failure to resume message sending and receiving.
- Automatically reconnecting sessions in an automation workflow to maintain continuous WhatsApp communication.
Properties
| Name | Meaning |
|---|---|
| Session ID | The identifier of the WhatsApp session to reconnect. It can be selected from a list of existing sessions or entered manually. |
Output
JSON
json- The JSON response from the WARest API containing the result of the reconnect session operation, typically including session status and details.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- If the session ID is invalid or the session does not exist, the node will throw an error indicating the operation is not implemented or the session is not found. Verify the session ID is correct and the session is active.
- Network or authentication errors may occur if the API key or base URL is incorrect or the WARest server is unreachable. Check credentials and server status.
- If the session is already connected, reconnecting may not have any effect or may return the current session state.
Links
- WAREST GitHub Repository - Official repository for the WARest WhatsApp REST API, providing documentation and source code.
