Generate content strategy insights from Reddit & X using Gemini AI analysis
Ready for 3.0What this workflow does
This AI workflow has 26 nodes and runs when someone submits an n8n form (“topic”). Along the way it connects X (Formerly Twitter) and Google Gemini Chat Model.
How it runs
Trigger: When someone submits an n8n form (“topic”).
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Code: runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Split Out: splits a list into separate items
- HTTP Request: calls an HTTP API
- Search Tweets (X (Formerly Twitter)): search
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Code: runs custom JavaScript code
- Edit Fields (Edit Fields (Set)): sets 3 fields: source, text, keyword
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model
…plus 6 more steps. See the full node list below.
Services it uses
Other X (Twitter) + Google Gemini templates (28)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (13)
- n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - X (Formerly Twitter)
n8n-nodes-base.twitter - Code
n8n-nodes-base.code - Aggregate
n8n-nodes-base.aggregate - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Split Out
n8n-nodes-base.splitOut - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Who’s it for This template is perfect for content creators, marketers, solopreneurs, agencies, and social media strategists who want to understand what audiences are talking about online. It helps teams quickly turn broad topics into structured insights,…