Generate professional product images | AI marketing campaign generator
Needs changesWhat this workflow does
This AI workflow has 23 nodes and runs when someone submits an n8n form (“🚀 AI Marketing Campaign Generator V2”). Along the way it connects Google Drive and OpenAI Chat Model. It also calls api.openai.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“🚀 AI Marketing Campaign Generator V2”).
- Google Drive: uses Google Drive
- Edit Fields (Code): runs custom JavaScript code
- Image & Text Analyzer (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Code: runs custom JavaScript code
- Switch: routes items into 5 branches
- Instagram_Post (HTTP Request): calls api.openai.com (POST)
- Instagram_Story (HTTP Request): calls api.openai.com (POST)
- Website_Banner (HTTP Request): calls api.openai.com (POST)
- Ad_Creative (HTTP Request): calls api.openai.com (POST)
- Testimonials (HTTP Request): calls api.openai.com (POST)
…plus 10 more steps. See the full node list below.
Services it uses
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Image & Text Analyzer (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Image & Text Analyzer (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Google Drive
n8n-nodes-base.googleDrive - Switch
n8n-nodes-base.switch - Convert to File
n8n-nodes-base.convertToFile - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
🚀 AI Marketing Campaign Generator Upload product image + details → Get complete professional marketing campaign with 5 custom-generated assets automatically. 🤖 AI Model GPT-4o Mini (OpenAI) - For campaign strategy | Prompt Image generation GPT Image-1…