In this article, you'll learn when it's best to use the AI Instructions block and when it isn't, what it means to delegate part of the conversation to AI, and how to configure the bot's identity, instructions, and generative natural language to ensure responses that align with your business.
Generative AI lets your bot talk naturally, collect data, and resolve questions without you having to design every response. To get the most out of it, turning it on isn't enough: you need to choose the right use cases, give it good context, and keep the information it looks up up to date.
Did you previously know it as "AI Agent"? The AI Instructions block is the same one that used to be called "AI Agent". We renamed it to set it apart from the new AI Agents in Botmaker 3.0. The best practices in this article apply to the Bot Designer block.
The block works best for tasks with a clear, well-defined goal that require several interactions or specific actions. It works autonomously until it completes its task, and only then does the conversation return to the main flow, which keeps your bot organized in sections.
Recommended use cases:
Use cases we don't recommend:
Note: if your bot needs to use tools, query external systems, or complete tasks end to end, we recommend trying Botmaker 3.0's AI Agents. You can get there from the Go to AI Agents link inside the AI Instructions block.
When you use AI Instructions, you hand over part of the control over responses to the AI. A traditional flow follows fixed rules and sends pre-written messages; generative AI, on the other hand, interprets the information it has and writes its own response, even when questions are unclear or aren't covered in your knowledge base.
This means that:
That's why you should keep your knowledge base clear, complete, and up to date, and keep this degree of autonomy in mind when you design processes where accuracy is essential.
A practical way to organize them is to split them into three parts: objective, steps to follow, and rules. That way, the AI can tell what it needs to achieve, how to do it, and what it can't do. For example, for a course enrollment:
#OBJECTIVE
Help the person enroll in a language course at our academy. Guide them clearly, in an organized and friendly way, to collect all their details and confirm the enrollment.
#STEPS TO FOLLOW
1. Ask for their first and last name and save it in ${fullName}.
2. Ask for their ID number and save it in ${courseId}.
3. Ask for their email address and save it in ${courseEmail}.
4. Ask which course they're interested in and save it in ${chosenCourse}.
5. Show them a list with all their details and ask them to confirm. If they want to change anything, correct it and ask for confirmation again.
6. Once they confirm their details are correct, save them using the create record action in Google Sheets. Thank them, let them know they'll be contacted by email soon, and say goodbye.
#RULES
- Use a friendly tone.
- Include only one emoji per response.
- Respond in 25 words or fewer.
- Only respond about data collection and language courses.
To insert variables (such as ${fullName}) or the Google Sheets action, type $ in the Instructions field and choose the item from the list.
Note: the objective and steps go in the Instructions field, but you can also move style rules to Tone and style and off-limits topics to Don't talk about. That way, each guideline sits in its own place and the main instruction is easier to read. For more tips, see the article "Effective instructions: write clear prompts to get better AI responses".
Remember to visit our Help Center for further information.