feat(whatsapp): implement mark-as-read and message reactions via Cloud API - #1174
Open
JuanBifrost wants to merge 1 commit into
Open
JuanBifrost wants to merge 1 commit into
JuanBifrost wants to merge 1 commit into
Conversation
…d API - Add native WhatsApp Cloud API handlers for 'agentMarkAsRead' and 'sendReaction' - Add Flow Builder steps for 'Mark as read' (blue ticks) and 'Reaction' (preset and custom emojis) - Lookup and thread latest incoming message sourceId as message_id for both endpoints - Register markAsRead and reaction in Flow Config schemas, node maps, and step menus - Add complete i18n translations across all 20 supported languages - Add comprehensive unit tests for Worker step handlers and WhatsApp integration
JuanBifrost
force-pushed
the
feat/whatsapp-mark-as-read-and-reaction
branch
from
September 13, 2026 23:58
a0041ff to
155c38a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements native WhatsApp Cloud API capabilities for marking incoming messages as read (blue checkmarks) and sending message reactions with emojis directly from the Flow Builder.
Features & Implementation Details
Mark as Read (
markAsRead):sourceId) within the 30-day window.POST /<phoneId>/messagesrequest withstatus: "read"andmessage_id.viewer,editor, and menu registrations).Message Reactions (
reaction):POST /<phoneId>/messagesrequest withtype: "reaction"targeting the recipient and the specific incomingmessage_id.Multi-language Support (i18n):
apps/builder/messages/.Testing:
apps/worker/__tests__/step-typing-handler.test.ts.integrations/whatsapp/__tests__/conversation-typing.test.ts.