N8N automated Twitter reply bot workflow
UnknownWhat this workflow does
This AI workflow has 37 nodes and runs on Telegram events (message) (plus 3 other triggers). Along the way it connects MongoDB, OpenRouter Chat Model, X (Formerly Twitter) and Telegram and 1 more.
How it runs
Trigger: On Telegram events (message) (plus 3 other triggers).
- If: checks a condition and branches into true / false
- Find documents (MongoDB): uses MongoDB
- Code: runs custom JavaScript code
- modify tweet data (Edit Fields (Set)): sets 2 fields: time_now, data
- Aggregate: combines items into one
- If: checks a condition and branches into true / false
- Basic LLM Chain: sends a prompt to an LLM, with model: OpenRouter Chat Model; output parser: Structured Output Parser
- Keyword/Community List (Edit Fields (Set)): sets or maps fields
- Create Tweet (X (Formerly Twitter)): uses X (Formerly Twitter)
- Randomized community, keyword (Edit Fields (Set)): sets 1 field: randomized_item
…plus 18 more steps. See the full node list below.
Services it uses
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 @apify/n8n-nodes-apify is verified or supports 3.0 (used in Get dataset items, Community search actor, Search keyword actor).
Nodes used (19)
- Manual Trigger
n8n-nodes-base.manualTrigger - If
n8n-nodes-base.if - MongoDB
n8n-nodes-base.mongoDb - Aggregate
n8n-nodes-base.aggregate - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - No Operation, do nothing
n8n-nodes-base.noOp - Wait
n8n-nodes-base.wait - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Apify
@apify/n8n-nodes-apify.apify - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - X (Formerly Twitter)
n8n-nodes-base.twitter - Telegram
n8n-nodes-base.telegram - Edit Fields (Set)
n8n-nodes-base.set - Telegram Trigger
n8n-nodes-base.telegramTrigger - Filter
n8n-nodes-base.filter
From the author
N8N Automated Twitter Reply Bot Workflow ============================================ For latest version, check: dziura.online/automation Latest documentation can be find here You must have Apify community node installed before pasting the JSON to your…