← Notion

New Page in Data Source from Notion API

Pipedream makes it easy to connect APIs for Notion and 2,800+ other apps remarkably fast.

Trigger workflow on
New Page in Data Source from the Notion API
Next, do this
Connect to 2,800+ APIs using code and no-code building blocks
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

Trigger a workflow on New Page in Data Source with Notion API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the New Page in Data Source trigger
    1. Connect your Notion account
    2. Configure timer
    3. Select a Data Source ID
  2. Add steps to connect to 2,800+ APIs using code and no-code building blocks
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Create Calendar Event with Microsoft Outlook Calendar API on New Page in Database from Notion API
Notion + Microsoft Outlook Calendar
 
Try it
Get Backlinks with Ahrefs API on New Page from Notion API
Notion + Ahrefs
 
Try it
Send Message with Discord Webhook API on New Page from Notion API
Notion + Discord Webhook
 
Try it
Get Film with SWAPI - Star Wars API on New Page from Notion API
Notion + SWAPI - Star Wars
 
Try it
Create Multiple Records with Airtable API on New Page from Notion API
Notion + Airtable (API Key)
 
Try it
Custom Request with HTTP / Webhook API on New Page from Notion API
Notion + HTTP / Webhook
 
Try it
Send Direct Message (DM) with Twitter Developer App API on New Page from Notion API
Notion + X Developer App (formerly Twitter)
 
Try it
Execute Query with Snowflake API on New Page in Database from Notion API
Notion + Snowflake
 
Try it
[Date/Time] Add/Subtract Time with Formatting API on New Page in Database from Notion API
Notion + Formatting
 
Try it
Accept Completion with Sapling.ai API on New Page in Database from Notion API
Notion + Sapling.ai
 
Try it
Access Shader Assets with Shadertoy API on New Page in Database from Notion API
Notion + Shadertoy
 
Try it
Account Information with APITemplate.io API on New Page in Database from Notion API
Notion + APITemplate.io
 
Try it
Account Information with Hunter API on New Page in Database from Notion API
Notion + Hunter
 
Try it
Account Information with TidyCal API on New Page in Database from Notion API
Notion + TidyCal
 
Try it
Acknowledge Incident with Better Stack API on New Page in Database from Notion API
Notion + Better Stack
 
Try it
Acknowledge Incident with PagerDuty API on New Page from Notion API
Notion + PagerDuty
 
Try it
Activate Box with BippyBox API on New Page in Database from Notion API
Notion + BippyBox
 
Try it
Activate Scene with Philips Hue API on New Page in Database from Notion API
Notion + Philips Hue
 
Try it
Activate Workflow with Drip API on New Page in Database from Notion API
Notion + Drip
 
Try it
Add A Worksheet Tablerow with Microsoft Excel API on New Page in Database from Notion API
Notion + Microsoft Excel
 
Try it
Add Account with Outseta API on New Page in Database from Notion API
Notion + Outseta
 
Try it
Add Activity with Pipedrive API on New Page from Notion API
Notion + Pipedrive
 
Try it
Add Application Comment with BambooHR API on New Page in Database from Notion API
Notion + BambooHR
 
Try it
Add Assets to Gallery with Cincopa API on New Page in Database from Notion API
Notion + Cincopa
 
Try it
Add Attachment to Candidate with Greenhouse API on New Page in Database from Notion API
Notion + Greenhouse
 
Try it
Add Attachment To Card with Trello API on New Page in Database from Notion API
Notion + Trello
 
Try it
Add Attachment To Issue with Jira API on New Page from Notion API
Notion + Jira
 
Try it
Add Attendees To Event with Google Calendar API on New Page in Database from Notion API
Notion + Google Calendar
 
Try it
Add Authorized Attendee with Airmeet API on New Page in Database from Notion API
Notion + Airmeet
 
Try it
Add Blocked Off Time with Acuity Scheduling API on New Page in Database from Notion API
Notion + Acuity Scheduling
 
Try it
Add Candidate Note with Homerun API on New Page in Database from Notion API
Notion + Homerun
 
Try it
Add Candidate to Job Pipeline with CATS API on New Page in Database from Notion API
Notion + CATS
 
Try it
Add Candidate to Job with Taleez API on New Page in Database from Notion API
Notion + Taleez
 
Try it
Add Client to Project with ProWorkflow API on New Page in Database from Notion API
Notion + ProWorkflow
 
Try it
Add Comment To Order with Picqer API on New Page in Database from Notion API
Notion + Picqer
 
