Generate conversational Twitter/X threads with GPT-4o AI
Needs changesWhat this workflow does
This AI workflow has 6 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model and X (Formerly Twitter).
How it runs
Trigger: When a chat message arrives.
- Agente X (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (hilo, first tweet); memory: Simple Memory
Services it uses
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 Agente X (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.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Agente X (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (5)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Twitter Tool
n8n-nodes-base.twitterTool - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
🧵 Generate Conversational Twitter/X Threads with GPT-4o AI (n8n Workflow) This workflow uses OpenAI (GPT-4o) and Twitter/X to automatically generate and publish engaging, conversational threads in response to a trigger (e.g., from a chatbot or form). 🚀 What…