See llms.txt for all machine-readable content.

Back to Templates

Send Slack alerts for new npm or PyPI package releases with Apify

Created by

Created by: Dami's studio || dami-studio
Dami's studio

Last update

Last update 10 hours ago

Categories

Share


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

  1. Runs every 12 hours on a schedule.
  2. Defines the package registry (npm) and the list of package names to monitor.
  3. 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.
  4. Filters out invalid lookups by keeping only results marked as successful.
  5. Suppresses repeat alerts by deduplicating on package name plus version across workflow executions.
  6. Posts a formatted release alert to a selected Slack channel for each newly detected version.

Setup

  1. 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.
  2. Add a Slack OAuth2 credential, select the target channel in the Slack node, and ensure the workflow has permission to post messages.
  3. 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.