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 decrypts a poll vote from WhatsApp using the WARest WhatsApp REST API. It is useful for processing raw poll vote data received from WhatsApp webhook payloads to extract meaningful decrypted information about the vote. This can be applied in scenarios where you need to analyze or verify poll votes in WhatsApp group chats or channels.
Use Case Examples
- Decrypt a poll vote received from a WhatsApp webhook to analyze user responses in a poll.
- Use decrypted poll vote data to trigger further automation based on poll results.
Properties
| Name | Meaning |
|---|---|
| Session | Identifier of the WhatsApp session to use for the operation, selected from existing sessions or entered manually. |
| Poll Update Vote (JSON) | Raw pollUpdateVote object from WhatsApp webhook payloads containing the encrypted poll vote data to decrypt. |
| Additional Fields | Optional additional parameters for poll decryption such as poll secret key, poll message ID, poll creator JID, and voter JID. |
Output
JSON
json- Decrypted poll vote data returned from the API
Dependencies
- WARest WhatsApp REST API
Troubleshooting
- Ensure the session ID is valid and active to avoid authentication errors.
- Verify the pollUpdateVote JSON is correctly formatted and contains the expected encrypted poll vote data.
- Check that the poll secret and related additional fields are correctly provided if required for decryption.
- Common errors include invalid session, malformed pollUpdateVote data, or missing decryption keys. Verify inputs and credentials to resolve these.
Links
- open-wa/wa-automate-nodejs - Official repository for the WhatsApp automation library used by WARest API.
- open-wa Documentation - Documentation for the WhatsApp automation API that WARest wraps, including poll vote decryption.
