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 this workflow does

This AI workflow has 33 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Discord, Google Sheets and X (Formerly Twitter) and 2 more.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Get Brief (Execute Sub-workflow): calls another n8n workflow
  2. Notion: get many (block)
  3. Idea creator (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  4. Aggregate: combines items into one
  5. Edit Fields (Edit Fields (Set)): sets 1 field: Post Idea
  6. Edit Fields (Edit Fields (Set)): sets 1 field: content
  7. AI Content creator (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 3 tools (Check History, Get_Brand_Brief, Get_Content_Fedback); memory: Simple Memory
  8. Rewriter (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Check Examples); memory: Simple Memory
  9. Send post for approval (Discord): send and wait for a reply (message)
  10. If: checks a condition and branches into true / false

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

Services it uses

OpenAI Chat ModelDiscordGoogle SheetsX (Formerly Twitter)NotionOpenAI

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

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

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

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)

From the author

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…

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