prabha
prabha12mo ago

Notion Page fetch

Buildship "Notion page fetch" node does not fetch page content ? is this bug or something else
13 Replies
Gaurav Chadha
Gaurav Chadha12mo ago
Hi @prabha, what error are you getting? I tested it, it is working. You can refer to this to this documentation - https://docs.buildship.com/tutorials/notion-oauth
Notion Integration using OAuth Nodes – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
No description
prabha
prabhaOP12mo ago
when i fetched this is the output i get : {"object":"page","id":"a78c7735-8321-4dfd-a6db-ca07eff47649","created_time":"2023-10-14T14:25:00.000Z","last_edited_time":"2024-01-18T14:59:00.000Z","created_by":{"object":"user","id":"912418a0-977f-4dc4-8fab-ba3de127b531"},"last_edited_by":{"object":"user","id":"912418a0-977f-4dc4-8fab-ba3de127b531"},"cover":null,"icon":null,"parent":{"type":"workspace","workspace":true},"archived":false,"properties":{"title":{"id":"title","type":"title","title":[{"type":"text","text":{"content":"fediverse","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"fediverse","href":null}]}},"url":"https://www.notion.so/fediverse-a78c773583214dfda6dbca07eff47649","public_url":null,"request_id":"74d987c7-0d2a-42e7-892d-036ee2108df0"} it does not have page content no issue with Oauth
Gaurav Chadha
Gaurav Chadha12mo ago
Okay, to retrieve content, we'll add a node for it.
prabha
prabhaOP12mo ago
thank you.. will it take time or can i do it now
Gaurav Chadha
Gaurav Chadha12mo ago
Will add today, and update you here.
prabha
prabhaOP12mo ago
yeah thank you does buildship support running npm packages as in PIPEDREAM
Gaurav Chadha
Gaurav Chadha12mo ago
You can use any publicly available NPM package, and use the AI to create or add it to your node, you can refer to this - https://docs.buildship.com/ai-nodes#example-prompt-to-generate-node-using-any-api.
AI Generated Nodes – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Gaurav Chadha
Gaurav Chadha12mo ago
For the Notion OAuth node, I'm pasting the node's here which you can use. This uses the block ID to retrieve the page content, as mentioned by Notion page content can only be accessed as blocks. If you want to retrieve the child blocks you can modify the node accrodingly - https://developers.notion.com/docs/working-with-page-content#reading-blocks-from-a-page. Paste the node using node explorer in your workflow to use it and use the block id in the field. We'll add this node in our node explorer and and docs for this next week.
prabha
prabhaOP12mo ago
thank u , I will test and revert back this didn't work or myself doing not in correct way
prabha
prabhaOP12mo ago
No description
Gaurav Chadha
Gaurav Chadha12mo ago
Are you using Block ID or page ID? it will work with Block ID.
prabha
prabhaOP12mo ago
i am using page ID, I need all children blocks in a page and generate a markdown file from it