← Back to Templates

Reddit Trend Analysis for Digital PR Opportunities | n8n Workflow Template

AnthropicDigital PRRedditGoogle DriveMattermostFree
2025-03-13

Workflow Diagram

Tip: CTRL + Mouse wheel to zoom, click and drag to pan

Reddit Trend Analysis for Digital PR Opportunities n8n Template

This powerful n8n workflow automates the discovery of trending content on Reddit, performs in-depth analysis using AI, and generates strategic PR story opportunities. Running on a weekly schedule, it identifies high-engagement Reddit posts, extracts valuable insights from both the posts and their comments, analyzes the linked content, and delivers comprehensive reports directly to your team through Google Drive and Mattermost.

How It Works

  1. The workflow triggers automatically every Monday at 6am, searching Reddit for posts related to your specified topics.
  2. It filters posts with over 100 upvotes and link-type content, ensuring only high-quality, discussion-worthy content is analyzed.
  3. For each post, the workflow extracts and processes the top comments, organizing them into a structured format.
  4. Using Anthropic's Claude AI, it performs sentiment analysis on the Reddit comments, identifying key narratives, audience insights, and PR implications.
  5. The workflow extracts the content from the original linked article using Jina AI's reader service.
  6. Another AI analysis examines the article content alongside the Reddit engagement metrics to identify viral elements and narrative opportunities.
  7. A final AI analysis combines all previous insights to generate specific PR story opportunities, prioritized by potential impact.
  8. The workflow creates detailed reports for each trending topic, compiles them into a ZIP file, uploads it to Google Drive, and notifies your team via Mattermost.

Benefits

  • Automates discovery of trending topics with proven engagement metrics
  • Provides deep sentiment analysis of public discussions around trending content
  • Identifies unexplored narrative angles and content gaps for PR opportunities
  • Delivers strategic recommendations based on comprehensive data analysis
  • Saves hours of manual research and analysis time
  • Creates ready-to-use PR story ideas with supporting evidence
  • Ensures your PR team stays ahead of trending topics and conversations
  • Centralizes all insights in organized, shareable reports

Requirements

  • n8n (self-hosted or cloud)
  • Reddit OAuth2 API credentials
  • Anthropic API key for Claude AI
  • Jina AI API key for content extraction
  • Google Drive OAuth2 API credentials
  • Mattermost webhook URL
  • List of topics you want to monitor

Setup Instructions

  1. Import the workflow JSON into your n8n instance.
  2. Set up Reddit OAuth2 API credentials by following the n8n guide for Reddit.
  3. Create and configure Anthropic API credentials for the Claude AI nodes following the Anthropic setup guide.
  4. Set up Google Drive OAuth2 API credentials using the Google OAuth guide.
  5. Obtain a Jina AI API key from the Jina AI dashboard.
  6. Configure your Mattermost webhook following the Mattermost Webhooks guide.
  7. In the "Set Data" node, enter your topics of interest (one per line) and your Jina API key.
  8. Update the Mattermost node with your specific Mattermost instance URL, webhook ID, and channel name.
  9. Adjust the schedule trigger if you prefer a different time or day for the workflow to run.
  10. Activate the workflow and it will automatically run according to the schedule.
Download Template

Stay Updated with AI Workflows

Join our newsletter for the latest automation tips, exclusive templates, and worthy n8n updates.

We respect your privacy. No spam, ever.

Need a Custom Workflow?

We can create a tailored workflow solution specifically for your business needs.