FlowmageDocs

Append content

BetaChanges data

Adds paragraphs, headings or other blocks to a Notion page.

Settings

SettingWhat it is
ConnectionRequiredThe Notion connection the step signs in with.
Page or block idRequiredA page id writes at the end of that page; a block id writes inside that block.
Content"text" or "blocks"
TextEach line becomes a paragraph.
Content blocksAt most 100 blocks, and at most two levels of nesting in one request.
Where"end" or "start" or "after_block"
After this blocktext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `notion`)
blockIdtextits `{{ }}` must give a string
contentFormat"text" or "blocks", by default "text"
contenttextused when `contentFormat` is "text"
blockstextused when `contentFormat` is "blocks"
position"end" or "start" or "after_block", by default "end"
afterBlockIdtextits `{{ }}` must give a string; used when `position` is "after_block"

Output

FieldType
blocksBlocks that were addedarray
blockCountHow many were addednumber
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
}