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, 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 manually input one).
- Writes tailored posts for Instagram, Facebook, X, and LinkedIn.
- Auto-generates platform-specific visuals using OpenAI (DALL·E) and uploads to Cloudinary.
- Publishes content directly using official platform APIs.
- Logs all actions to Google Sheets and optionally sends a summary email via Gmail.
⚙️ How It Works
- Trigger the workflow manually, on a schedule, or from a chatbot.
- AI generates multiple post ideas and filters the best one.
- Based on the selected idea, it generates full posts for each platform.
- Custom visuals are created using OpenAI and uploaded to Cloudinary.
- Final post content is merged and sent to Instagram, Facebook, X, and LinkedIn.
- Logs and optional reports are created in Google Sheets and Gmail.
🛠️ Setup Steps
- Set up your accounts and credentials: OpenAI, Cloudinary, Gmail, Meta, LinkedIn, X, and Google Sheets.
- Import the workflow and subworkflow (Get Brand Brief) into n8n.
- Replace all placeholders (sheet IDs, access tokens, profile/page IDs, brand brief URLs).
- Optionally personalize prompts and output templates to match your brand voice.
- Setup time: ~30–45 minutes (including credentials and testing).
Detailed configuration notes are included in sticky nodes throughout the workflow.
📦 Included in Your Package
- JSON workflow file (main flow + brand brief subflow)
- Google Sheets templates for history logging
- Setup documentation (Markdown & PDF)
- Placeholder reference sheet