Generate content strategy insights from Reddit & X using Gemini AI analysis
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
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
What it does
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, trend opportunities, and actionable content ideas. What it does / How it works This workflow begins with a form where the user enters a single topic. An AI agent expands the topic into subtopics and generates multiple relevant keywords. For each keyword, the workflow automatically gathers content from Reddit and X (formerly Twitter), extracting posts, titles, text, engagement metrics, and links. Each collected post is then analyzed by an AI model to determine: - Trend potential - Audience relevance - Platform suitability - Recommended content formats - Categories and keywords Once all posts are processed, a final AI agent synthesizes the results, identifies the strongest emerging trends, groups similar insights, and generates strategic content recommendations. Requirements - Google Gemini (PaLM) API credentials - X / Twitter OAuth2 credentials - Access to the n8n Form Trigger (publicly accessible URL) How to set up 1. Connect your Gemini API and Twitter API credentials. 2. Make sure the Form Trigger node is accessible. 3. Review and adjust the AI prompts if you want different output formats. 4. Run the form, enter a topic, and execute the workflow. How to customize the workflow - Add more platforms (YouTube, TikTok, Instagram, Hacker News) - Add sentiment scoring or engagement ranking - Export insights to Google Sheets or Notion - Generate ready-to-post content from the trends