Archive Page
notion.archive_page
ActionBusiness appsconnection required
Calls the Notion API with the connection's credentials.
Archive a page by moving it to the workspace trash.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Notion
- Secret shape
- the integration token, or {"token": "…"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
page_id Id of the page to archive. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok True when Notion accepted the change. | boolean | true |
page_id Id of the archived page. | string | — |
archived True — the page is now in the trash. | boolean | — |
url Notion URL of the page. | string | — |
{
"archived": false,
"ok": true,
"page_id": "",
"url": ""
}See Archive Page run in a workflow.
In a technical demo we add the Notion connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.