I am using this code in Notion Create dB item module —> Raw JSON field, it keeps posting long string text into Notion dB and not the individual tag chips I want. What am I doing wrong?
Normally, the Raw JSON field refers to the BODY of the API request, following the Notion API documentation. Feel free to send screenshots of your scenario and module inputs and outputs if needed.
Thank you - Raw JSON seems to be a text property in the Notion database. So, the text you write in the field in Make is what you get in the Notion property. What would you expect instead?
Here is setup from one of my other Notion mods that is correctly posting tags to the dB shown above. I tired copying and editing the setup accordingly, but have not been able to get the correct results.
Thanks for the explanation Daniel - the current setup is not valid JSON
Notice how its structure differs from the one that’s working (e.g., doesn’t start with curly brackets, it seems there are some untokenized functions–formatDate, toString, etc.). Maybe try using an online JSON validator or check if an LLM can help you format the JSON properly for a Make module.
In general, to post tags (multi-select options) in a Notion property, they need to be an ARRAY data type