Notion Markdown
AI-generatedSummary
Fetch a Notion page as Markdown text or append Markdown content to an existing Notion page.
Inputs
- Action (required) — Choose 'Fetch Page' to retrieve a Notion page as Markdown, or 'Append Page' to append Markdown content to a Notion page.
- Page ID (required) — The ID or URL of the Notion page to retrieve or append to.
- Markdown — The Markdown text to append; required only when action is 'Append Page'.
Output shape
a single output JSON object per input item containing the resulting data
When fetching, the output JSON field 'markdown' contains the page content as Markdown text. When appending, the output JSON includes 'pageId' and 'markdown' fields confirming the page appended and content added. Errors include both the input and error details if 'Continue On Fail' is enabled.
Examples
Example 1: Fetch a page's content as Markdown
Set Action to 'Fetch Page' and provide the Page ID or URL. The node outputs the page content as a Markdown string in 'markdown' field.
Example 2: Append Markdown to a page
Set Action to 'Append Page', provide the Page ID or URL, and enter Markdown text to append. The node appends the given Markdown content to the Notion page.