Automate social media content with AI for Instagram, Facebook, LinkedIn & X
Needs changesWhat this workflow does
This AI workflow has 50 nodes and runs on a schedule (every day) (plus 3 other triggers). Along the way it connects OpenAI Chat Model, Notion, Facebook Graph API and X (Formerly Twitter) and 5 more.
How it runs
Trigger: On a schedule (every day) (plus 3 other triggers).
- Get Brief (Execute Sub-workflow): calls another n8n workflow
- Edit Fields (Edit Fields (Set)): sets or maps fields
- Notion: uses Notion
- Idea creator (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
- AI Content creator (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (Check Examples, Get_Brand_Brief); memory: Simple Memory; output parser: Social Media Content
- Aggregate: combines items into one
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Google Sheets, Get_Brand_Brief)
- LinkedIn Image generator (OpenAI): uses OpenAI
- IG Image generator (OpenAI): uses OpenAI
- Edit Fields (Edit Fields (Set)): sets or maps fields
…plus 26 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 Content creator (v1.8), AI Agent (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 Content creator (v1.8), AI Agent (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (24)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - AI Agent
@n8n/n8n-nodes-langchain.agent - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Edit Fields (Set)
n8n-nodes-base.set - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Manual Trigger
n8n-nodes-base.manualTrigger - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Notion
n8n-nodes-base.notion - Aggregate
n8n-nodes-base.aggregate - Facebook Graph API
n8n-nodes-base.facebookGraphApi - Merge
n8n-nodes-base.merge - X (Formerly Twitter)
n8n-nodes-base.twitter - LinkedIn
n8n-nodes-base.linkedIn - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI
@n8n/n8n-nodes-langchain.openAi - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets - Google Docs
n8n-nodes-base.googleDocs - HTTP Request
n8n-nodes-base.httpRequest - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
AI Social Media Content Automation – n8n Workflow This workflow is built for creators, solopreneurs, SaaS founders, and agencies looking to automate their social media content process from idea to publication. It combines the power of OpenAI, Google Sheets,…