AI Agent does not get the right response from a tool

I created a Telegram bot that’s meant to rewrite articles. When testing directly, they get the expected results.

When I use the workflow by itself it works perfectly, but when I use it as a tool for an AI Agent it does not get the correct response.

Agent:

TOOL:

TOOL’s Response When use as part of another agent:

Video: https://vento.so/view/26e1c55e-84f4-4763-907a-2a77e8c045d8?utm_medium=share

Please Help:

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:

Hi @Vasislav
can you double check that the sub-workflow “Rewrite as Kevin” outputs the data in a field called “response”? Looking at your video it seems that the field is instead called “output”.

Let me know if this helps

2 Likes

Hey Giulio,

Thank you for the response (just saw it), you are right, now it works!

Appriciate the help!

1 Like

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