Notion

Update Notion Page Content

Rewrite a Notion page's body, find and replace text in it, or insert content at the start or end — using full Notion-flavoured markdown. Unlike Notion Append Block this can replace existing content, not only add to it.

1 creditRuns in your Notion account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
pageIdstring · requiredstringrequired

Page to change. Select a page or insert its ID or URL.

modestring · requiredstringrequired

One of: replace (Replace the whole page), edit (Find and replace text), insert (Insert at the start or end)

Default: replace

markdownstring · optionalstringoptional

For Replace or Insert. Notion-flavoured markdown: headings, toggles, callouts, columns, tables, embeds and mentions.

contentUpdatesobject · optionalobjectoptional

For Find and replace: [{"old_str":"exact text on the page","new_str":"replacement","replace_all_matches":false}]

positionstring · optionalstringoptional

One of: end (End of the page), start (Start of the page)

Default: end

allowDeletingContentboolean · optionalbooleanoptional

Let the change delete child pages or databases. Off by default.

Response schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "object": {
      "type": "string"
    },
    "markdown": {
      "type": "string"
    },
    "truncated": {
      "type": "boolean"
    }
  }
}

Get started

How to use this action

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, then connect your account for this app. There’s no API key to manage.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this app’s actions when the job calls for them, along with any other tools it needs.

  3. Make it a workflow

    Add an action as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether each action runs on its own or asks first. When it asks, you see an Allow or Deny card before anything changes in the app.