Uh oh!
There was an error while loading. Please reload this page.
improvement(whatsapp): validate + improve integration skill for file inputs/outputs - #5942
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview Integration authoring docs (skills, commands, Telegram and Buffer blocks are aligned to that pattern—file upload + reference pairs, separate URL/file_id fields, and params that map uploads to HTTPS URLs for Telegram JSON APIs. Docs and block skills/templates are updated for 24-hour windows, limits, and new operations. Reviewed by Cursor Bugbot for commit ec21502. Configure here. |
Greptile SummaryAdds WhatsApp media upload/download support and strengthens integration file handling.
Confidence Score: 5/5The pull request appears safe to merge because no eligible blocking failure remains. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/blocks/blocks/whatsapp.ts | Expands WhatsApp operations and maps canonical file inputs to upload, send, and download tools. |
| apps/sim/app/api/tools/whatsapp/get-media/route.ts | Adds authenticated, size-limited WhatsApp media retrieval and workflow-file storage. |
| apps/sim/app/api/tools/whatsapp/send-media/route.ts | Adds server-side orchestration for direct media sends and file-upload-backed sends. |
| apps/sim/app/api/tools/whatsapp/upload.server.ts | Implements authorized file retrieval, per-media size enforcement, and multipart Meta uploads. |
| apps/sim/lib/workflows/migrations/whatsapp-interactive-type.ts | Backfills the interactive-message variant for legacy WhatsApp workflow blocks. |
| apps/sim/lib/webhooks/providers/whatsapp.ts | Exposes media IDs, MIME types, hashes, filenames, and captions from incoming messages. |
| apps/sim/tools/whatsapp/utils.ts | Centralizes WhatsApp endpoint construction, media limits, message bodies, and response handling. |
| apps/sim/blocks/blocks/telegram.ts | Separates file references from Telegram IDs and URLs while resolving workflow files to HTTPS URLs. |
Sequence Diagram
sequenceDiagram
participant W as Workflow
participant T as WhatsApp Tool
participant R as Internal Media Route
participant M as Meta Graph API
participant S as File Storage
W->>T: Upload, send, or download media
T->>R: Authenticated internal request
alt Upload or file-backed send
R->>S: Read authorized workflow file
R->>M: Upload media
M-->>R: Media ID
opt Send media
R->>M: Send message with media ID
end
else Download media
R->>M: Fetch metadata and media bytes
R->>S: Store execution file
end
R-->>T: Normalized output
T-->>W: Media ID, message result, or file
Reviews (2): Last reviewed commit: "add whatsapp subblock migration" | Re-trigger Greptile
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
icecrasher321
commented
Jul 24, 2026
bugbot run |
icecrasher321
commented
Jul 24, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit ec21502. Configure here.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.

Summary
Validate whatsapp + blocks with file inputs / outputs.
Type of Change
Testing
N/A
Checklist