I’m trying to create my first agent using n8n and whatsapp business; my initial project is a bot to ask the user for some specific information. I set my system prompt to instruct the bot and added Whatsapp Send Message as a tool; I was expecting the LLM to use this tool to write the user and ask for the missing information; but it never uses it.
Instead, it writes the message asking for more information but this message is in the output key of the AI Agent node.
This was my plan; but it never calls the Whatsapp Send Message tool
This behavior is expected with the current AI Agent design in n8n.
The AI Agent does not execute external actions (such as sending WhatsApp messages) by itself. Even when a tool is attached, the Agent’s role is to reason and generate the response, not to control workflow execution.
That’s why the Agent generates the message correctly but only returns it in its output instead of calling the WhatsApp tool.
The recommended and supported pattern is:
WhatsApp Trigger > AI Agent (generate the message) > WhatsApp Send Message node (send the message using the Agent output)
This separation is intentional:
AI Agent = decision
Workflow nodes = execution
Using the WhatsApp Send Message node after the AI Agent is the correct approach for this use case.
Hi @Martin_Sarsale1 this kind of issue i also had with gemini models that even instructed they tend to not use the tools even if we explicitly specify, have you tried using OpenAI models? they work great and i am using them with everything specified in system prompts and it all works fine, hope this helps!
I’m really happy to hear this helped
If this solution solved the issue for you, please consider leaving a like or marking the reply as the solution ( it helps others find the answer more easily and also supports community contributors.)