← Back to Portfolio

AI Social Media Monitor — n8n Automation

Javascript Javascript
Node.js Node.js
n8n n8n
AI AI
Project Overview:
  • Project: AI Social Media Monitoring System
  • Platform: n8n (self-hosted workflow automation)
  • AI Model: OpenAI GPT-4o-mini
  • Objective: Monitor brand mentions across social media platforms in real time, analyze each mention for sentiment, urgency, and opportunity using AI, then route alerts to the appropriate team channel — with built-in crisis detection, influencer identification, and suggested responses.
Background:
In the age of viral content, a single negative tweet can snowball into a brand crisis within hours. At the same time, a positive mention from the right influencer can drive more value than a month of advertising. Most teams find out about both too late. This automation monitors your brand mentions every 15 minutes, runs each through AI sentiment analysis, and routes them to four severity-based Slack channels. Crisis mentions trigger immediate alerts. Influencer mentions are flagged for partnership opportunities. And every mention gets an AI-suggested response, ready for your team to review and send.
AI Social Media Monitor Cover
How It Works:
Scheduled Mention Collection:
Every 15 minutes, the workflow triggers and fetches new brand mentions from your social monitoring API. It supports multiple data sources — Reddit’s API, Twitter/X search, RSS feeds from review sites, and any custom social listening endpoint. The system deduplicates mentions against previously processed entries to avoid alert fatigue.
AI Sentiment & Risk Analysis:
Each mention is analyzed by GPT-4o-mini across five dimensions: overall sentiment (positive, neutral, negative), urgency level (1–10), brand risk score, opportunity score, and reach estimate based on the author’s follower count and engagement history. The AI also generates a contextual suggested response for each mention, accounting for the platform’s tone and the specific nature of the conversation.
Intelligent Alert Routing:
  • #brand-crisis: High-risk, high-urgency mentions — potential PR problems that need an immediate team response within minutes.
  • #brand-alerts: Negative sentiment mentions that aren’t yet critical but need monitoring and potentially a proactive response.
  • #brand-influencers: Mentions from high-reach accounts — flagged for partnership, engagement, or amplification opportunities.
  • #brand-mentions: Positive and neutral mentions — great for team morale, social proof collection, and trend monitoring.
Every mention is simultaneously logged to Google Sheets with all AI analysis data, creating a historical dashboard of brand sentiment trends, response rates, and platform-specific performance over time.
AI Social Media Monitor Workflow
Key Results:
  • Detection Speed: Brand mentions identified and analyzed within 15 minutes of posting — turning hours-late reactions into real-time responses.
  • Crisis Prevention: Early detection of negative trends before they escalate, with suggested de-escalation responses ready to deploy.
  • Influencer Discovery: Automatic identification of high-value accounts mentioning your brand, enabling timely outreach and partnership conversations.
  • Data-Driven Insights: Historical sentiment data reveals long-term brand health trends, campaign impact, and platform-specific audience behavior.
AI Social Media Monitor Dashboard
Tech Stack:
  • Automation: n8n (self-hosted)
  • AI: OpenAI GPT-4o-mini
  • Data Sources: Reddit API, RSS Feeds, Social Listening APIs
  • Notifications: Slack API (4 channels)
  • Data Storage: Google Sheets API
  • Trigger: Cron Schedule (every 15 minutes)
Source Code: View on GitHub →