Templates / Auto-post trending X tweets with Gemini AI images, FLUX and Buffer

Auto-post trending X tweets with Gemini AI images, FLUX and Buffer

Unknown

by Afigo Sam ✓ · 287 views · created 2026-04-06 · 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.

What this workflow does

This AI workflow has 33 nodes and runs on a schedule (cron =30 8,12,16 * * *). Along the way it connects Dropbox, Google Gemini, MCP Client and Apify (community). It also calls router.huggingface.co and api.dropboxapi.com over HTTP.

How it runs

Trigger: On a schedule (cron =30 8,12,16 * * *).

  1. Run an Actor and get dataset (Apify): run actor and get dataset
  2. Extract Trends (Code): runs custom JavaScript code
  3. Apify Success? (Primary) (If): checks a condition and branches into true / false
  4. Split Trend (Code): runs custom JavaScript code
  5. Run an Actor and get dataset (Apify): run actor and get dataset
  6. Merge: merges the data from its input branches
  7. Extract Trends (Code): runs custom JavaScript code
  8. Create a data table (Data table): create (table)
  9. Apify Success? (Fallback) (If): checks a condition and branches into true / false
  10. Get Used Trends (Data table): get

…plus 22 more steps. See the full node list below.

Services it uses

DropboxGoogle GeminiMCP ClientApify (community)

HTTP calls to: router.huggingface.co, api.dropboxapi.com

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Run an Actor and get dataset, Run an Actor and get dataset1).

Nodes used (12)

From the author

This n8n workflow automatically scrapes X (Twitter) trending topics for any country, generates a pidgin-style tweet and a matching AI image for each trend, then schedules and posts them to X via Buffer — all on a custom schedule. Perfect for social media…

Excerpt from Afigo Sam's description on n8n.io.

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.