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.