How to add/upload a video from Google file to Gemini in n8n

Describe the problem/error/question:

I’m struggling with adding a video uploaded to my Google Drive. I want to add this video as the context for the Gemini chat. I can easily do this using Google AiStudio, but I would like to use n8n to automate the process. How do I add the URL from the GDrive to the Gemini chat? Please guide me on how to create certain steps to or upload data using n8n. Thank you very much in advance!

Information on your n8n setup

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

HI,

Your question is better suited for " “Help me Build my Workflow”". thank you.

I found the answer and the whole solution here: 5minAI

It might be helpful for others.