> For the complete documentation index, see [llms.txt](https://docs.datamotto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datamotto.com/data-and-integrations/notion-data.md).

# Notion Data

## Step 1: Download from Notion

* Go to your Notion and find the database you want to analyze. If your database is displayed as an inline view on a page, make sure to open it as a <mark style="color:red;">full page</mark> (refer to the screen below). Otherwise, you cannot download it.

<div align="left"><figure><img src="/files/8JEwQGfqOA89stdJQCJR" alt=""><figcaption></figcaption></figure></div>

* Go to the three dots "..." located in the top right corner and click '**Export**' to download it in CSV format.

<div align="left"><figure><img src="/files/DTgGgpfx2rEBdloz38oK" alt=""><figcaption></figcaption></figure></div>

* Go to the downloaded file on your computer and unzip it. Now, you will see your data in CSV format.

## Step 2: Upload to DataMotto

* Log in to [https://datamotto.com](https://datamotto.com/).
* Create a "New notebook." Then, select the **Data** and upload your Notion CSV data. You are all set.

<figure><img src="/files/77rhD3c3hTaF7bw8Dak7" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/eM6g9FnAr3Gsjq1a2y9q" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Congratulation! Your Notion data is now uploaded to DataMotto, and Klarence is ready to clean and analyze it for you. :tada:&#x20;
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.datamotto.com/data-and-integrations/notion-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
