Fetch package metadata when a Notion research source is created
A new Notion data source can prompt a lookup for the package it tracks, giving the research structure a useful first fact set.
Trigger
Data Source Created
Triggers when a new Notion data source is created. Fires workspace-wide. The payload's `data.parent` carries the data source's tree parent (typically the teamspace) for downstream filtering. A single template-based database creation can fire multiple `data_source.created` events at once — one per data source the template instantiates.
Action
Get NPM Package Metadata
Tool to fetch metadata for a specified npm package. Use after confirming the exact package name, including scope. Responses can be large; prefer reading top-level fields like 'dist-tags', 'description', and 'license' rather than scanning the entire object.
Why this helps
A new data source can be ready before anyone has gathered the package details needed to use it well.
- Pair new research structure with package context.
- Reduce the number of setup details to remember.
- Make an evaluation easier to continue after its initial setup.
Setup
Build it in a few focused steps.
- 1Connect Notion and Npm to Notis once in the portal.
- 2Create an automation in the portal or ask Notis to fetch package metadata for new research sources.
- 3Write one plain-language instruction to identify the package context associated with the new source and report the npm description, license, and tags.
- 4Choose the Notion Data Source Created trigger and a channel for run reports.
- 5Test by creating a data source for a real package research effort.
Questions about this workflow
Can a template create more than one event?
Yes. A template-based database may create multiple data sources and emit an event for each one.
What if the source has no package name?
Ask Notis to flag the missing context in its report rather than infer a package.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Notion to Npm. A trigger fires from one place; an action lands in another.
Notion triggers
Npm actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Delete User Token (Legacy)
Tool to delete a user authentication token using the legacy endpoint. Use when you need to revoke or remove a specific token from the npm registry.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get All Packages Download Count Point
Get total npm registry download statistics for all packages for a specified time period. Returns aggregate download counts across the entire npm registry with start/end dates. Supports preset periods (last-day, last-week, last-month, last-year) or custom date ranges (YYYY-MM-DD:YYYY-MM-DD).
All Page Events
Triggers when any Notion page is created or updated across the workspace.
Get NPM Download Counts Point
Get npm package download statistics for a specified time period. Returns total download counts with start/end dates for single packages, scoped packages, or bulk queries (up to 128 packages). Supports preset periods (last-day, last-week, last-month, last-year) or custom date ranges (YYYY-MM-DD:YYYY-MM-DD).
Comment Created
Triggers when a new comment is created in Notion. Optional `page_id` filter scopes to comments on a specific page. When omitted, fires for any new comment in the workspace the integration has access to. Requires the 'Read comments' capability on the Notion integration. If a connection was authorized before that capability was enabled, the user must re-authorize the connection for comment events to flow.
Get NPM Package Download Counts Over Date Range
Tool to get download counts for an npm package over a specified date range. Use when you need historical daily download data.
New Comment
Triggers when a new comment is added to a specified Notion block or page.
Get All NPM Packages Download Counts by Period
Tool to get daily download counts for all npm packages over a specified period. Use when you need aggregate download statistics across the entire npm registry.
Database Created
Triggers when a new Notion database (the container) is created. A database is the post-2025-09-03 container that holds one or more data sources. This trigger fires for the container's creation event (`database.created`), distinct from `NOTION_DATASOURCE_CREATED` which fires when a new data source is added to an existing database. Most customers calling Notion's `POST /v1/databases` (the legacy API) or creating a database via the Notion UI will see this event. Adding a new data source to an existing database fires `data_source.created` instead — use `NOTION_DATASOURCE_CREATED` for that. Notion's payload puts `entity.type: "block"` (the container is a `child_database` block in the content tree) and `entity.id` is the database id.
Get Registry Changes Feed
Tool to get a stream of registry changes for replication purposes. Returns CouchDB-style change feed for following registry updates.
Data Source Created
Triggers when a new Notion data source is created. Fires workspace-wide. The payload's `data.parent` carries the data source's tree parent (typically the teamspace) for downstream filtering. A single template-based database creation can fire multiple `data_source.created` events at once — one per data source the template instantiates.
Get NPM Registry Meta
Retrieves npm registry metadata via meta endpoints. Use 'ping' to verify registry connectivity or 'whoami' to get the authenticated username.
Data Source Schema Updated
Triggers when a Notion data source's schema is updated. Fires on column add / remove / rename. Payload includes `data.updated_properties: [{id, name, action}]` so consumers can discriminate the kind of change downstream. Optional `data_source_id` filter scopes to schema changes on a single data source. When omitted, fires for any schema change in the workspace the integration has access to. Note: adding a column also fires `page.properties_updated` once per existing row in the data source. Customers wanting a single structural-change signal should use this trigger.
Get NPM Package Version Downloads (Last 7 Days)
Tool to get download counts for specific versions of a package over the last 7 days. Use when you need to understand which versions are most popular.
Connect any two apps with Notis in the middle.
Notion and Npm, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Npm.