Notion Page fetch
Buildship "Notion page fetch" node does not fetch page content ? is this bug or something else
13 Replies
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.
Hi @Gaurav Chadha for example this my notion page https://tamilfwrk.notion.site/fediverse-a78c773583214dfda6dbca07eff47649?pvs=4
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
Okay, to retrieve content, we'll add a node for it.
thank you.. will it take time or can i do it now
Will add today, and update you here.
yeah thank you
does buildship support running npm packages as in PIPEDREAM
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.
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.
thank u , I will test and revert back
this didn't work or myself doing not in correct way
Are you using Block ID or page ID? it will work with Block ID.
i am using page ID, I need all children blocks in a page
and generate a markdown file from it