Social Media Automation System!!!
Stop there.....! I just built a social media automation system that runs a Facebook page on complete autopilot & the workflow canvas looks like a city map. Let me break down what's actually happening inside: 4 content sources. One brain. Zero manual work. 📡 RSS Feed — Pulls live news automatically, detects whether each item is text, image, or video, rewrites it with AI, generates a matching image if needed, and posts it. All by itself. 3 posts/day cap so the page doesn't spam. 🔗 Blog Post URL — Drop any URL. The system scrapes the full article, extracts the content, rewrites it into an engaging Facebook caption, generates a custom image, and publishes. You never even open Facebook. 🎬 YouTube Summary — Paste a YouTube link. It fetches the full transcript, summarizes the key points, turns it into a scroll-stopping post, generates a thumbnail-style graphic, and posts it with your custom link in the caption. ✍️ Manual PostFlow Form — Built a custom Lovable UI where the client selects post type, writes their content, picks an image style, and hits submit. n8n handles everything after that — AI rewrite, image gen, Facebook post. Instant or scheduled. The tech stack running under the hood: → n8n for workflow orchestration (self-hosted on VPS) → OpenAI GPT-4o-mini for content rewriting and summarization → fal.ai Flux for AI image generation → Facebook Graph API for publishing → Google Sheets for scheduling, daily limits, deduplication, and error logging → Lovable for the front-end submission form --- The hard problems I solved along the way: 🔴 Facebook deprecated publish_actions — had to ditch n8n's built-in node and rebuild with raw HTTP requests using the modern Graph API 🔴 Dynamic AI-generated text was breaking JSON bodies — solved with JSON.stringify() in a Code node before every HTTP request 🔴 RSS feeds sending 15+ items/day — built a daily post counter using Google Sheets date filtering so it caps at exactly 3 posts/day 🔴 Same RSS item firing multiple times — built a GUID-based deduplication check before every post attempt