Generate multiple AI images with DALL·E 2 and upload to Google Drive
Ready for 3.0What this workflow does
This AI workflow has 6 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI and Google Drive.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Image Prompt (Edit Fields (Set)): sets 2 fields: Prompt, Name
- Duplicate Rows (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Upload to Google Drive (Google Drive): uses Google Drive
- Generate an image (OpenAI): work with image
Services it uses
Other OpenAI + Google Drive templates (628)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- OpenAI
@n8n/n8n-nodes-langchain.openAi - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - Code
n8n-nodes-base.code
From the author
n8n Workflow: OpenAI DALL·E 2 Image Generation & Google Drive Upload Description This n8n workflow automates the process of generating multiple AI-created images from a single prompt using OpenAI's DALL·E 2, then uploads the results directly to a Google Drive…