Try it
Add Comment with Front API on New Page in Database from Notion API
Notion + Front
 
Try it
Add Comment with Google Drive API on New Page in Database from Notion API
Notion + Google Drive
 
Try it
Add Comment with Twist API on New Page from Notion API
Notion + Twist
 
Try it
Add Contact to a Campaign with Mautic API on New Page from Notion API
Notion + Mautic
 
Try it
Add Contact To Account with Salesflare API on New Page in Database from Notion API
Notion + Salesflare
 
Try it
Add Contact to Automation with ActiveCampaign API on New Page from Notion API
Notion + ActiveCampaign
 
Try it
Add Contact to Campaign with HighLevel (OAuth) API on New Page in Database from Notion API
Notion + HighLevel (OAuth)
 
Try it
Add Contact to Campaign with Overloop API on New Page in Database from Notion API
Notion + Overloop
 
Try it
Add Contact to Campaign with Salesforce API on New Page in Database from Notion API
Notion + Salesforce
 
Try it
Add Contact to Campaign with Salespype API on New Page in Database from Notion API
Notion + Salespype
 
Try it
Add Contact to Customer List by Email with Google Ads API on New Page in Database from Notion API
Notion + Google Ads
 
Try it
Add Contact To Email List with SurveyMethods API on New Page in Database from Notion API
Notion + SurveyMethods
 
Try it
Add Contact to Event with Regal API on New Page in Database from Notion API
Notion + Regal
 
Try it
Add Contact to Group with SMSTools API on New Page in Database from Notion API
Notion + SMSTools
 
Try it
Add Contact to List with HubSpot API on New Page from Notion API
Notion + HubSpot
 
Try it
Add Contact to List with Mailercloud API on New Page in Database from Notion API
Notion + Mailercloud
 
Try it
Add Contact To List with Mailmodo API on New Page in Database from Notion API
Notion + Mailmodo
 
Try it
Add Contact To List with VBOUT API on New Page in Database from Notion API
Notion + VBOUT
 
Try it
Add Contact To Lists with SlickText API on New Page in Database from Notion API
Notion + SlickText
 
Try it
Add Contact to Mailing List with Elastic Email API on New Page in Database from Notion API
Notion + Elastic Email
 
Try it
Add Contact to Mailing List with Zoho Campaigns API on New Page in Database from Notion API
Notion + Zoho Campaigns
 
Try it
Add Contact To New Entry with Loopify API on New Page in Database from Notion API
Notion + Loopify
 
Try it
Add Contact with AskNicely API on New Page in Database from Notion API
Notion + AskNicely
 
Try it
Add Contact with Constant Contact API on New Page in Database from Notion API
Notion + Constant Contact
 
Try it
Add Contact with GoDial API on New Page in Database from Notion API
Notion + GoDial
 
Try it
Add Contact with KrispCall API on New Page in Database from Notion API
Notion + KrispCall
 
Try it
Add Contact with Octopush SMS API on New Page in Database from Notion API
Notion + Octopush SMS
 
Try it
Add Contact with Salesmate API on New Page in Database from Notion API
Notion + Salesmate
 
Try it
Add Contact with sendSMS API on New Page in Database from Notion API
Notion + sendSMS
 
Try it
Add Contact with UpViral API on New Page in Database from Notion API
Notion + UpViral
 
Try it
Add Contact with WATI API on New Page in Database from Notion API
Notion + WATI
 
Try it
Add Contacts to Sequence with Apollo.io API on New Page in Database from Notion API
Notion + Apollo.io
 
Try it
Add Content To Daily Note Page with Roam Research API on New Page in Database from Notion API
Notion + Roam Research
 
Try it
Add Context with Vida API on New Page in Database from Notion API
Notion + Vida
 
Try it
Add Credits with Paigo API on New Page in Database from Notion API
Notion + Paigo
 
Try it
Add Custom Attributes To Customer Via Email with ChartMogul API on New Page in Database from Notion API
Notion + ChartMogul
 
Try it
Add Customer Note Entry with Waitwhile API on New Page in Database from Notion API
Notion + Waitwhile
 
Try it
Add Customer to Group with Plain API on New Page in Database from Notion API
Notion + Plain
 
Try it
Add Customer to List with Rejoiner API on New Page in Database from Notion API
Notion + Rejoiner
 
Try it
Add Customer with Engage API on New Page in Database from Notion API
Notion + Engage
 
