In this guide

Find and Replace on a Page

Change text on a page by quoting it — Notion's own Markdown edit.

Action referenceChange

What this action does #

First, connect Notion in Services. Then open Actions → + → Notion and choose Find and Replace on a Page.

To find this direct request action, choose Every Notion endpoint in the integration’s picker. The setup guide also explains the dedicated forms for common tasks.

What a run does

Running or testing this action changes something in your connected service.

More about this action

Find is matched against the page as Read a Page writes it, case and all, and must appear exactly once. Replace With is Markdown, so it can add blocks as well as change words: quote a line and write it again with a new line after it.

Inputs to fill in #

Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.

Page

RequiredText

Supply a text value for this input.

Example value (replace with your own):
248104cd-477e-80a9-8a1b-e4f8b0f8c1d2

Find

RequiredText

Text on the page, exactly as Read a Page writes it.

Example value (replace with your own):
- [ ] Milk

Replace With

RequiredText

Markdown to put in its place.

Example value (replace with your own):
- [x] Milk

What comes back #

In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.

Returned fieldTypeMeaning
idstringThe page's ID.
markdownstringThe whole page afterwards, as Markdown.
truncatedbooleanTrue or false.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

Advanced reference #

Request, permissions, and identifiers

Request: PATCH https://api.notion.com/v1/pages/{page_id}/markdown

Action identifier: notion.pages.replaceText.v1

No additional per-action permissions are declared in the app’s catalog. The integration’s connection and account access rules still apply.

InputRequest keyLocation
Pagepage_idpath
Findupdate_content.content_updates[0].old_strbody
Replace Withupdate_content.content_updates[0].new_strbody

Notion API reference