FlowmageDocs

Update page

BetaChanges data

Changes the property values of a Notion page.

Settings

SettingWhat it is
ConnectionRequiredThe Notion connection the step signs in with.
Page idRequiredtext
TitleLeave it empty to keep the page's current title.
Read the property types firstOne extra read of the page and its data source, so plain values can be written without JSON.
PropertiesThe property name exactly as it reads in Notion, and the plain value. Only the properties named here change.
Properties (JSON)Merged over the Properties field.
Icon emojiLeave it empty to keep the page's current icon.
Editing by people"unchanged" or "lock" or "unlock"
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `notion`)
pageIdtextits `{{ }}` must give a string
titletextits `{{ }}` must give a string
lookUpPropertyTypestrue/false, by default true
propertiesobject of text or number or true/false, by default {}a value from the vendor's own list
propertiesJsontext
icontext
isLocked"unchanged" or "lock" or "unlock", by default "unchanged"

Output

FieldType
pageIdstring
pageobject
urlOpen in Notionstring
Sample output, and the expression for each field
  • page
    • object"page"
  • pageId"1a2b3c4d"
  • url"https://www.notion.so/1a2b3c4d"

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": {
    "connection": "<connection id>",
    "icon": "",
    "isLocked": "unchanged",
    "lookUpPropertyTypes": true,
    "pageId": "<page id>",
    "properties": {},
    "propertiesJson": "",
    "title": ""
  },
  "label": "Update page",
  "type": "notion.updatePage",
  "version": 1
}