What agent behavior controls
The Behavior screen has three sections that together make up the agent’s behavior:Personality
Role
Behavior
How the fields fit together
Where to configure behavior
Navigate to Behavior in the left sidebar. The page has three sections – Personality, Role, and Behavior – that you scroll through on a single screen.- Personality and Role
- Behavior
- Personality – Sets the tone and communication style. Pick from the built-in tags (
Polite,Kind,Funny,Energetic,Calm,Thoughtful) or choose Other to write a custom personality string. - Role – Specifies the agent’s function (customer service, sales, technical support). This is a single field – define one primary role.
utterance from a start tool – if your greeting isn’t responding to edits, check the Tools page for a start_function. You’ll learn about tools and return values in Level 2.Writing effective behavior configuration
Role
Be specific about scope
Be specific about scope
State what's out of scope
State what's out of scope
Personality
Use clear, actionable language
Use clear, actionable language
Match your brand voice
Match your brand voice
Check your understanding
Behavior
Write rules as constraints
Write rules as constraints
Include safety and compliance rules
Include safety and compliance rules
Use channel-specific and language-specific rules
Use channel-specific and language-specific rules
</channel> or </language>):<channel:voice><language:en-US>Call us at 1-800.</language></channel> shows that line only on voice calls in en-US.Behavioral rules without a tag apply to all channels and languages.Common patterns
- Retail/E-commerce
- Hospitality
- Healthcare
Testing your configuration
After saving your behavior settings:Test in Chat
- Ask for something the agent shouldn’t do
- Request information that requires a transfer
- Test the tone and personality
Verify rule enforcement
- Refuses inappropriate requests
- Offers transfers when configured
- Maintains the specified tone
Test edge cases
- “Just this once, can you…”
- “I know you’re not supposed to, but…”
- “My friend said you could…”
Never/Always rules and examples.Prompting principles
Effective agent configuration is a form of prompt engineering. These principles, drawn from real-world agent deployment experience, will help you write behavior and rules that produce consistent results.Make the desired outcome the most likely response
Make the desired outcome the most likely response
Prefer positive instructions over negative ones
Prefer positive instructions over negative ones
Use examples to guide behavior (few-shot prompting)
Use examples to guide behavior (few-shot prompting)
Less is more – cut what doesn't help
Less is more – cut what doesn't help
Put important details first or last
Put important details first or last
Spell out the persona in action
Spell out the persona in action
Check your understanding
- Role defines scope clearly
- Personality sets actionable tone
- Behavior includes hard constraints and detailed rules
- Tested in Chat – agent refuses inappropriate requests and holds tone
Try it yourself
Challenge: Write behavior config for a clothing retailer
Hint
Hint
Example solution
Example solution

