Skip to content

[NOWEB] poll.vote webhook events dropped (>95% loss) #2042

Description

@omernesh

Describe the bug

The poll.vote webhook event is documented in the OpenAPI spec (PollVote / PollVotePayload schemas), but on the NOWEB engine the vast majority of poll vote events are never delivered to the webhook. Polls can be created and votes can be cast successfully, but the corresponding poll.vote webhook events are rarely (if ever) fired.

Version

{
  "version": "2026.4.2",
  "engine": "NOWEB",
  "tier": "PLUS"
}

Steps

To Reproduce:

  1. Start a NOWEB session and configure a webhook URL
  2. Subscribe to poll.vote events
  3. Create a poll via POST /api/sendPoll:
{
  "chatId": "1234567890@c.us",
  "session": "default",
  "poll": {
    "name": "Test poll",
    "options": ["Option A", "Option B", "Option C"],
    "multipleAnswers": false
  }
}
  1. Cast votes from one or more participants
  2. Observe that the webhook receives no (or extremely few) poll.vote events

Expected behavior

Each vote on a poll should trigger a poll.vote webhook event with the voter and selected option(s).

Requests - Responses

The poll creation works fine and returns a valid message. Votes are visible in the WhatsApp UI. However, the webhook endpoint receives no poll.vote events — confirmed by checking webhook server logs over multiple polls and dozens of votes.

Additional context

  • This appears to be NOWEB-specific — the underlying WhatsApp Web socket may not reliably emit poll vote decryption events
  • This makes it impossible to build poll-based workflows (surveys, voting bots, etc.) on the NOWEB engine
  • poll event (poll creation) works correctly; only poll.vote (vote cast) is affected

patron:PLUS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions