> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keyflow.space/llms.txt
> Use this file to discover all available pages before exploring further.

# Write to Notion Page

### **Overview:**

The `Write to Notion Page` block enables users to effortlessly write data to either an existing or a newly created Notion page. This functionality is crucial for maintaining organized records and ensuring that information is kept up to date.

<Note>
  To run this block, you will first need to authenticate your Notion account
  with Keyflow. Navigate to your
  [credentials](https://keyflow.space/settings/credentials) page and connect
  your Notion.
</Note>

***

### Inputs & Outputs

| I/O     | Feature             | Type     | Simple Explanation                                                                                         |
| ------- | ------------------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| input   | `data`              | any      | The data intended for inclusion in the specified Notion page.                                              |
| input   | `new_page_title`    | string   | The title designated for a new Notion page; required only when `use_existing_page` is set to false.        |
| input   | `use_existing_page` | boolean  | Enables writing data to an existing Notion page; creates a new one if false.                               |
| input   | `page_id`           | string   | The ID of the existing Notion page where data will be written; needed when using an existing page option.  |
| input   | `parent_page_id`    | string   | Specifies the parent ID under which the new page will be nested; this can be left empty if not applicable. |
| output  | `page_id`           | string   | The ID of the newly created or updated Notion page.                                                        |

***

### Use Cases

Consider these practical applications of this block:

* **Update Existing Page:** Effortlessly modify content on an already established Notion page, such as adding notes or additional details about ongoing projects.
* **Create New Page:** Seamlessly create and populate a new Notion page for project tracking or documentation purposes when starting fresh or when prior context isn't needed.
* **Automate Data Entry:** Integrate various external workflows (like forms, surveys) by automatically pushing collected data into designated sections within your Notion setup.
* **Structured Data Organization:** Enhance overall management efficiency by organizing information hierarchically within parent pages in Notion, facilitating easier navigation and access.

In summary, whenever there's a requirement for managing how information flows into your digital workspace with precision, the `Write to Notion Page` block provides an essential solution!
