09-18-2025 08:02 AM
I'm building a Workato recipe that queries a Notion database and uses the retrieved content to populate a new Notion page. The Query Database action works and returns the correct JSON data, but I'm unable to access nested rich_text content in the Create Page action.
"properties": {
"AgendaOutline": {
"id": "oiC%3C",
"type": "rich_text",
"rich_text": [
{
"type": "text",
"text": {
"content": "1. Wins and Highlights...",
"link": null
},
"plain_text": "1. Wins and Highlights...",
"href": null
}
]
}
}400 Bad Request: body.children[2].paragraph.rich_text[0].text.content should be defined, instead was `undefined`All of these return undefined:
#{steps.step_2['results'][0]['properties']['AgendaOutline']['rich_text'][0]['plain_text']}
#{steps.step_2['results'][0]['properties']['AgendaOutline']['rich_text'][0]['text']['content']}
#{steps.step_2.results[0].properties.AgendaOutline.rich_text[0].plain_text}Any help would be greatly appreciated! Has anyone successfully extracted rich_text content from Notion database queries?
09-18-2025 09:27 AM
Hi @dthatcher,
Have you tried implementing with JSON Parser (Json tools by Workato), with that you can able to access rich_text array easily. like shown in the image below. if not, please let me know the exact requirement, will look into it.
Thanks,
J Rajesh Kumar.
Wednesday
HI @dthatcher
Have you tried using the json parser that will give you the data pills of the json and you can select the required data pill to print the message.