Templates / AI-powered X (Twitter) content generator and scheduler with LangChain and Blotato

AI-powered X (Twitter) content generator and scheduler with LangChain and Blotato

Unknown

by Yusuke Yamamoto ✓ · 434 views · created 2025-10-13 · 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 15 nodes and runs on a schedule (every 4 hours). Along the way it connects OpenRouter Chat Model, Google Sheets, Gmail and Google Drive and 1 more.

How it runs

Trigger: On a schedule (every 4 hours).

  1. AI: Generate X Post Content (AI Agent): runs an AI agent, with model: LLM: OpenRouter; output parser: Parser: Format AI Output to JSON
  2. Code: runs custom JavaScript code
  3. Google Sheets: append
  4. Google Sheets: uses Google Sheets
  5. If: checks a condition and branches into true / false
  6. Google Drive: work with file folder
  7. Blotato: uses Blotato
  8. Google Drive: download
  9. Gmail: uses Gmail
  10. Blotato: work with media

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

Services it uses

OpenRouter Chat ModelGoogle SheetsGmailGoogle DriveBlotato (community)

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 @blotato/n8n-nodes-blotato is verified or supports 3.0 (used in Blotato: Post Text-Only Tweet, Blotato: Post Tweet with Image, Blotato: Upload Image Media).

Nodes used (10)

From the author

This n8n template demonstrates how to use AI to fully automate the generation and scheduling of X (formerly Twitter) content based on a specific, predefined persona. Use cases are many: It's perfect for social media marketers looking to streamline content…

Excerpt from Yusuke Yamamoto'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.