Weird error

i have this weird thing happening , the input i sent would lead to using the stock vector tool and stock tool but for some reason it doesn’t and just refuse to , my db and tables configs are working the functions are working the prompt is good everything is good but it still refuses , the LLM is gpt 5

What is the error message (if any)?

Please share your 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:
1 Like

Hi @Naim_bruh Welcome!
I understand your issue, consider splitting out the work of the AI agent into smaller flows calling those sub flows, currently you have too many tools attached , for production grade consider making multi agentic flow that each AI would have its own job like booking an order would be a different AI agent’s job to call instead of one agent calling everything.

Also this can happen because of bad model, consider using GPT-4o which is by far the best model for tool calling according to me, and yeah SYSTEM PROMPT should be validated as most of the times it is the issue as there is no sequence in the system prompt and that results in AI getting confused on what todo exactly and then it does NOTHING. Just make sure to use good prompt i mean validate your system prompt from an AI prompt creator and then choose a good model and a reliable structure so that instead of AI agent doing all the fetching ,deciding , calling there should be a proper architecture so that the flow never fails.

Just split out everything that one agent is doing.

Hey, can you share your workflow JSON and any error messages youre getting? Also a screenshot of your agent/LLM node config would help a lot here.

No error messages and workflow is still not complete

2 Likes

Switch to GPT-4o. Fix your system prompt. (Just repeating what i have already said.)