Templates / Generate & schedule social posts with Gemini/OpenAI for X and LinkedIn

Generate & schedule social posts with Gemini/OpenAI for X and LinkedIn

Needs changes

by Nurseflow · 5,823 views · created 2025-07-12 · Social Media, Multimodal AI

Needs changes. This template uses 3 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), Function (legacy), OpenAI (legacy). 3 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Generate AI Content (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Function (legacy)
Filter High Engagement Posts
Code node, mode 'Run Once for All Items'
OpenAI (legacy)
Generate Post Ideas (OpenAI)
OpenAI node (AI section)

Nodes used (14)

Google Gemini Chat ModelAI AgentStructured Output ParserX (Formerly Twitter)LinkedInGoogle SheetsSlack

What it does

💼 LinkedIn Content Machine – AI-Powered Post Generator & Scheduler for X and LinkedIn How it works: This end-to-end workflow automates your personal or brand content strategy by: - 🧠 Using Google Gemini or OpenAI to generate engaging LinkedIn/X content from a title or trending posts. - 🗓️ Posting directly to LinkedIn and X (formerly Twitter). - 📊 Pulling high-performing LinkedIn posts to inspire new ideas. - ✍️ Saving AI-generated drafts to Google Sheets for review. - 🔔 Notifying your team on Slack when drafts are ready. Steps to set up: 1. Add your API keys for Google Gemini or OpenAI. 2. Set up your LinkedIn, X (Twitter), Google Sheets, and Slack credentials. 3. Customize prompt logic or post filters if needed. 4. Schedule the idea generation module or trigger it manually. 5. Start generating and posting consistent, high-quality content with zero manual effort!

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.