π Generate content strategy insights from Reddit & X using Gemini AI analysis
β‘ 232 views Β· π Market Research & Insights
π‘ Pro Tip β Since TikTok doesnβt have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments β drop it into your workflow and skip the parsing.
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
HTTP Request, X (Formerly Twitter), AI Agent, Structured Output Parser, n8n Form Trigger, Google Gemini Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File