Add Tools to AI Agents
The outcome: After this challenge, your AI agents won't just analyze - they'll act. Support emails get draft replies ready to send. Urgent issues trigger Telegram alerts to your phone. The AI goes from advisor to autonomous worker.
Why this matters: An AI that can only think but not act is just a fancy calculator. Tools are what turn AI agents into actual automation. This is the difference between "AI helped me write a reply" and "AI handled it while I was sleeping."
n8n provides built-in tool nodes that you can connect directly to AI Agents. These tools let agents perform actions like sending emails, posting to Slack, or triggering alerts without needing complex sub-workflow setups.
What you'll learn:
- Built-in tool nodes - Gmail Tool, Telegram Tool, Slack Tool
- Connecting tools to agents - the ai_tool connection type
- Agent + Tool architecture - the pattern behind autonomous AI systems
Your Task
- 1Copy the exercise below
- 2Paste into your n8n editor (Ctrl+V)
- 3Solve it — use hints if you get stuck
- 4Check the solution when done
Add built-in tools to your agents so they can take actions:
Tool 1: Gmail Tool (for Email Draft)
- Add a Gmail Tool node to your workflow
- Configure it to create draft replies (Resource: Draft, Operation: Create)
- Connect it to the Support, Finance, and Promotions agents
Tool 2: Telegram Tool (for Human Escalation)
- Add a Telegram Tool node to your workflow
- Configure it to send alert messages
- Connect it to the High Priority agent
Update Agent Prompts: Each agent needs to know about its tools. Add a "Tools" section to each system prompt describing what tools are available.
Test it: Send a support email and verify the agent creates a draft reply.
Get the exercise workflow
Create a free account to copy exercises into your n8n editor.