aipotheosis-labs / aipotheosis-labs/aci

Support retrieving Notion page content (block-level data)

Aperta
#471 0 commenti 0 reazioni 1 assegnatario Rivendicata da @jiwei-aipolabs Vedi su GitHub
integration request
Lingua principale
Python
Stelle
4.9k
Fork
484
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Required Pre-requisites

- [x] I have read the [Documentation](https://www.aci.dev/docs)
- [x] I have searched the [Issue Tracker](https://github.com/aipotheosis-labs/aci/issues)
- [x] I have searched the [apps directory](https://github.com/aipotheosis-labs/aci/tree/main/backend/apps) to see if this integration already exists

### App Name

Notion

### Function Name

get_page_content

### API Docs Link

https://developers.notion.com/docs/getting-started

### Additional Context

Currently, the NOTION__GET_PAGE function only returns metadata about a Notion page and does not provide access to the actual content.

We are considering two potential approaches for implementation:

`NOTION__GET_BLOCK`
A function that directly fetches block data from a given block ID or page ID. This gives users access to the full Notion block structure (including nested blocks, formatting, etc.), but may be verbose, especially for large pages.

`NOTION__GET_PAGE_CONTENT`
A higher-level function that returns just the text content and key metadata from all blocks in a given page. Need implement it through connector function.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.