Auto-post trending X tweets with Gemini AI images, FLUX and Buffer
UnknownWhat 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 * * *).
- Run an Actor and get dataset (Apify): run actor and get dataset
- Extract Trends (Code): runs custom JavaScript code
- Apify Success? (Primary) (If): checks a condition and branches into true / false
- Split Trend (Code): runs custom JavaScript code
- Run an Actor and get dataset (Apify): run actor and get dataset
- Merge: merges the data from its input branches
- Extract Trends (Code): runs custom JavaScript code
- Create a data table (Data table): create (table)
- Apify Success? (Fallback) (If): checks a condition and branches into true / false
- Get Used Trends (Data table): get
…plus 22 more steps. See the full node list below.
Services it uses
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Apify
@apify/n8n-nodes-apify.apify - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Dropbox
n8n-nodes-base.dropbox - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - MCP Client
@n8n/n8n-nodes-langchain.mcpClient - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge
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…