Generate Content Strategy Insights from Reddit & X Using Gemini AI Analysis

Go to Workflow
0 views
Built by Pixcels Themes Pixcels Themes
Created on June 07, 2026

Description

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
Connect your Gemini API and Twitter API credentials.
Make sure the Form Trigger node is accessible.
Review and adjust the AI prompts if you want different output formats.
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

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
HTTP Request
n8n-nodes-base.httpRequest
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
X (Formerly Twitter)
n8n-nodes-base.twitter