A structured lesson workspace with readable content, hands-on examples, and a clean path to completion.
Return to the main Presales AI Agent workflow. Click the plus icon on the AI Agent node and select 'Call n8n Workflow tool'. This allows the agent to trigger the knowledge retrieval workflow we just built.
Give your AI agent your first tool
This video requires an access code. Enter your code below to unlock it instantly.
Don't have a code? Contact us to get access.
Name it 'knowledge_tool'. The description field is the most critical configuration here. The LLM does not read your workflow canvas. It reads the tool description to decide when to invoke it.
Call this tool to request conference details, dates, and hall availability.n8n automatically pulls the 'question' input field from the target workflow. Set the parameter definition to 'Define using model'. This instructs the LLM to dynamically generate the search query based on the user's chat input and pass it as a string to the sub-workflow.
If your tool is never called, your description is too vague. If it is called at the wrong time, your description is too broad. Treat tool descriptions like API documentation.
Finish the lesson once you have worked through the material. This awards ★ 30 XP.