Set up guardrails for your agent

Set refused topics, escalation triggers, AI disclosure, PII masking and blocked web search domains so the agent stays inside the lines you define.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

Guardrails are rules that apply to every conversation, whatever the procedure says and whatever the customer asks. Use them to keep the agent away from topics you do not want it to discuss, to route sensitive moments to your team and to control what the agent discloses and stores.

Open the agent and select Build > Guardrails.

What you can set

Guardrail What it does
Refused topics Topics the agent declines, such as legal advice or a competitor comparison.
Escalation triggers Phrases or situations that send the conversation to your team at once.
AI disclosure A line telling the customer they are talking to an AI agent.
PII masking Replaces personal data in saved transcripts with placeholders.
Blocked domains Websites the agent never uses when the Web search action is on.

Refused topics

  1. Select Add topic.
  2. Name the topic, for example Medical advice.
  3. Describe it in a sentence: "Any request to diagnose a condition or recommend a treatment."
  4. Write the Reply, for example "I can't help with medical questions. Please speak to a health professional."
  5. Select Save.

Describe what the customer is asking for, not a list of keywords. The agent reads the description, so "questions about our unreleased products" works better than a few product names.

Escalation triggers

A trigger sends the conversation to the Helpdesk without waiting for a procedure to reach that step. Good triggers are specific: "The customer mentions a chargeback", "The customer says they will contact a lawyer" or "The customer asks for a person three times".

  1. Select Add trigger under Escalation triggers.
  2. Describe the situation.
  3. Choose the Team and Priority for the ticket.
  4. Select Save.

Triggers use the Escalate to human action, so the ticket carries a summary and the conversation status becomes handoff.

Disclosure and privacy

Turn on AI disclosure to show a short statement at the start of a conversation. The wording is yours. Details are on the AI disclosure page.

Turn on PII masking and choose what to mask: email addresses, phone numbers, card numbers or national ID numbers. Masked values appear as placeholders such as [email] in saved conversations and in Activity.

Note: Masking and disclosure are settings that help you meet your own policies. They are not legal advice, so check your obligations with a qualified adviser.

Blocked domains

If the agent has the Web search action, add domains under Blocked domains, one per line. The agent will not read or cite those sites.

Test your guardrails

  1. Open Test > Playground.
  2. Ask for something each guardrail should catch.
  3. Check that the agent refuses or escalates as expected.

Save the good examples as tests, so a later change to the agent cannot weaken a guardrail without you noticing.

Something unclear or missing? Tell us and we will fix the page.