๐ Send Slack alerts for new npm or PyPI package releases with Apify
โก 0 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 checks a list of npm packages every 12 hours using Apifyโs Package Registry Scraper and posts a Slack message only when it detects a new package version.
How it works
- Runs every 12 hours on a schedule.
- Defines the package registry (npm) and the list of package names to monitor.
- Uses Apify (dami_studio~package-registry-scraper actor) to fetch each packageโs current version and metadata such as description, license, repository, URL, and downloads.
- Filters out invalid lookups by keeping only results marked as successful.
- Suppresses repeat alerts by deduplicating on package name plus version across workflow executions.
- Posts a formatted release alert to a selected Slack channel for each newly detected version.
Setup
- Add an Apify API token credential to the Apify node and confirm the actor run settings (including the $1 max charge cap) fit your needs.
- Add a Slack OAuth2 credential, select the target channel in the Slack node, and ensure the workflow has permission to post messages.
- Update the package list (and optionally the registry and includeDownloads flag) in the โPackages to watchโ step to match the dependencies you want to track.
๐ Nodes Used
HTTP Request, Slack, Discord, Gmail, Notion, Schedule Trigger
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File