Add Notion Data Connector
Closed this issue ยท 15 comments
Add a Notion data connector that grabs all the content from all the pages in the authorized workspaces. That means it needs to attempt to get all the contents inside all nested databases in notion etc. Should authorize with nango etc, following the github/google drive implementations.
This should help implement the getDocuments function: https://github.com/NangoHQ/nango/blob/master/integration-templates/notion/notion-pages.ts
Other requirements:
- Make sure to add proper tests inside the tests folder
- If an added env is required, please update the env.example
https://docs.nango.dev/integrations/all/notion
DO NOT START WORKING ON THIS BEFORE GETTING ASSIGNED, OTHERWISE WE CAN'T AWARD THE BOUNTY
@mogery wanna work on this? If so, I create a bounty and assign you to it.
Hell yeah!
/bounty $35
๐ $35 bounty created by mendableai
๐ If you'd like to work on this issue, comment below to get assigned
๐ To claim this bounty, submit a pull request that includes the text /claim #8
somewhere in its body
๐ Before proceeding, please make sure you can receive payouts in your country
๐ต Payment arrives in your account 2-5 days after the bounty is rewarded
๐ฏ You keep 100% of the bounty award
~~๐ Thank you for contributing to mendableai/data-connectors! ~~
๐ Add a bounty โข Share on socials
DO NOT START WORKING ON THIS BEFORE GETTING ASSIGNED, OTHERWISE WE CAN'T AWARD THE BOUNTY
Other attempts will be allowed if the user assigned does not open a PR within 48 hours.
Awesome! Assigned to you! @mogery
@nickscamara What format should the pages be returned in? Is JSON fine, should I convert everything to markdown for easy parsing, or perhaps just dump out all the text?
You can just dump all the raw text into content .
@mogery Actually, if converting to markdown is easy and won't take too much time, that would be great
@mogery sounds good. Would the child page of that page be accessible if you add a connection to the parent page? Also, does the same apply to databases? Thank you :)
@mogery sounds good. Would the child page of that page be accessible if you add a connection to the parent page? Also, does the same apply to databases? Thank you :)
Yup, access travels down the parent-child tree. Checking for databases now.
Awesome!!! @mogery
๐ก @mogery submitted a pull request that claims the bounty. You can visit your bounty board to reward.
๐๐ @mogery has been awarded $35! ๐๐