Automated tweet generator & publisher with GPT-4, Discord, and Google Sheets
Needs changesNeeds 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.0 | Replace 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 Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - AI Agent
@n8n/n8n-nodes-langchain.agent - Discord
n8n-nodes-base.discord - If
n8n-nodes-base.if - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Edit Fields (Set)
n8n-nodes-base.set - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - X (Formerly Twitter)
n8n-nodes-base.twitter - Google Sheets
n8n-nodes-base.googleSheets - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Notion
n8n-nodes-base.notion - Aggregate
n8n-nodes-base.aggregate - OpenAI
@n8n/n8n-nodes-langchain.openAi
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)