Create AI-driven social media posts and publish to all major platforms
This n8n template is a complete, two-part social media engine: it automates competitor/inspiration research, uses AI to recreate viral formats for your niche, and handles multi-platform distribution with auto-generate...
Template notes
This n8n template is a complete, two-part social media engine: it automates competitor/inspiration research, uses AI to recreate viral formats for your niche, and handles multi-platform distribution with auto-generated visuals.
Instead of staring at a blank page, this workflow scrapes top-performing content, breaks down the psychological hooks, rewrites it for your specific audience, and drafts a custom text graphic. Once you approve the draft, n8n handles the heavy lifting of posting it everywhere.
You curate and approve. n8n researches, writes, designs, and publishes.
How it works Part 1: Research & Recreating
1. A scheduled trigger runs daily to pull a target username from your Airtable database. 2. Apify scrapes the latest tweets from that user, filtering out replies and links, and sorts them by the highest view count. 3. An AI Analysis Agent (Gemini) breaks down the top post's structure and creates a reusable template. 4. An AI Writing Agent (GPT) uses that template to write a fresh, original post tailored to your niche. 5. A Caption Agent (GPT) writes an engaging, long-form caption with hooks and hashtags. 6. The draft is saved into Airtable for your review.
Part 2: Auto-Posting & Repurposing
1. When you change a draft's status to "Approved" in Airtable, the second flow triggers. 2. An AI Image generator creates a sleek text-graphic based on your short post. 3. The image is uploaded to ImgBB to generate a public URL. 4. The pure text version is pushed directly to X (Twitter) and Threads (via authenticated HTTP requests). 5. The generated image and long-form caption are published to LinkedIn, Facebook, and Instagram. 6. Finally, the Airtable record is marked as "Posted."
How to use