Enhance Google Drive images with Gemini 2.5 Flash AI
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive. It also calls googleapis.com and generativelanguage.googleapis.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- promt (Edit Fields (Set)): sets 1 field: promt
- origin_folder (Google Drive): work with file folder
- destination_folder (Google Drive): work with file folder
- get files (HTTP Request): calls googleapis.com
- map table (Code): runs custom JavaScript code
- Filter: keeps only the items that match a condition
- config-data (Edit Fields (Set)): sets 4 fields: name, mimeType, id…
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- download-file (Google Drive): download
- to base (Extract from File): extracts data from a file (binary to propery)
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: googleapis.com, generativelanguage.googleapis.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Extract from File
n8n-nodes-base.extractFromFile - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - Convert to File
n8n-nodes-base.convertToFile - Filter
n8n-nodes-base.filter - Code
n8n-nodes-base.code - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
🚀 Google Drive Image Enhancement with Gemini nano banana This workflow automates image enhancement by integrating Google Drive with Google Gemini. It fetches unprocessed images from a source folder, applies AI-driven transformations based on a customizable…