Actions16
Overview
The node provides advanced integration with the Notion API, enabling users to perform various operations on Notion resources such as pages, blocks, databases, and users. Specifically, for the Page - Get operation, it retrieves detailed information about a specific Notion page by its ID or URL.
This node is beneficial in scenarios where you want to fetch the current state or metadata of a Notion page within an automated workflow. For example, you might use it to:
- Retrieve page details before updating content.
- Extract page properties for reporting or synchronization with other tools.
- Use page data as input for conditional logic in your automation.
Properties
| Name | Meaning |
|---|---|
| Page ID | The unique identifier or URL of the Notion page to retrieve. |
| Additional Fields | Optional extra fields that can be set when creating, updating, or archiving pages (not used in "Get" operation). Options include: Icon (emoji or image URL), Cover (page cover image URL), Archive (boolean to archive the page). |
Note: For the Get operation, only the Page ID property is required and used.
Output
The output is a JSON object representing the full details of the requested Notion page as returned by the Notion API. This includes all page properties, metadata, and configuration as stored in Notion.
The structure typically contains:
object: The type of the returned object (should be"page").id: The page's unique identifier.created_time,last_edited_time: Timestamps for creation and last edit.properties: An object containing all the page's properties with their values.- Other metadata fields as defined by the Notion API.
No binary data is output by this operation.
Dependencies
- Requires a valid Notion API authentication token configured in n8n credentials.
- Uses the Notion REST API endpoints to fetch page data.
- The node depends on utility functions for resolving page IDs and making authenticated API requests.
Troubleshooting
- Invalid Notion API credentials: The node will throw an error if the provided API credentials are invalid or missing. Ensure the API key/token is correctly set up in n8n.
- Invalid Page ID or URL: If the page ID or URL is incorrect or the page does not exist, the API request will fail. Verify the page identifier is correct.
- API Rate Limits: Frequent requests may hit Notion API rate limits, causing errors. Implement retry logic or reduce request frequency.
- JSON Parsing Errors: Although not directly relevant to the Get operation, other operations parse JSON inputs; malformed JSON in those cases will cause errors.