How to upload multiple images into google drive in one execution?

I am trying to store multiple uploaded images through telegram bot into google drive. Task is successful but executions are being based on the image count i upload. Eg: I upload 20 photos at once, 20 executions are being made. How can I make only one execution to store all the uploaded images?

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Came across this free workflow, when I had the same question in mi mind… I thought it’s easier but it was not lol.

Here is the workflow that will make you understand media_group_id :