The ultimate Instagram automation for high-quality images & text with GPT-Image
Needs changesWhat this workflow does
This AI workflow has 26 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Facebook Graph API, HTTP Request and Google Cloud Storage.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Input (Edit Fields (Set)): sets or maps fields
- Route by Image Style (Switch): routes items into branches
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Tavily WebSearch); output parser: Structured Output Parser
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Tavily WebSearch); output parser: Structured Output Parser
- GPT Image Generation (HTTP Request): calls an HTTP API
- GPT Image Generation (HTTP Request): calls an HTTP API
- Convert to Binary File (Convert to File): converts data to a file
- Convert to Binary File (Convert to File): converts data to a file
- Google Cloud Storage: uses Google Cloud Storage
- Google Cloud Storage: uses Google Cloud Storage
…plus 8 more steps. See the full node list below.
Services it uses
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 AI Agent (v1.9), AI Agent realistic Image (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.9), AI Agent realistic Image (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- Edit Fields (Set)
n8n-nodes-base.set - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Wait
n8n-nodes-base.wait - Facebook Graph API
n8n-nodes-base.facebookGraphApi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Http Request Tool
n8n-nodes-base.httpRequestTool - n8n Form Trigger
n8n-nodes-base.formTrigger - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Cloud Storage
n8n-nodes-base.googleCloudStorage - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Convert to File
n8n-nodes-base.convertToFile
From the author
This n8n workflow revolutionizes Instagram content creation by automating everything from idea input to publishing high-quality, AI-generated posts with realistic images or infographics. Whether you're an entrepreneur, a content creator, or a marketer, this…