Repository navigation
feat(whatsapp-flows): save files customers upload in flows - #1650
Merged
Merged
Conversation
viethung0o0
force-pushed
the
feat/whatsapp-flow-media-uploads
branch
6 times, most recently
from
November 4, 2026 17:42
c5c54c2 to
b41b423
Compare
- Download PhotoPicker / DocumentPicker answers from a Flow response with the media id, store them as message attachments, and record each file as stored or failed with a reason - Follow Meta's download steps and limits: 10 files and 100 MiB per response, 25 MiB per file, the documented type list, a fresh URL on 404 - Ask Meta only for media uploaded on the receiving number, and store each file under a random key so its public link cannot be guessed - Show a Flow response in the inbox as one compact card (text, photo previews, file count, files not saved) that opens the full answers - Return uploaded files from the flow-response API - Save file links to text custom fields from Flow steps and template Flow buttons, with an all-links or first-link format - Save DatePicker dates in the form date and datetime fields accept, and CalendarPicker ranges as start - end - Keep the id of the message a Flow response answers - Keep Flow files out of contact input, so media keywords, AI attachments and last user input behave as before - Validate the 10-file limit when publishing a Mini App as a WhatsApp Flow
viethung0o0
force-pushed
the
feat/whatsapp-flow-media-uploads
branch
from
November 4, 2026 17:50
b41b423 to
2542a3c
Compare
viethung0o0
marked this pull request as ready for review
November 4, 2026 23:09
hello-jackytruong
referenced
this pull request
in hello-jackytruong/ChatWorkAI
Nov 22, 2026
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
phone_number_id), and each file is stored under a random UUID key, so its public link cannot be guessed.start - end, and the id of the message a Flow response answers is kept.docs/whatsapp-flow-media-uploads.md.Validation