# Notion

**What is Notion?**

Notion is a collaborative workspace that helps you organize, manage, and share information. With StackAI, you can automate the creation of Notion pages directly from your workflows, making it easy to generate structured content and knowledge bases.

**How to use it?**

The Notion node in StackAI allows you to create new pages in your Notion workspace. You must provide the parent page, a title, and the content for the new page. This node is ideal for automating documentation, meeting notes, or any structured data entry into Notion.

**Example of Usage**

Suppose you want to automatically create a project summary page in Notion after a workflow completes. You would use the Notion node to send the project details as a new page under a specific parent page.

***

**Available Actions**

#### 1. Create Page

Create a new page in your Notion workspace under a specified parent page.

**Inputs (All Required):**

* **Parent Page** (`parent_page_id`):\
  Select the parent page under which the new page will be created.\
  \&#xNAN;*Example:* "d695667e-33c4-4b9d-9f93-8c01ec1d7b89"
* **Title** (`title`):\
  The title of the new Notion page.\
  \&#xNAN;*Example:* "Weekly Project Update"
* **Content** (`content`):\
  The main content to be written as text blocks in the new page.\
  \&#xNAN;*Example:* "This week, we completed the following milestones..."

**Configurations:**\
No additional configurations are required beyond the inputs above.

**Outputs (All Always Provided):**

* **Page ID** (`page_id`):\
  The unique identifier of the newly created Notion page.\
  \&#xNAN;*Example:* "b1a2c3d4e5f6g7h8i9j0"
* **Page URL** (`page_url`):\
  The direct URL to access the new Notion page.\
  \&#xNAN;*Example:* "<https://www.notion.so/yourworkspace/b1a2c3d4e5f6g7h8i9j0>"
* **Message** (`message`):\
  A status message indicating the result of the operation.\
  \&#xNAN;*Example:* "Page created successfully."

***

**Example of Usage**

You want to automate meeting notes creation:

* Set the Parent Page to your "Meetings" section.
* Set the Title to "Team Sync - July 8, 2025".
* Set the Content to the meeting summary generated by an LLM node.

After execution, the Notion node will return the new page's ID, URL, and a success message, allowing you to share or reference the page in further workflow steps.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stackai.com/workflow-builder/apps/notion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
