Message GPT Model keeps getting error

Hi everyone,

I’ve been watching YouTube and recently started learning automation. I’m currently trying to follow his email automation/tutorial videos step by step.

I copied the workflow exactly as the youtuber showed in the video, but I keep getting errors that he doesn’t seem to get.

These are my errors:

I’ve already tried:
• Changing the GPT prompt
• Switching to different GPT models
…but the error still happens.

This is the youtuber’s method:

I’m still pretty new to this, so I’m wondering if I missed something obvious or if there’s an update/change since the video was posted.

Has anyone run into the same issue or knows how to fix it?

Hey @fer_not Welcome!
Can you share the workflow with us? Also for now try using the AI agent and there give your message 1 as a system prompt and your AI prompt as the message 2, and connect your OpenAI model there it should work that way.


Hi @Anshul_Namdev , thank you for the reply! The original workflow above.

I tried to do it as your recommendation, and it comes out with an error

@fer_not can you do this?

welcome to the n8n community @fer_not
I believe the error is happening because the tutorial uses an older OpenAI node setup, and in the current n8n version you need to enable structured JSON output (or disable “Require Specific Output Format”) and make sure the prompt returns valid JSON instead of plain text.

Use a structured output parser instead.