Automate social media content with AI for Instagram, Facebook, LinkedIn & X
n8n template #4637Summary
Use templateAI 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, and official APIs for Instagram, Facebook, X (Twitter), and LinkedIn to deliver fully automated, brand-consistent social media posts — including text, images, hashtags, CTAs, and scheduling. No more switching tools, rewriting content, or forgetting to post. Just set it up once and let your brand grow automatically. 🔧 What the Workflow Does Generates platform-specific post ideas based on your brand tone. Selects the best idea (or lets you
How to set it up
- Open template #4637 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create 9 credentials under Credentials → Add credential: Google Sheets, Facebook Graph API, X (Formerly Twitter), Gmail, LinkedIn, Notion, Google Docs, OpenAI Chat Model, OpenAI. Then open each of those nodes and pick the credential.
- Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- Toggle the workflow to Active so its trigger runs on its own.
Hand off to your agent
Prompt
Help me set up the n8n workflow "Automate social media content with AI for Instagram, Facebook, LinkedIn & X" (https://n8n.io/workflows/4637). It uses: Google Sheets, HTTP Request, Facebook Graph API, X (Formerly Twitter), Gmail, LinkedIn, Notion, Google Docs, AI Agent, Basic LLM Chain, OpenAI Chat Model, Simple Memory, Structured Output Parser, Call n8n Workflow Tool, OpenAI. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Google SheetsHTTP RequestFacebook Graph APIX (Formerly Twitter)GmailLinkedInNotionGoogle DocsAI AgentBasic LLM ChainOpenAI Chat ModelSimple MemoryStructured Output ParserCall n8n Workflow ToolOpenAI
Questions
Yes. LukaszB published it free on n8n.io as a verified creator, and it has 16K views. It runs on n8n Cloud or a self-hosted n8n instance.
Google Sheets, Facebook Graph API, X (Formerly Twitter), Gmail, LinkedIn, Notion, Google Docs, OpenAI Chat Model, OpenAI. The other 6 nodes are built into n8n.
Similar workflows
NameViews
- Automate SEO blog creation + social media with GPT-4, Perplexity and WordPress5,798
- Explore n8n Nodes in a Visual Reference Library5,197
- ✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition55K
- ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
- Automate SEO blog content creation with GPT-4, Perplexity AI and WordPress6,949
- Publish WordPress Posts to Social Media X, Facebook, LinkedIn, Instagram with AI32K
- Hacker News to Video Content47K
- Automated Stock Analysis Reports with Technical & News Sentiment using GPT-4o37K