Templates / Automated tweet generator & publisher with GPT-4, Discord, and Google Sheets

Automated tweet generator & publisher with GPT-4, Discord, and Google Sheets

Needs changes

by LukaszB ✓ · 3,482 views · created 2025-05-15 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Content creator (v1.8), Rewriter (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (18)

OpenAI Chat ModelSimple MemoryCall n8n WorkflowAI AgentDiscordStructured Output ParserBasic LLM ChainGoogle SheetsX (Formerly Twitter)NotionOpenAI

What it does

AI Twitter Content Machine – Write, Refine & Publish Tweets on Autopilot This workflow is perfect for creators, solopreneurs, and personal brands who want to consistently publish bold, high-performing content on X (Twitter) — without writing a single line themselves. After a one-time setup, it automatically generates tweet ideas, writes in your voice, evaluates post quality, avoids duplicates, and publishes directly to Twitter. All approvals and rewrites are handled in a conversational loop powered by OpenAI, Discord, and Google Sheets. Whether you’re building a personal brand or growing your startup audience, this tool will help you stay active, edgy, and relevant — with zero friction. How it works - Distill what your flow does in a few high-level steps. - Loads your brand brief from a sub-workflow. - Generates a tweet idea aligned with your tone. - Checks Google Sheets to ensure the idea hasn’t been used. - Writes the post. - Evaluates it using a feedback sub-workflow — if the quality score is below 0.7, it rewrites the post. - Refines tone and voice using a Rewriter Agent that mimics your past content (from a Google Sheet). - Sends the final post to a Discord channel for manual approval. - On approval, posts directly to Twitter (X) and logs it to Google Sheets (History and Examples tabs). Set up steps - Give users an idea of how long setup will take. Don’t describe every detail. - Keep detailed descriptions in sticky notes inside your workflow. Key benefits - No burnout, no block – Stop spending energy thinking what to tweet. AI handles everything. - Style-matching – Posts sound like you, not a generic robot. Based on your real writing. - Fast & scalable – Publish once or five times a day — it’s up to you. - Avoid duplicates – Each idea is checked against your post history. - Human-in-the-loop – You approve final posts via Discord. No rogue tweets. Integrations required - n8n - OpenAI API - Google Sheets - Twitter (OAuth2) - Discord (for approval) - Notion (optional for brand brief storage)

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.