About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This trigger fires when a new page is published in a database you select.
- API endpoint slug
- notion_so.new_page_in_database
Trigger fields
Database ID Dropdown list
- Label
- Which database?
- Slug
- database_id
- Required
- true
- Can have default value
- false
Database item type Dropdown list
- Label
- What kind of data is in this database?
- Slug
- database_item_type
- Required
- true
- Can have default value
- true
Ingredients
Created atDate and time the page was created.
- Slug
- created_at
- Filter code
- NotionSo.newPageInDatabase.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Page IDThe unique ID of the page
- Slug
- page_id
- Filter code
- NotionSo.newPageInDatabase.PageId
- Type
- String
- Example
- 8959eafb-faeb-4351-92ed-7a702ff8698c
Page URLThe URL of the page.
- Slug
- page_url
- Filter code
- NotionSo.newPageInDatabase.PageUrl
- Type
- Web URL
- Example
- https://www.notion.so/0a3d277ffb654eb7a087bd292b36d8f5?p=21cc182c363a41aebdfc4cee9ea7e752
Page contentsThe contents of the page, newline-separated
- Slug
- page_contents
- Filter code
- NotionSo.newPageInDatabase.PageContents
- Type
- String
- Example
- New Page Content
Item typeThe type of item added to the database.
- Slug
- item_type
- Filter code
- NotionSo.newPageInDatabase.ItemType
- Type
- String
- Example
- entry