Notion
App · Notes · 17 actions · 1 trigger
Connect to Notion to search content, look up items in databases, and create or update pages.
Triggers
Start a workflow when something happens in Notion. See how triggers work.
Notion New Page
Triggers when a new page is added to a Notion database
Filters
Narrow which events start a run.
database_idRequiredtitle
Event fields
What a run starts with. Later steps read each field with an @ reference.
idtexttitletexturltextlast_edited_timetext
Actions
| Action | What it does |
|---|---|
| Add content to a page | Add text to the end of an existing Notion page, written plainly or as Markdown, or blocks in Notion's own format. |
| Create page | Create a new page in a Notion database: its name, its columns by name, and its text, written plainly or as Markdown. |
| Create page inside a page | Create a new page inside an existing Notion page, as a sub-page rather than a database entry, with its text written plainly or as Markdown. |
| Find pages in a database | Find pages in a Notion database, with optional filters and sorting. |
| Get data source | Get one of a database's data sources: its name and columns, with each column's type and choices. |
| Get database | Get a Notion database's name and columns, with each column's type and the choices of its select and status columns. |
| Get page | Get a page's title, link and details. |
| Get page as Markdown | Read a whole Notion page, or one block of it, as Markdown: headings, lists, tables and links kept, ready for an AI step or another app. |
| Get page content | Read what is written on a Notion page: its headings, paragraphs, lists and to-dos, as text, 100 blocks at a time. |
| Get user | Get a person or bot in the Notion workspace by their ID: their name and, where the connection may read it, their email. |
| List databases | List the Notion databases you can access, with an optional search to narrow the results. |
| List users | List the people and bots in the Notion workspace, with their names, IDs and, where the connection may read them, emails. |
| Move page to trash | Move a Notion page to the trash, where it can be restored from Notion's Trash for 30 days. |
| Restore page from trash | Bring a Notion page back from the trash to where it was, such as one an earlier step moved there. |
| Search pages | Search for Notion pages that match the text you enter. |
| Update page | Change the columns of an existing Notion page, such as its status or date, giving each column's name and new value. |
| Update page with Markdown | Change what a Notion page says, written in Markdown: add to its end or start, replace one exact piece of text, or replace everything on it. |
Add content to a page
Add text to the end of an existing Notion page, written plainly or as Markdown, or blocks in Notion's own format.
Inputs
- Page
block_idtextRequired - The page to add to, as an earlier step gave it (Create page or Get page), or its ID.
- Page text
contenttext - Beta. What to add to the end of the page, as plain text or Markdown, such as an AI step's summary: # for a heading, - for a bullet, 1. for a numbered item, - [ ] for a to-do, > for a quote, --- for a divider, **bold**, *italic* and [a link](https://example.com). For example: ## Key points, then a line for each point starting with a dash. Text of any length is fine. Give this, content blocks, or both.
- Content blocks
childrenlist - For advanced layouts only; most steps need just the page text. Blocks in Notion's own block format, added after the page text. Each block needs a 'type' field and a matching object of that type, such as {'type': 'paragraph', 'paragraph': {'rich_text': [{'text': {'content': 'Hello'}}]}}. Give this, page text, or both.
Outputs
appendednumber- Number of blocks appended.
has_moretrue/false- Whether more blocks exist.
next_cursortext- Cursor for additional blocks.
statustext- Action execution status.
Example output
{
"appended": 3,
"has_more": false,
"next_cursor": null,
"status": "success"
}Create page
Create a new page in a Notion database: its name, its columns by name, and its text, written plainly or as Markdown.
Inputs
- Database
parent_database_idtextRequired - The database to create the page in.
- Title
titletextRequired - The page's name, as it shows in the database, such as Weekly sync, 1 March.
- Page text
contenttext - Beta. What to write on the page, as plain text or Markdown, such as an AI step's summary: # for a heading, - for a bullet, 1. for a numbered item, - [ ] for a to-do, > for a quote, --- for a divider, **bold**, *italic* and [a link](https://example.com). For example: ## Key points, then a line for each point starting with a dash. Text of any length is fine.
- Columns
propertiesobject - What to put in the page's other columns. Each column name with its value, such as {'Status': 'To review', 'Meeting date': '2026-03-01', 'Attendees': 12}. Beta: a plain value is fitted to its column. Text, number, link, email and phone columns take the value as written; a select or status column takes the choice's name; a multi-select takes a list or names with commas between; a date takes 2026-03-01 or 2026-03-01T14:30:00Z; a checkbox takes yes or no; a people column takes email addresses; a relation takes page IDs. A column left blank is not changed. A value already in Notion's own property format is used as it is.
- Content blocks
childrenlist - For advanced layouts only; most pages need just the page text. Blocks in Notion's own block format, added after the page text. Each block needs a 'type' field and a matching object of that type, such as {'type': 'paragraph', 'paragraph': {'rich_text': [{'text': {'content': 'Hello'}}]}}.
- Title column
title_propertytext - The name of the column that holds each page's name, if it is not Name, such as Meeting. Not needed when a column above has a plain value: the step then finds it itself.
Outputs
idtext- Created page ID.
statustext- Action execution status.
titletext- Created page title.
urltext- Created page URL.
Example output
{
"id": "n7m8l9k0j1i2",
"status": "success",
"title": "New Page",
"url": "https://www.notion.so/New-Page-n7m8l9k0j1i2"
}Create page inside a page
Create a new page inside an existing Notion page, as a sub-page rather than a database entry, with its text written plainly or as Markdown.
Inputs
- Parent page
parent_page_idtextRequired - The page to create it in, as an earlier step gave it, or its ID. The page must be shared with the integration.
- Title
titletextRequired - The new page's name, such as Minutes, 1 March.
- Page text
contenttext - Beta. What to write on the page, as plain text or Markdown, such as an AI step's summary: # for a heading, - for a bullet, 1. for a numbered item, - [ ] for a to-do, > for a quote, --- for a divider, **bold**, *italic* and [a link](https://example.com). For example: ## Key points, then a line for each point starting with a dash. Text of any length is fine.
- Content blocks
childrenlist - For advanced layouts only; most pages need just the page text. Blocks in Notion's own block format, added after the page text. Each block needs a 'type' field and a matching object of that type, such as {'type': 'paragraph', 'paragraph': {'rich_text': [{'text': {'content': 'Hello'}}]}}.
Outputs
idtext- Created page ID.
statustext- Action execution status.
titletext- Created page title.
urltext- Created page URL.
Example output
{
"id": "f1e2d3c4b5a6",
"status": "success",
"title": "Minutes",
"url": "https://www.notion.so/Minutes-f1e2d3c4b5a6"
}Find pages in a database
Find pages in a Notion database, with optional filters and sorting. For the tasks due today, tomorrow or overdue, give the date column and the day instead of writing a filter, and leave out the finished ones with the column that holds their status. Each page also gives the email addresses of the people in its People columns (people_emails.Owner), to message each owner.
Inputs
- Database
database_idtextRequired - The database to search.
- Filter
filterobject - Conditions the pages must match, in Notion's filter format.
- Date column
date_propertytext - Beta. The name of a date column, such as Due date. With the day below, only pages dated on that day come back, so a list of today's tasks needs no filter written by hand.
- Dated
duetext - Beta. With a date column: today, tomorrow, overdue (before today), or a number of days from today.
- Leave out pages where this column is
skip_propertytext - Beta. The name of a column to leave pages out by, such as Status. With the value below, pages whose cell has that value are left out, so unfinished tasks are every page except the Done ones.
- Value that leaves a page out
skip_valuetext - Beta. With a column above: the value that leaves a page out, such as Done.
- Sorts
sortslist - How to order the results, in Notion's sort format.
- Number of results
page_sizenumber - Number of results to return.
- Next page
start_cursortext - Leave blank for the first page. To see more, use the next page an earlier run gave.
Outputs
countnumber- Number of results returned.
has_moretrue/false- Whether more results are available.
next_cursortext- Cursor for next page.
resultslist- Array of page objects from query.
statustext- Action execution status.
Example output
{
"count": 1,
"has_more": false,
"next_cursor": null,
"results": [
{
"id": "p1q2r3s4t5u6",
"last_edited_time": "2024-01-15T14:20:00.000Z",
"people_emails": {
"Owner": "sam@example.com"
},
"properties": {
"Name": "Task 1",
"Status": "In Progress"
},
"title": "Task 1",
"url": "https://www.notion.so/Task-1-p1q2r3s4t5u6"
}
],
"status": "success"
}Get data source
Get one of a database's data sources: its name and columns, with each column's type and choices. Give a database with one source, or the source's own ID.
Inputs
- Database or data source
data_sourcetextRequired - A database (its source is read), or a data source's ID from Notion's Copy data source ID.
Outputs
columnslist- Its columns.
countnumber- How many columns.
database_idtext- The database it belongs to.
idtext- The data source's ID.
nametext- Its name.
statustext- Action execution status.
urltext- Its address in Notion.
Example output
{
"columns": [
{
"name": "Name",
"options": [],
"type": "title"
},
{
"name": "Status",
"options": [
"Not started",
"In progress",
"Done"
],
"type": "status"
}
],
"count": 2,
"database_id": "668d797c-76fa-4934-9b05-ad288df2d136",
"id": "1f6d4b3a-0c2e-4c8a-9b9e-7d2c1a0f5e11",
"name": "Tasks",
"status": "success",
"url": "https://www.notion.so/668d797c76fa49349b05ad288df2d136"
}Get database
Get a Notion database's name and columns, with each column's type and the choices of its select and status columns.
Inputs
- Database
database_idtextRequired - The database to read.
Outputs
archivedtrue/false- Whether the database is in the trash.
columnslist- The database's columns.
countnumber- Number of columns.
idtext- Database ID.
nametext- Database name.
statustext- Action execution status.
urltext- Database URL.
Example output
{
"archived": false,
"columns": [
{
"name": "Name",
"options": [],
"type": "title"
},
{
"name": "Status",
"options": [
"Not started",
"In progress",
"Done"
],
"type": "status"
},
{
"name": "Due",
"options": [],
"type": "date"
}
],
"count": 3,
"id": "d9c8b7a6f5e4",
"name": "Permits",
"status": "success",
"url": "https://www.notion.so/d9c8b7a6f5e4"
}Get page
Get a page's title, link and details.
Inputs
- Page
page_idtextRequired - The page, as an earlier step gave it, or its ID.
Outputs
archivedtrue/false- Whether page is archived.
idtext- Notion page ID.
last_edited_timetext- Last edit timestamp.
propertiesobject- Extracted property values from the page.
statustext- Action execution status.
titletext- Page title.
urltext- Page URL.
Example output
{
"archived": false,
"id": "a1b2c3d4e5f6",
"last_edited_time": "2024-01-15T10:30:00.000Z",
"properties": {
"Name": "Meeting Notes",
"Status": "Complete"
},
"status": "success",
"title": "Meeting Notes",
"url": "https://www.notion.so/Meeting-Notes-a1b2c3d4e5f6"
}Get page as Markdown
Read a whole Notion page, or one block of it, as Markdown: headings, lists, tables and links kept, ready for an AI step or another app.
Inputs
- Page
page_idtextRequired - The page, as an earlier step gave it, or a page's or block's ID.
Outputs
idtext- The page's or block's ID.
markdowntext- The page's content as Markdown, after any change.
statustext- Action execution status.
truncatedtrue/false- Whether the page was too long to read whole.
unknown_block_idslist- Blocks Notion couldn't include. Give one to Get page as Markdown to read it.
Example output
{
"id": "59833787-2cf9-4fdf-8782-e53db20768a5",
"markdown": "# Weekly notes\n\n- Sent the proposal\n- [ ] Book the venue",
"status": "success",
"truncated": false,
"unknown_block_ids": []
}Get page content
Read what is written on a Notion page: its headings, paragraphs, lists and to-dos, as text, 100 blocks at a time.
Inputs
- Page
page_idtextRequired - The page, as an earlier step gave it, or its ID. A block's ID reads what's inside that block, such as a toggle.
- Next page
start_cursortext - Leave blank to start at the top. To read on, use the next page an earlier run gave.
Outputs
blockslist- The page's blocks, in order.
countnumber- Number of blocks returned.
has_moretrue/false- Whether the page has more blocks.
next_cursortext- Cursor for the next blocks.
statustext- Action execution status.
texttext- The page's content as plain text, one block per line.
Example output
{
"blocks": [
{
"has_children": false,
"id": "b1c2d3e4f5a6",
"text": "# Agenda",
"type": "heading_1"
},
{
"has_children": false,
"id": "c2d3e4f5a6b7",
"text": "- Budget review",
"type": "bulleted_list_item"
},
{
"has_children": false,
"id": "d3e4f5a6b7c8",
"text": "[ ] Send minutes",
"type": "to_do"
}
],
"count": 3,
"has_more": false,
"next_cursor": null,
"status": "success",
"text": "# Agenda\n- Budget review\n[ ] Send minutes"
}Get user
Get a person or bot in the Notion workspace by their ID: their name and, where the connection may read it, their email.
Inputs
- User ID
usertextRequired - The person's ID, as List users or a page's people column gives it.
Outputs
avatar_urltext- Their picture's address.
emailtext- Their email address. Empty for a bot, or when the connection may not read email addresses.
idtext- Their ID.
nametext- Their name.
statustext- Action execution status.
typetext- person or bot.
Example output
{
"avatar_url": "",
"email": "ana@example.com",
"id": "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
"name": "Ana Ruiz",
"status": "success",
"type": "person"
}List databases
List the Notion databases you can access, with an optional search to narrow the results.
Inputs
- Query
querytext - What to search for.
- Number of results
page_sizenumber - Number of results to return.
- Next page
start_cursortext - Leave blank for the first page. To see more, use the next page an earlier run gave.
Outputs
countnumber- Number of databases returned.
databaseslist- Array of Notion database objects.
has_moretrue/false- Whether more databases are available.
next_cursortext- Cursor for next page.
statustext- Action execution status.
Example output
{
"count": 1,
"databases": [
{
"id": "x9y8z7w6v5u4",
"name": "Tasks Database",
"url": "https://www.notion.so/Tasks-Database-x9y8z7w6v5u4"
}
],
"has_more": false,
"next_cursor": null,
"status": "success"
}List users
List the people and bots in the Notion workspace, with their names, IDs and, where the connection may read them, emails.
Inputs
- How many
page_sizenumber - How many to return, up to 100.From 1 to 100. Default:
100. - Next page
start_cursortext - Leave blank to start at the top. To read on, use the next page an earlier run gave.
Outputs
countnumber- How many this page holds.
has_moretrue/false- Whether there are more to read.
next_cursortext- The next page to ask for; empty when there are no more.
statustext- Action execution status.
userslist- The people and bots on this page.
Example output
{
"count": 1,
"has_more": false,
"next_cursor": "",
"status": "success",
"users": [
{
"avatar_url": "",
"email": "ana@example.com",
"id": "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
"name": "Ana Ruiz",
"type": "person"
}
]
}Move page to trash
Move a Notion page to the trash, where it can be restored from Notion's Trash for 30 days.
Inputs
- Page
page_idtextRequired - The page, as an earlier step gave it, or its ID.
Outputs
archivedtrue/false- Whether the page is now in the trash.
idtext- Page ID.
statustext- Action execution status.
titletext- Page title.
urltext- Page URL.
Example output
{
"archived": true,
"id": "a1b2c3d4e5f6",
"status": "success",
"title": "Meeting Notes",
"url": "https://www.notion.so/Meeting-Notes-a1b2c3d4e5f6"
}Restore page from trash
Bring a Notion page back from the trash to where it was, such as one an earlier step moved there.
Inputs
- Page
page_idtextRequired - The page, as an earlier step gave it, or its ID.
Outputs
archivedtrue/false- Whether the page is still in the trash.
idtext- Page ID.
statustext- Action execution status.
titletext- Page title.
urltext- Page URL.
Example output
{
"archived": false,
"id": "a1b2c3d4e5f6",
"status": "success",
"title": "Meeting Notes",
"url": "https://www.notion.so/Meeting-Notes-a1b2c3d4e5f6"
}Search pages
Search for Notion pages that match the text you enter.
Inputs
- Query
querytextRequired - What to search for.
- Number of results
page_sizenumber - Number of results to return.
- Next page
start_cursortext - Leave blank for the first page. To see more, use the next page an earlier run gave.
Outputs
countnumber- Number of pages returned.
has_moretrue/false- Whether more pages are available.
next_cursortext- Cursor for next page.
pageslist- Array of Notion page objects.
statustext- Action execution status.
Example output
{
"count": 1,
"has_more": false,
"next_cursor": null,
"pages": [
{
"id": "a1b2c3d4e5f6",
"last_edited_time": "2024-01-15T10:30:00.000Z",
"title": "Project Planning",
"url": "https://www.notion.so/Project-Planning-a1b2c3d4e5f6"
}
],
"status": "success"
}Update page
Change the columns of an existing Notion page, such as its status or date, giving each column's name and new value.
Inputs
- Page
page_idtextRequired - The page, as an earlier step gave it, or its ID.
- Columns
propertiesobjectRequired - The columns to change and their new values. Each column name with its value, such as {'Status': 'To review', 'Meeting date': '2026-03-01', 'Attendees': 12}. Beta: a plain value is fitted to its column. Text, number, link, email and phone columns take the value as written; a select or status column takes the choice's name; a multi-select takes a list or names with commas between; a date takes 2026-03-01 or 2026-03-01T14:30:00Z; a checkbox takes yes or no; a people column takes email addresses; a relation takes page IDs. A column left blank is not changed. A value already in Notion's own property format is used as it is.
Outputs
idtext- Updated page ID.
last_edited_timetext- Last edit timestamp.
statustext- Action execution status.
titletext- Updated page title.
urltext- Updated page URL.
Example output
{
"id": "a1b2c3d4e5f6",
"last_edited_time": "2024-01-15T10:30:00.000Z",
"status": "success",
"title": "Updated Page",
"url": "https://www.notion.so/Updated-Page-a1b2c3d4e5f6"
}Update page with Markdown
Change what a Notion page says, written in Markdown: add to its end or start, replace one exact piece of text, or replace everything on it. Sub-pages and databases on the page are never deleted; Notion refuses a change that would.
Inputs
- Page
page_idtextRequired - The page to change, as an earlier step gave it, or its ID.
- How to change it
modetextRequired - Where the Markdown goes.One of:
append(Add to the end),prepend(Add to the start),replace_text(Replace some text),replace_all(Replace everything). - Markdown
contenttextRequired - The Markdown to add, or to put in place of the text found (or of the whole page).
- Text to replace
find_texttext - Only for Replace some text: the text on the page to replace, exactly as it is there, found once.
Outputs
idtext- The page's or block's ID.
markdowntext- The page's content as Markdown, after any change.
statustext- Action execution status.
truncatedtrue/false- Whether the page was too long to read whole.
unknown_block_idslist- Blocks Notion couldn't include. Give one to Get page as Markdown to read it.
Example output
{
"id": "59833787-2cf9-4fdf-8782-e53db20768a5",
"markdown": "# Weekly notes\n\n- Sent the proposal\n- [ ] Book the venue",
"status": "success",
"truncated": false,
"unknown_block_ids": []
}