Hi
I have a Notion database. I would like to launch a scenario when a specific property is changed from No to Yes.
Then it send the Page title to OpenAI and start prompting and add the result back in Notion’s database within the specific page content.
I struggle with the first step. Is there a way to Watch a property change on a selected database ? Or do I have to add one more steps and update the Notion database into a Google sheet and launch from there ?
1/ I managed to do the first steps till the redaction in OpenAI, but I’m stuck at the last step : add the result from OpenAI as the content of the database item. Not adding in a property, but in the content of the item.
In notion each item of a database is a page when you click on Open. I mean this page content. I don’t want to update a column of the database).
I tried Append a page content / Update a database Item / etc… but no luck always an error.
2/ is it possible to remove the caracter limit of 2000 ? for example if I need to create a long blog post as the content, going from the keyword.
You can use “Append page content” to insert content into a Notion page. Why didn’t that work for you? Do you see errors?
The 2000 character limit is enforced by the Notion API, so it’s not possible to remove it. To work around it, you can split the input text into multiple bundles and either make multiple API requests one per bundle), or append multiple blocks in one API request
if you map the “Content objects” field (as shown in screenshot 1 on your latest message), you would need to first construct the correct JSON object for the block type following the Notion API documentation.
If instead, you don’t need that, you can directly add the specific block (see screenshot below)
So I did like in your screenshot, but have a new issue instead : [400] body failed validation: body.paragraph.rich_text[0].text.content.length should be ≤ 2000, instead was 5967.
My content is mostly blog post article which is normally quite long. Is there a limitation of character of 2000 only ? is it coming from make or notion ?
Is my only solution to use Airtable or Google Sheet instead of Notion ? Already have my datase in Notion though.
I read somewhere that the body in notion is not limited with 2k character only properties… do you have an idea if it’s true ?
Mh I don’t think so - anyways appending a very long text (more than 12 thousand characters) works for me with the setup below using the “Append page content” module. So just to confirm, this is the setup you used and you still get the error message?