Workflow tool input json is written in the ai agent output

“n8nVersion”: “1.47.2 (Self Hosted)” via Docker on Ubuntu 22.04

My question is: is that a bug? if not, how to fix that?

I am having an “Internal Error” when, sometimes, the json used as input of a workflow tool is written in the ai agent output as you can see in the prints bellow:


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:

Welcome to the community @thiagof!

I’m not sure what you mean here, could you tell us what you mean by “Internal Error” and what you would expect to see instead?

Could you also share your workflow by copy & pasting the workflow JSON content in between two block quotes (```) so we can reproduce what you’re seeing on our end? :sunflower:

By “internal error” I mean that AI Agent is trowing an internal error when, for some reason, it append a json used as an input parameter of a workflow tool (print 2), and that json breaks the ai agent (print 1).

Did you already saw that before?

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