Multiple photos dowload from Telegram

Hi everyone,

I’m trying to build a scenario where, whenever I upload several files to my Telegram bot, Make automatically downloads them and uploads them to Google Drive.

However, I’m running into an issue: it seems that only one file is detected at a time, even when I send multiple files together. I noticed that Telegram messages can include a media group ID, which might help to identify grouped files, but I can’t find that field anywhere in the message properties inside Make.

I’m not sure if I should use an Iterator module in this case, or if there’s a better way to handle multiple files from the same upload batch.

My current flow is roughly:

  1. Telegram Bot → Watch updates

  2. (?? Iterator ??)

  3. Download files

  4. Upload to Google Drive

Could someone explain the correct approach to handle multiple Telegram files at once — and whether the media group ID is accessible or not in Make?

Thanks in advance for your help!

Hi ek314, as far as I know, there isn’t a way to get the fileID for each media that shares the same media_group_id at once. Telegram will still send you a webhook message for each image, so the easiest way is to download the images and upload them to Google Drive one by one as they come

Am facing the same issue in uploading multiple images. Were you able to find a solution?

Hi @ek314 and @Vanesa_Gate,

As @Jonathan_Quarics suggested, the best approach is to build the flow based on images received one by one, since the bot webhook triggers for each image. In this case, an iterator is not needed.

The flow would be:

  • Telegram Bot Watch updates
  • Download files
  • Upload to Google Drive

Let me know if you have any questions.