Track daily brand mentions from Hacker News to Slack with GPT-4o-mini sentiment analysis
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (cron 0 9 * * *) (plus 1 other trigger). Along the way it connects Slack and OpenAI Chat Model.
How it runs
Trigger: On a schedule (cron 0 9 * * *) (plus 1 other trigger).
- Brand Config (Edit Fields (Set)): sets 2 fields: brand, keywords
- Slack: uses Slack
- Fetch Reddit Mentions (HTTP Request): calls an HTTP API
- Normalize Mentions (Code): runs custom JavaScript code
- Checking Score (If): checks a condition and branches into true / false
- Mentions Exist? (If): checks a condition and branches into true / false
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Memory - Conversation Buffer; output parser: Output Parser - Structured JSON
- No Mentions Message (Edit Fields (Set)): sets 1 field: text
- Format Sentiment Data (Edit Fields (Set)): sets 5 fields: sentiment, stance, topic…
- Send No Mentions to Slack (Slack): uses Slack
…plus 2 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Error Trigger
n8n-nodes-base.errorTrigger
From the author
📊 Description Monitor daily brand visibility and reputation with an automated AI-powered mention tracker. 🔍🤖 This workflow checks Hacker News every morning for new stories matching your brand keyword, classifies each mention’s sentiment and urgency using…