π§ Reddit Sentiment Analysis Engine (n8n Workflow)
π Analyze Emotional Tone, Toxicity & Community Insights from Reddit Posts β Instantly
This advanced n8n workflow transforms Reddit content into structured sentiment intelligence β perfect for community managers, brand monitoring, researchers, or AI-based moderation tools.
π What It Does
This workflow pulls recent Reddit posts from any subreddit and automatically analyzes:
β
Overall sentiment (positive, negative, neutral) with confidence score
β
Emotional tone and intensity (e.g. frustration, excitement, sarcasm)
β
Toxicity level and content type (meme, debate, complaint, praise, etc.)
β
Moderation insights: flagging issues like trolling or misinformation
β
Actionable community response suggestions (urgency, follow-ups, etc.)
π§ Built With
- n8n (self-hosted or desktop)
- Reddit API
-
LangChain + OpenRouter AI (
deepseek-r1) - Webhook-based ingestion
- JSON-structured AI prompts and extraction pipeline
π₯ Use Cases
- π‘οΈ Reddit mod teams or community managers
- π’ Brands tracking sentiment about their services
- π§ͺ Social researchers categorizing discourse
- π§ AI startup founders building moderation or trend detection tools
βοΈ Workflow Features
- Accepts HTTP POST request via webhook (e.g., from a form, tool, or external trigger)
- Scrapes top 5 recent posts from any subreddit
- Analyzes post and comment sentiment in-depth
- Outputs a well-structured JSON report with categories like:
- Sentiment Confidence
- Tone
- Toxicity
- Urgency
- Follow-up action suggestions
π― Example Output
{
"sentiment_analysis": {
"overall_sentiment": {
"category": "Negative",
"confidence_score": 9
},
"emotional_tone": ["Frustrated", "Angry"],
"intensity_level": "High"
},
"content_categorization": {
"discussion_type": "Complaint",
"key_themes": ["Banking issues", "Mobile app"],
"toxicity_level": {
"level": "Medium",
"indicators": "Aggressive language, expletives"
}
},
"contextual_insights": {
"community_engagement_quality": "Mixed",
"potential_issues_flagged": ["Trolling"],
"trending_concerns": ["App update issues"]
},
"actionable_intelligence": {
"moderator_attention_needed": {
"required": "Yes",
"reason": "Escalating frustration + policy violations"
},
"response_urgency": "High",
"suggested_follow_up_actions": [
"Send moderation notice",
"Clarify app update changes"
]
}
}π¦ Includes
- β
Full n8n Workflow JSON (
Reddit Sentiment Analysis) - β Pre-written prompt with detailed Reddit-specific sentiment instructions
- β Modular nodes for extracting text, batching, and LLM interaction
- β Code node to unwrap and reformat AI JSON safely
- β Webhook entry point to trigger from any app or system
π§ Requirements
- n8n (self-hosted or desktop)
- Reddit API credentials
- OpenRouter API key (LLM access)
- JSON-friendly webhook caller (Zapier, Integromat, browser fetch, etc.)
π‘ Prompt Customization Ideas
Want to fine-tune for your own brand or use case?
- Add brand name detection or flagging
- Customize tone detection (e.g., detect sarcasm for Gen Z brands)
- Add real-time email alerts for high-toxicity reports
- Feed results into Notion, Slack, or a CRM for team alerts
π Ready to Use in Minutes
Just plug in your Reddit and OpenRouter credentials, trigger the webhook, and start analyzing real Reddit conversations for powerful community sentiment intelligence.
Built by a verified n8n creator obsessed with automation + AI + data.
Perfect for building LLM-powered moderation, PR watch tools, or Reddit dashboards.