Automated content & promo tweet scheduler with Gemini AI and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs on a schedule (every 2 hours). Along the way it connects Google Sheets, Google Gemini Chat Model and X (Formerly Twitter).
How it runs
Trigger: On a schedule (every 2 hours).
- Time randomizer (Code): runs custom JavaScript code
- Code: runs custom JavaScript code
- If: checks a condition and branches into true / false
- Promotional Tweet maker (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 2 tools (log database, read database)
- Tweet maker (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 2 tools (log database, read database)
- Tweet (Edit Fields (Set)): sets 1 field: Tweet
- Creates the tweet (X (Formerly Twitter)): uses X (Formerly Twitter)
Services it uses
Other Google Gemini + Google Sheets templates (819) · Other X (Twitter) + Google Sheets templates (50) · Other X (Twitter) + Google Gemini templates (28)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - If
n8n-nodes-base.if - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - X (Formerly Twitter)
n8n-nodes-base.twitter
From the author
Twitter Automation (n8n Template) 🚀 What it does - Posts a unique tweet every 2 hours - 70% content tweets (10 proven templates) - 30% promo tweets pulled from Google Sheets - Logs past tweets to avoid duplicates --- ✅ Requirements - n8n - Google Sheets with…