I am new here. Just trying the n8n and not having much success. I am using the trial version and am struggling. I got a workflow to work once and now it bombs everytime. I have another week with the trial version so I am not sure why my agent isn’t working. Also, I put money in OpenAI so not sure why the X there. I can’t tell what is broken. If it worked once it should work everytime. Any help would be greatly appreciated.
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
Hi @tucklor , welcome to the n8n community 
I see that the issue is coming from the OpenAI Chat Model node, so I would start by opening that node and making sure my API credentials are set correctly with a valid API key. I would also explicitly set the model to gpt-4o-mini, then run “Execute Node” to confirm it works. Once I get a successful response from that node, the AI Agent should start working again.
Awesome. That helped alot. Got it to work. Now I have one small issue with my output. it has odd markings (4 of ‘) at the beginning and ending of my output. I can’t find the source node of where this is pulling. I included a screenshot of the workflow. It is very basic as I am getting started. Thanks for your help.
1 Like
Hi @tucklor Welcome!
Can you give us a a screenshot of your OpenAI node’s insider? Also the tools attached to the AI agent.
@tucklor Just tell that to the AI agent by adding a system prompt written by maybe chat GPT that would tell the AI that do not output ````html related texts, that would work, go inside the AI Agent node then click on the drop down and select system prompt and give there a big list of instructions along with the ```html thing.
OK. Will give that a shot. Thanks for helping. This is new to me but I am catching on.
@tucklor Did adding a good system prompt helped?