Automating JSON Generation for Notion Using OpenAI Node

Hi everyone,

I need some help automating a flow that I currently do manually. Right now, I generate a JSON using GPT models, and then I manually copy it into a ‘code’ node in N8N to add objects to Notion.

I would like to automate this 100%. I saw that N8N has an ‘OpenAI’ node, but I’m not sure how to use it to generate the JSON automatically and directly send the data to Notion.

Has anyone managed to do something similar? How can I set this up with the ‘OpenAI’ node in N8N?

Any help or advice would be greatly appreciated!

Thanks!

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:

Hey @DavidALM,

Do you have an example of what you have tried so far? It sounds like it should be a case of using the OpenAI node then adding the notion node after it to add the properties.

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