Notion Advanced

Full-featured Notion node with exhaustive block and formatting support using existing credentials

Overview

The node provides advanced integration with Notion, allowing users to manage Notion pages, blocks, databases, and users through various operations. Specifically, the Page - Archive operation enables archiving a Notion page by marking it as archived in Notion. This is useful for workflows that need to programmatically archive pages, such as cleaning up old content, automating project management tasks, or managing documentation lifecycle.

For example, you could use this node to automatically archive project pages once a project is completed or to archive meeting notes after a certain date.

Properties

Name Meaning
Page ID The unique identifier or URL of the Notion page to be archived.
Additional Fields Optional extra fields including:
- Icon Page icon (emoji or image URL) — not used in archive but available for other ops.
- Cover Page cover image URL — not used in archive but available for other ops.
- Archive Boolean flag indicating whether to archive the page (true/false). For the archive op, the page is always archived regardless of this field's value.

Output

The output JSON contains the response from the Notion API after archiving the page. It typically includes the updated page object with its properties and an "archived": true field indicating the page is archived.

Example structure (simplified):

{
  "object": "page",
  "id": "some-page-id",
  "archived": true,
  "properties": { ... },
  ...
}

No binary data output is produced by this operation.

Dependencies

  • Requires valid Notion API credentials configured in n8n.
  • Uses Notion API endpoints to perform actions.
  • No additional external dependencies beyond the Notion API and n8n environment.

Troubleshooting

  • Invalid Notion API credentials: The node checks credentials before execution. Ensure your API key/token is correct and has sufficient permissions.
  • Invalid Page ID: If the provided Page ID or URL is incorrect or inaccessible, the API call will fail. Verify the Page ID is correct and accessible by the authenticated user.
  • API rate limits: Notion API enforces rate limits; excessive requests may cause errors. Implement retry logic or reduce request frequency if needed.
  • Unexpected errors: The node throws errors with messages from the Notion API. Review error details to adjust inputs or credentials accordingly.

Links and References

Discussion