Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Notion connection the step signs in with. |
| Page or block idRequired | A page id writes at the end of that page; a block id writes inside that block. |
| Content | "text" or "blocks" |
| Text | Each line becomes a paragraph. |
| Content blocks | At most 100 blocks, and at most two levels of nesting in one request. |
| Where | "end" or "start" or "after_block" |
| After this block | text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `notion`) |
blockId | textits `{{ }}` must give a string |
contentFormat | "text" or "blocks", by default "text" |
content | textused when `contentFormat` is "text" |
blocks | textused when `contentFormat` is "blocks" |
position | "end" or "start" or "after_block", by default "end" |
afterBlockId | textits `{{ }}` must give a string; used when `position` is "after_block" |
Output
| Field | Type |
|---|---|
blocksBlocks that were added | array |
blockCountHow many were added | number |
Sample output, and the expression for each field
- blockCount0
- blocks[]
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"afterBlockId": "",
"blockId": "<page or block id>",
"blocks": "",
"connection": "<connection id>",
"content": "",
"contentFormat": "text",
"position": "end"
},
"label": "Append content",
"type": "notion.appendBlocks",
"version": 1
}