Store AI-generated images in AWS S3: OpenAI image creation & cloud storage
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model, OpenAI and AWS S3.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Edit Fields (Edit Fields (Set)): sets 2 fields: aws_region, folder_name
- Create AWS S3 Bucket (AWS S3): work with bucket
- Delete uploaded image (AWS S3): delete
- Create a folder (AWS S3): work with folder
- Delete a folder (AWS S3): delete (folder)
- Prompt Generation Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Generate an image (OpenAI): work with image
- Upload a file (AWS S3): upload
Services it uses
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 (6)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - OpenAI
@n8n/n8n-nodes-langchain.openAi - AWS S3
n8n-nodes-base.awsS3 - AI Agent
@n8n/n8n-nodes-langchain.agent - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set
From the author
Automating AWS S3 Operations with n8n: Buckets, Folders, and Files Watch the demo video below: This tutorial walks you through setting up an automated workflow that generates AI-powered images from prompts and securely stores them in AWS S3. It leverages the…