FlowmageDocs

List comments

BetaReads dataVersion 2

Reads the comments on a Notion page or block.

Settings

SettingWhat it is
ConnectionRequiredThe integration needs the Read comments capability for this — set it in Notion under the integration's Capabilities.
Page or block idRequiredtext
Comments per callnumber
Fetch every pageFollows Notion's cursor, and refuses past 5,000 comments rather than answering a short list.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `notion`)
blockIdtextits `{{ }}` must give a string
limitnumber, by default 100
returnAlltrue/false, by default false
cursortext

Output

FieldType
commentsarray
commentCountComments in this answernumber
hasMoreMore comments are waiting behind this pageboolean
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • commentCount0
  • comments[]
  • hasMorefalse
  • nextCursor""

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": {
    "blockId": "<page or block id>",
    "connection": "<connection id>",
    "cursor": "",
    "limit": 100,
    "returnAll": false
  },
  "label": "List comments",
  "type": "notion.listComments",
  "version": 2
}

Older versions

A flow that already has this version keeps running it. A new step always gets the newest.

Version 1
SettingWhat it is
ConnectionRequiredThe integration needs the Read comments capability for this — set it in Notion under the integration's Capabilities.
Page or block idRequiredtext
Comments per callnumber
Fetch every pageFollows Notion's cursor, and refuses past 5,000 comments rather than answering a short list.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `notion`)
blockIdtextits `{{ }}` must give a string
limitnumber, by default 100
returnAlltrue/false, by default false