Try it
Add Customer with Mews API on New Page in Database from Notion API
Notion + Mews
 
Try it
Add Customer with Reputation Lyncs API on New Page in Database from Notion API
Notion + Reputation Lyncs
 
Try it
Add Customers to Segment with Customer.io API on New Page in Database from Notion API
Notion + Customer.io
 
Try it
Add Data Store Record with NiftyImages API on New Page in Database from Notion API
Notion + NiftyImages
 
Try it
Add Data to Knowledge Base with VectorShift API on New Page in Database from Notion API
Notion + VectorShift
 
Try it
Add Device with OneSignal (REST API) API on New Page from Notion API
Notion + OneSignal (REST API)
 
Try it
Add Do Not Contact Domain with PersistIQ API on New Page in Database from Notion API
Notion + PersistIQ
 
Try it
Add Document Via File Upload with AskYourPDF API on New Page in Database from Notion API
Notion + AskYourPDF
 
Try it
Add Document with Libraria API on New Page in Database from Notion API
Notion + Libraria
 
Try it
Add Documents with Rockset API on New Page from Notion API
Notion + Rockset
 
Try it
Add Email In Unsubscribes with lemlist API on New Page in Database from Notion API
Notion + lemlist
 
Try it
Add Email to Custom Audience with Facebook Custom Audiences API on New Page in Database from Notion API
Notion + Facebook Custom Audiences
 
Try it
Add Email to Global Suppression with Twilio SendGrid API on New Page from Notion API
Notion + Twilio SendGrid
 
Try it
Add Email with SARE API on New Page in Database from Notion API
Notion + SARE
 
Try it
Add Emoji Reaction with Slack API on New Page in Database from Notion API
Notion + Slack
 
Try it
Add Emoji Reaction with Slack Bot API on New Page in Database from Notion API
Notion + Bot for Slack
 
Try it
Add Emoji Reaction with Slack v2 test API on New Page in Database from Notion API
Notion + Slack v2 test
 
Try it
Add Entry Comment with Zenkit API on New Page in Database from Notion API
Notion + Zenkit
 
Try it
Add Exhibitor with ExpoFP API on New Page in Database from Notion API
Notion + ExpoFP
 
Try it
Add Feedback with Flash (by Velora AI) API on New Page in Database from Notion API
Notion + Flash (by Velora AI)
 
Try it
Add Feedback with Langfuse API on New Page in Database from Notion API
Notion + Langfuse
 
Try it
Add File to Project with Crowdin API on New Page in Database from Notion API
Notion + Crowdin
 
Try it
Add Gift with Little Green Light API on New Page in Database from Notion API
Notion + Little Green Light
 
Try it
Add Gmail Thread to Record with NetHunt CRM API on New Page in Database from Notion API
Notion + NetHunt CRM
 
Try it
Add Group Member with Revolt API on New Page in Database from Notion API
Notion + Revolt
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

