π Send weekly Reddit sentiment digests to Notion with ScraperAPI and OpenAI
β‘ 12 views Β· π Market Research & Insights
π‘ Pro Tip β HTTP Request scraping tends to break when sites update their markup. If youβre scraping a major platform, check if ScraperNode covers it β it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.
Description
Quick Overview
This workflow runs every Monday, scrapes weekly top posts from selected Reddit pages via ScraperAPI, analyzes sentiment and themes with OpenAI GPT-5 Mini, compiles a single weekly digest, and creates a formatted page in a Notion database.
How it works
- Runs every Monday at 9:00 AM on a schedule.
- Defines a list of Reddit source URLs to analyze and the target Notion database ID.
- Scrapes each Reddit page via ScraperAPI and converts the returned HTML into plain text for analysis.
- Sends the cleaned text to OpenAI GPT-5 Mini to extract per-source sentiment counts, top themes, representative quotes, and a short tone note in JSON.
- Normalizes and aggregates all source results into a single weekly digest with totals, theme rollups, per-source breakdown, and selected quotes.
- Creates a new Notion database page containing the digest sections (overview, counts, themes, per-source breakdown, and quotes).
Setup
- Add a ScraperAPI credential and ensure it can access the Reddit URLs you want to scrape.
- Add an OpenAI API key credential for the OpenAI Chat Model configured as GPT-5 Mini.
- Add a Notion credential (API token), share your target Notion database with the integration, and replace the placeholder Notion database ID in the configuration step.
- Update the Reddit source URLs/labels (and optional country code) to match the subreddits and views you want to track.
- Adjust the schedule cron expression if you want the digest to run at a different time.
π Nodes Used
HTTP Request, Notion, Schedule Trigger, Basic LLM Chain, OpenAI Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File