Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

Email Automation

Check video upload sizes for Discord, WhatsApp, Gmail and more with VidSmaller

When you run it, it handles email.

What it does

# Video upload pre-flight check Stop discovering upload limits at the upload dialog. Give this workflow a list of video URLs and it tells you, per platform, which ones will upload and what the rest have to be compressed to - without downloading a single file. ### How it works 1. A HEAD request reads each video's size from its Content-Length header. A few hundred bytes per video, not hundreds of megabytes. 2. VidSmaller's free API turns that size into a verdict: the platform's real limit, whether the file clears it, and the settings that would make it fit. 3. Results are split three ways - ready / too big / size unknown - merged, and reported. ### Why not just hardcode the limits Because they move and they lie. Discord raised its free cap from 10 MB to 20 MB in August 2026 and its own FAQ still said 10 MB weeks later. Gmail's "25 MB" is really ~18 MB of file, because the attachment is measured *after* base64 encoding. Telegram's 2 GB does not apply to bots, which stop at 50 MB. The API returns every limit with a verifiedAt date and a link to the platform's own documentation, plus a safeTargetMb that sits below the stated cap - because a target-size encode lands within a couple of percent, and two percent *over* a hard ceiling is a failed upload. ### Setup None. No API key, no account, no credentials. Click Execute workflow and it runs on four real, public sample videos across three platforms. Docs: vidsmaller.com/api-docs · Rate limit: 600 requests/hour/IP.

The steps

  1. When clicking 'Execute workflow'
  2. Sample videos
  3. Webhook
  4. Read webhook input
  5. Split out videos
  6. Get file size (HEAD)
  7. Read Content-Length
  8. Could we read the size?
  9. VidSmaller: limit + estimate
  10. Route by verdict
  11. Ready to upload
  12. Compress before uploading
  13. Size unknown
  14. Collect results

16 steps in total.

Similar automations