New Page in Data Source on Notion
Description:Emit new event when a page is created in the selected data source. [See the documentation](https://developers.notion.com/reference/page)
Version:1.0.0
Key:notion-new-page

Code

import notion from "../../notion.app.mjs"; import base from "../common/base.mjs"; import constants from "../common/constants.mjs"; import sampleEmit from "./test-event.mjs"; export default { ...base, key: "notion-new-page", name: "New Page in Data Source", description: "Emit new event when a page is created in the selected data source. [See the documentation](https://developers.notion.com/reference/page)", version: "1.0.0", type: "source", props: { ...base.props, dataSourceId: { propDefinition: [ notion, "dataSourceId", ], }, }, hooks: { ...base.hooks, async deploy() { await this.processEvents(25); }, }, methods: { ...base.methods, async processEvents(max) { const pages = []; const lastCreatedTimestamp = this.getLastCreatedTimestamp(); const lastCreatedTimestampDate = new Date(lastCreatedTimestamp); const lastCreatedTimestampISO = lastCreatedTimestampDate.toISOString(); // Add a filter so that we only receive pages that have been created since the saved time. const params = { ...this.lastCreatedSortParam(), filter: { timestamp: "created_time", created_time: { after: lastCreatedTimestampISO, }, }, }; // Get pages in created order descending until the first page edited after // lastCreatedTimestamp, then reverse list of pages and emit const pagesStream = this.notion.getPages(this.dataSourceId, params); for await (const page of pagesStream) { if (!this.isResultNew(page.created_time, lastCreatedTimestamp) || (max && pages.length >= max)) { break; } pages.push(page); } pages.reverse().forEach((page) => { const meta = this.generateMeta( page, constants.types.PAGE, constants.timestamps.CREATED_TIME, constants.summaries.PAGE_ADDED, ); this.$emit(page, meta); }); const lastCreatedTime = pages[pages.length - 1]?.created_time; if (lastCreatedTime) { this.setLastCreatedTimestamp(Date.parse(lastCreatedTime)); } }, }, async run() { await this.processEvents(100); }, sampleEmit, }; 

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
NotionnotionappThis component uses the Notion app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer
Data Source IDdataSourceIdstringSelect a value from the drop down menu.

Authentication

Notion uses OAuth authentication. When you connect your Notion account, Pipedream will open a popup window where you can sign into Notion and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Notion API.

Pipedream requests the following authorization scopes when you connect your account:

About Notion

Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.

More Ways to Use Notion

Triggers

New Comment Created from the Notion API

Emit new event when a new comment is created in a page or block. See the documentation

 
Try it
New Data Source Created from the Notion API

Emit new event when a data source is created. See the documentation

 
Try it
New or Updated Page in Data Source (By Property) from the Notion API

Emit new event when a page is created or updated in the selected data source. See the documentation

 
Try it
New or Updated Page in Data Source (By Timestamp) from the Notion API

Emit new event when a page is created or updated in the selected data source. See the documentation

 
Try it
New Webhook Event (Instant) from the Notion API

Emit new event each time a webhook event is received. Webhook must be setup in Notion. See the documentation

 
Try it
Page or Subpage Updated from the Notion API

Emit new event when the selected page or one of its sub-pages is updated. See the documentation

 
Try it
Page Properties Updated (Instant) from the Notion API

Emit new event each time a page property is updated in a data source. For use with Page Properties Updated event type. Webhook must be set up in Notion. See the documentation

 
Try it
Page Updated from the Notion API

Emit new event when a selected page is updated. See the documentation

 
Try it

Actions

Append Block to Parent with the Notion API

Append new and/or existing blocks to the specified parent. See the documentation

 
Try it
Complete File Upload with the Notion API

Use this action to finalize a mode=multi_part file upload after all of the parts have been sent successfully. See the documentation

 
Try it
Create Comment with the Notion API

Create a comment in a page or existing discussion thread. See the documentation

 
Try it
Create Database with the Notion API

Create a database and its initial data source. See the documentation

 
Try it
Create File Upload with the Notion API

Create a file upload. See the documentation

 
Try it
Create Page with the Notion API

Create a page from a parent page. See the documentation

 
Try it
Create Page from Data Source with the Notion API

Create a page from a data source. See the documentation

 
Try it
Delete Block with the Notion API

Sets a Block object, including page blocks, to archived: true using the ID specified. See the documentation

 
Try it
Duplicate Page with the Notion API

Create a new page copied from an existing page block. See the documentation

 
Try it
Find Pages or Data Sources with the Notion API

Searches for a page or data source. See the documentation

 
Try it
List All Users with the Notion API

Returns all users in the workspace. See the documentation

 
Try it
List File Uploads with the Notion API

Use this action to list file uploads. See the documentation

 
Try it
Query Data Source with the Notion API

Query a data source with a specified filter. See the documentation

 
Try it
Retrieve Data Source Content with the Notion API

Get all content of a data source. See the documentation

 
Try it
Retrieve Data Source Schema with the Notion API

Get the property schema of a data source in Notion. See the documentation

 
Try it
Retrieve File Upload with the Notion API

Use this action to retrieve a file upload. See the documentation

 
Try it
Retrieve Page Content with the Notion API

Get page content as block objects or markdown. Blocks can be text, lists, media, a page, among others. See the documentation

 
Try it
Retrieve Page Metadata with the Notion API

Get details of a page. See the documentation

 
Try it
Retrieve Page Property Item with the Notion API

Get a Property Item object for a selected page and property. See the documentation

 
Try it
Retrieve User with the Notion API

Returns a user using the ID specified. See the documentation

 
Try it
Send File Upload with the Notion API

Send a file upload. See the documentation

 
Try it
Update Child Block with the Notion API

Updates a child block object. See the documentation

 
Try it
Update Data Source with the Notion API

Update a data source. See the documentation

 
Try it
Update Page with the Notion API

Update a page's property values. To append page content, use the Append Block action instead. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,800+
apps by most popular

Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.