Templates / Generate trending X, Facebook, and Threads posts with Apify, Gemini, and Buffer

Generate trending X, Facebook, and Threads posts with Apify, Gemini, and Buffer

Unknown

by Afigo Sam βœ“ Β· 263 views Β· created 2026-04-09 Β· Social Media, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

Community nodes

These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

Nodes used (10)

Google GeminiMCP Client

What it does

πŸš€ Overview This workflow automatically discovers trending topics, generates engaging social media content using AI, and publishes posts to X (Twitter) and Facebook via Buffer. It combines trend monitoring + AI content generation + automated publishing into one seamless pipeline, helping creators and marketers stay consistent and relevant without manual effort. 🎯 Who is this for - Content creators & social media managers - Agencies managing multiple accounts - Developers building AI-powered automation systems - Anyone who wants to post consistently on trending topics βš™οΈ What this workflow does 1. Fetches trending topics (e.g., from X or external sources) 2. Filters and formats relevant trends 3. Uses Google Gemini to generate: 4. X (Twitter) tweets 5. Facebook posts 6. Thread posts 6. Formats content for each platform 7. Publishes posts automatically via Buffer API ✨ Key Features - Fully automated content pipeline - Multi-platform posting (X + Facebook + Thread) - AI-generated threads + captions - Easily customizable prompts and filters - Scalable for multiple niches or accounts πŸ”§ Setup Instructions 1. Credentials required - Google Gemini API key - Apify API key - Buffer API access token 2. Configuration steps - Add your API credentials to the respective nodes - Customize the prompt templates for your niche - Define your preferred trend source or keywords - Set posting frequency (via Cron or trigger node) 3. Optional customization - Add moderation/approval step before posting - Filter trends by region, hashtags, or keywords - Adjust tone (professional, funny, viral, etc.) and language 🧠 How it works (high-level) The workflow monitors trending data, processes it into structured input, and feeds it into AI models to generate platform-specific content. The output is then formatted and sent to Buffer for scheduled or immediate publishing. ⚠️ Notes & Limitations - AI-generated content may require review for accuracy - Rate limits may apply depending on APIs used - Ensure Buffer supports your connected accounts - Trending data source reliability may vary --- πŸ‘‹ Need help or want to customize this workflow? πŸ“Ί Contact: Fiverr πŸ“© Consultation: Book Appointment

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.