aipotheosis-labs / aipotheosis-labs/aci

Support retrieving Notion page content (block-level data)

Offen
#471 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @jiwei-aipolabs Auf GitHub ansehen
integration request
Vorherrschende Sprache
Python
Sterne
4.9k
Forks
484
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.