Block
Block is a Notion component for working with a page’s blocks: each paragraph, heading, list or quote. It can create a block, add content written in Markdown by converting it into Notion blocks, list a page’s blocks or delete one.
When to use it
- Adding to the end of a Notion page the summary an agent writes.
- Listing a page’s content to process it.
- Deleting a specific block from a page.
Configuration
The Operation field decides what the component does: Create (default) creates a block, Add Markdown adds Markdown content, List lists a page’s blocks and Delete deletes a block.
You need a Notion API credential with your Notion integration token. See Credentials.
| Field | What it does |
|---|---|
| Credential (required) | The Notion API credential. |
| Operation | What the component does. |
| Parent Page Input Type | Except with Delete, how you point to the page: Id (default) or Url. |
| Parent Page ID | Except with Delete, the page, or block, to work in. |
| Select Block Type | With Create, the block type: paragraph, heading_1, heading_2, heading_3, bulleted_list_item, numbered_list_item or quote. |
| Markdown Text | With Add Markdown, the Markdown content to add. |
| Block ID | With Delete, the block to delete. |
Output
The Data output holds the blocks created or listed, or confirmation of the deletion.
In tool mode, an agent can use the component by itself. See Tool Mode.
Example
A team keeps each meeting’s minutes in Notion.
- Add Block with
Add Markdownand the minutes page address in Parent Page ID, with Parent Page Input Type set toUrl. - Connect the minutes a model writes to Markdown Text.