Create a Bot tool for your AI agent
Learn how to create a Bot tool that lets your AI agent collect details from customers and start a Bot Builder journey, such as assigning a chat to your team.
Answering questions is only half the job. Sometimes your agent needs to do something: book a demo, take a callback request, or hand a chat to the right person on your team. A Bot tool makes this possible. The agent chats with the customer, collects the details you need, and then starts a journey you’ve built in the Bot Builder. The journey handles the rest, such as sending a message, adding a tag, saving details to Google Sheets or assigning the chat.
What’s covered
When should you use a Bot tool?
Use a Bot tool whenever you want your agent to take an action, not just answer a question. For example:
Hand over to your team: The customer asks for a person, and the chat is assigned to your support or sales team.
Book a demo or appointment: The agent collects a name, date and time, and the journey confirms the booking.
Take a callback request: The agent asks when the customer is free, and the journey assigns the request to your team.
Capture a lead: The agent collects details like company name and team size, and the journey saves them to Google Sheets or your CRM.
Tag customers by interest: The agent learns which product the customer wants, and the journey adds a tag for follow-up.
If the agent only needs to fetch or send data, such as checking an order status, an API tool is usually a better fit.
How does a Bot tool work?
The customer sends a message.
The agent checks the descriptions of your tools. If one matches what the customer wants, it picks that tool.
If the tool has parameters, the agent asks the customer for each detail.
Once the agent has everything, the journey linked to the tool starts.
The journey runs your actions, such as sending a message or assigning the chat.
The journey passes a response back to the agent, which tells the customer what happens next.
The customer just chats naturally. They never see the tool or the journey.
How to create a Bot tool
Step 1: Open your agent and click Tools in the left menu.
Step 2: Click Add tool. The Create Tool panel opens on the right.
Step 3: In Name, type a short name in lowercase words joined by underscores, for example talk_to_human or book_demo.
Step 4: In Description, tell the agent when to use this tool. This is the most important field, because the agent reads it to decide whether to use the tool. For example: “Use this when the customer wants to speak to a person from our team.”
Under Type, select Bot.
Under Channel, select the channel the journey runs on: WhatsApp or Instagram.
Under Available for, choose where the agent can use this tool:
All: Chats and calls.
Voice only: Calls only.
Text only: Chats only.
Step 5: Click Add parameter for each detail the agent should collect before the journey starts. Skip this if no details are needed, as with talk_to_human.
Step 6: Click Create.
Your new tool appears under Your tools. Make sure its toggle is on, because the agent won’t use a tool that’s switched off.
How to choose the right parameter type
Each parameter has four fields:
Name: A short name for the detail, for example city or quantity.
Type: What kind of answer to expect. See the table below.
Description: What the detail is and how it should look, for example “The city where the customer lives”. Up to 255 characters.
Required parameter: Tick this if the agent must collect this detail before the journey starts.
Text
A short written answer
Customer’s name, city
Number
A number
Quantity, team size
Options
One answer from a fixed list
Plan: Basic, Pro, Enterprise
Yes / No
A simple yes or no
Wants a callback?
List of text
Several answers to one question
Products the customer is interested in
JSON object
A group of related details, for advanced setups
An address with street, city and pincode
When you choose Options, an Options field appears. Type your choices separated by commas, for example Small, Medium, Large, XL.
Tip: Ask only for what your journey really needs. Every extra detail makes the conversation longer for the customer.
How to build the journey for your Bot tool

A Bot tool isn’t complete until it has a journey. The journey is what happens after the agent has collected the details.
Step 1: On the tool’s row under Your tools, click the three-dot menu.
Step 2: Click Create customer journey. Once a journey exists, this option changes to Open customer journey.
Step 3: The Bot Builder opens with a starting point called On customer intent. The tool’s name is already set as its keyword. This links the journey to your tool, so don’t change it.
Step 4: From the Actions list on the left, drag in the actions you need and connect them. For example:
Send Message to acknowledge the customer.
Assign Agent to pass the chat to your team.
Add / Remove Tags to label the customer.
Google Sheets to save the details.
Call Api to send the details to another system.
Step 5: End the journey with Pass Tool Call Response, and write what the agent should tell the customer. For example: “The chat has been assigned to a team member. Tell the customer someone will reply shortly.”
Step 6: Turn on the toggle at the top so it shows Enabled.
Step 7: Click Save, then click Save again in the confirmation box.
How to test your Bot tool
Open the Chat tab in the test panel on the right.
Send a message that should trigger the tool, for example “I want to talk to someone from your team.”
Answer the agent’s questions, if the tool has parameters.
Expand the details under the agent’s reply to check that it used your tool and what it sent.
If the agent doesn’t use the tool, make the Description more specific, or mention the tool in your prompt. For example: “If the customer asks for a person, use talk_to_human.”
Key takeaways
A Bot tool lets your agent collect details and start a Bot Builder journey.
The Description decides when the agent uses the tool, so write it clearly.
Add only the parameters your journey needs, and mark the important ones as Required.
Create the journey from the tool’s three-dot menu.
End the journey with Pass Tool Call Response, and turn it on before you save.
Keep the tool’s toggle on, or the agent won’t use it.
FAQs
Related articles
Create an API tool for your AI agentCreate an AI agent for WhatsApp chatsCreate an AI agent for WhatsApp and PSTN callsLast updated