Block 1 - Code
- Type / Role
- n8n-nodes-base.code - code
- Config choices
- Version 2
This workflow is provided as-is. Please review and test before using in production.
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 du...
n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googlesheetstool, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote, n8n-nodes-base.set
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jay Emp0.
Original n8n.io sourceposts → log of past tweets (PAST TWEETS, Date) promo → promo source (name, last_posted, optional extra fields)Automated motivational posts
Automated promo posts
posts, generates tweet, logs new one. promo, generates tweet, updates last_posted. Transformation · Hook–List–Takeaway · Interesting Fact · Metaphor · Contrast · Motivation · Triad · Comparison · 80/20 Rule · Callout
| Setting | Where | Example |
|---|---|---|
| Ads probability | Code node | Change Math.random() < 0.3 → 0.2 for 20% |
| Templates | Code node | Edit the templates array |
| Cadence | Schedule Trigger | Cron or fixed hours |
| Random delay | Time randomizer | Enable node (0–120 mins) |
| Issue | Fix |
|---|---|
| Repeated tweets | Ensure posts has column PAST TWEETS |
| Not posting | Reconnect Twitter creds with write access |
| Promo never used | Increase ads probability (e.g., 0.4) |
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Automated content & promo tweet scheduler with Gemini AI and Google Sheets |
|---|---|
| Complexity | advanced |
| Nodes | 20 |
| Categories | Social Media, Multimodal AI |
| Author | Jay Emp0 |
| Published | 10 Sept 2025 |
Use the JSON export at /data/workflows/8435/8435.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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 du...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media, Multimodal AI use case.