Good afternoon.
I am trying to control exactly what response my AI agent gives after a tool is executed. Let me explain: when the customer writes “I want to speak with an advisor,” within the prompt I have the “AndresCera_Hablar_Humano” execute its function, but I don’t want the AI to respond with “You have been transferred to an advisor” when it returns to the AI flow. I don’t want it to say anything at all.
I have tried setting an empty JSON {{}} and nothing worked. I indicated in the general prompt that it should not respond if it receives an empty JSON, but it always generates a response anyway.
I modified the prompt in different ways so that if it receives certain variables it shouldn’t respond, but that didn’t work either.
I placed a node with return ; and it wasn’t possible either - it still gives a response.
If you could guide me on how to implement this, I would appreciate it.
Information on your n8n setup
- **n8n version:1.90.2 in VPS
- Database (default: SQLite):