Structuring a ChatGPT answer

Hello everyone,

I have the following problem. I ask ChatGPT for 10 things he can think of on a certain topic. I would like to save these 10 things in a notion database as a separate entry. I am completely at a loss as to how to go about this. I am very grateful for any advice!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @VGR! Thanks for reaching out and joining the community! :tada:

If you’re using our AI Agent, you can use our structured output parser to ensure adherence to a specific format (e.g. JSON). You can then use that output to populate your Notion database.

Here are some screenshots and additional resources that might be helpful:

Screenshot 2024-06-14 at 12.34.31 PM
Screenshot 2024-06-14 at 12.36.51 PM

Hope this is helpful, and happy building!

Hi @Ludwig , thx for your support … I will try this tonight!
cheers
Volker

Hi @Ludwig ,
it seems, that i am not able to get it work.

Heres is my flow:

and when it comes to writing my results back to notion, I get following error:

Any hint would help me much …

Thx in advance
Volker

I finaly found my mistake. You can´t do that in a rich text field. I simply put the variable in a normal text field and everything worked fine.

Thx for support!!!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.