AI Guardrails & Limits
Guardrails are safety controls that apply to your AI agents' responses whatever each agent's prompt says. This guide covers the Guardrails tab: content moderation and your own moderation categories, topics your AI must not engage with, masking of personal information, prompt-injection detection and the event logs. It also covers the Rate Limits tab, which caps how much AI a single contact can use.
Guardrails are available on every plan with AI. The tab is at Admin > Advanced > AI Settings > Guardrails. Seeing and changing guardrails needs the ai:guardrails:manage permission, which Owners and Admins hold. Your own moderation categories and restricted topics, and your own content-moderation settings, come with every plan except Starter. Every workspace starts protected, so you don't have to do anything before using AI:
- the restricted topics' Default action is Conservative;
- personal-data Masking level is Strict;
- prompt-injection detection is on. A new workspace starts on Replace the reply, so a detected attempt gets a safe reply in place of the bot’s answer. A workspace that had guardrails before this choice was offered is on Log only, unless an admin had set an action on content moderation’s Prompt injection category: Safe reply carried over as Block the message, Escalate to a person and Block and end the bot session as Hand off to a person, and Log only and Flag for a supervisor as Log only. Every workspace can change it under When an attempt is detected.
The tab opens with What your guardrails do right now: one line per guardrail saying what happens to a customer's message with your current settings, each with Change to jump to its setting.
Setting It Up: the Decisions
The defaults above protect every workspace. To make the guardrails fit your business, make these choices, top to bottom. Each links to its full explanation further down.
- Default action for restricted topics: what a topic set to Use default does on a match: Relaxed (log), Conservative (replace the reply) or Strict (block the message). How strictly topics are enforced.
- Restricted topics: the six required safety topics are always on and need nothing from you; add topics of your own for subjects your business wants the bot to stay away from, each with its own action. Required topics, Adding topics.
- Your own moderation categories: the same topics, built with examples and tested before you save. Your own moderation categories.
- Content moderation, per category: for each safety category, whether it is checked, its minimum confidence and its action. The defaults are listed in a table. Content moderation, Defaults.
- Who reviews flagged messages: categories set to Flag for a supervisor send messages to Moderation review, which supervisors work through. Moderation review.
- Masking level: Standard or Strict, which decides whether email addresses and phone numbers reach the AI. Personal information protection.
- Prompt-injection action: what happens to a message that tries to override the bot's instructions. Prompt injection detection.
- Outage behaviour: whether the bot keeps answering or hands every conversation to a person while content moderation can't be reached. When moderation is unavailable.
- Rate limits: how much AI one contact may use. If you set none, every contact gets 200,000 tokens per rolling 24 hours. Rate limits per contact.
To check the result, read what the customer sees when a guardrail acts, and the guardrail events it records.
How the Checks Run on Each Message
Restricted topics and content moderation are separate layers, and both apply on every turn; neither is a fallback for the other. Moderation covers general safety; restricted topics cover the subjects your business wants the bot to avoid. The order on each customer message is:
- Personal data is masked, possible injection attempts are flagged, and the required safety topics are screened by the platform's patterns.
- Content moderation and your restricted topics check the message while the bot prepares its answer. A topic that blocks is checked before the bot answers.
- An injection attempt that content moderation finds is handled as you chose before the customer sees an answer.
- Content moderation checks the bot's reply before the customer sees it, and the reply is checked for the bot's own instructions (prompt-leak protection).
Moderation acts on the customer bot. On reply suggestions and on the agent @mention bot it checks the AI's draft and only flags it, never changing the text: the agent sees “Content moderation flagged this draft. Read it carefully before you insert or send it.” Triage, summaries and evaluations of a conversation in which moderation flagged a message carry a banner such as “Content moderation flagged a message in this conversation (…). Review the conversation, not only the triage.”
Restricted Topics
Restricted topics are subjects the bot must not discuss. Each topic of your own is recognised by meaning: on every turn an AI check reads the customer's message against every topic's description, in the same call that checks the bot's hand-off conditions, and acts when it is at least as sure as the topic's confidence bar. Six required safety topics are always included; the platform's own patterns screen them before the message reaches any AI.
Restricted topics of your own come with every plan except Starter (see the pricing page). On Starter the six required topics still apply; topics you made on a higher plan are kept but marked Not enforced on your plan, and you can delete them. They are enforced again when you upgrade.
How strictly topics are enforced
Default action, above the list, applies to every topic whose action is Use default. The required safety topics keep their own action.
- Relaxed: a match is logged and nothing is changed.
- Conservative (the starting level): a bot reply that matches is replaced with a safe reply.
- Strict: a customer message that matches never reaches the AI and gets a safe reply.
Adding topics
- Add from Templates opens a library you can search by name and filter by category. Click Add on a template to add it as a topic of your own.
- Add Restricted Topic lets you write your own. Browse templates at the top loads a template into the form instead (click Use on one), so you can change it before you add it. The form asks for:
- a Topic name (required, up to 255 characters);
- an optional Category (up to 100 characters), a label to group your topics; it does not change what the topic does;
- What the topic is (required): the subject in plain words, up to 2,000 characters, for example “The customer asks us to match a competitor's price”. The check reads the meaning, so a message in any language can match;
- the Confidence bar (it starts at 80%, and moves from 5% to 100% in steps of 5%): how sure the check must be before the topic's action is taken. A lower bar catches more, including messages that only touch on the subject;
- When a message is about this topic: the topic's action.
The add button stays greyed out until the topic has a name and a description. The list shows each topic's Category, what it is Recognised by (“Its description, at 80% or more”, or Managed by RapiDesq for a required topic) and its Action, which you can change from the row.
The template library opened from Add from Templates.
Add Restricted Topic, written by hand.
What happens when a topic matches
Each topic follows the default action or has an action of its own:
- Use default: takes the Default action above, shown in brackets. Not available on the required safety topics.
- Log only: the match is recorded in Guardrail events and the conversation is not changed.
- Replace the reply: the bot's reply is replaced with a safe reply in the customer's language.
- Hand off to a person: the conversation is passed to a person; if the bot may not hand off, the reply is replaced instead. Topics with this action also appear on each bot's Escalation tab.
- Block the message: the check runs before the bot answers, and a message about the topic gets a safe reply with no answer generated.
If the check cannot run, a topic that changes the reply fails closed: no unchecked reply is sent, the customer is told the bot cannot answer right now (the exact reply), and the conversation is handed to a person if the bot may hand off. Topics that only log let the bot keep answering.
When a topic hands a conversation off, the agent and the Interactions page see why, for example “Restricted topic “Warranty decisions” hands off (86% confident, bar 80%)”. A bot turn a topic stopped shows “Guardrail stopped the message (restricted topic)” or “Guardrail replaced the reply (restricted topic)”.
Required compliance topics
The six required safety topics are marked Required and Managed by RapiDesq. They are always present and always on, and their detection criteria are hidden for legal compliance. They are:
- Child sexual abuse material
- Child exploitation
- Terrorism and violence
- Self-harm and suicide
- Illegal weapons
- Illegal drugs
The rules for them:
- They cannot be deleted, renamed or switched off, and their category cannot be changed.
- Their action starts at Hand off to a person. It can be made stricter but not weaker; a weaker choice is marked (below required floor).
- They apply on every plan, Starter included, and do not count towards the 20 categories of your own.
What happens on a match:
- The message never reaches the AI. The customer gets a safe reply; a self-harm match gets a supportive reply instead (the texts).
- The conversation goes to a person at high priority, ahead of normal queue selection.
- A compliance event is recorded, and an urgent alert is emailed to the workspace's compliance contact, or to RapiDesq's default contact if the workspace has none.
Your Own Moderation Categories
The Moderation categories list comes right after the summary at the top of the Guardrails tab. It shows everything your bots check customer messages for:
- Platform categories, such as child sexual abuse, self-harm and hate speech, carry a lock: RapiDesq defines them. A required one is always on. The others can be switched off here, except Prompt injection, which is always checked (its action is set under Prompt injection detection). Their minimum confidence and action are set under Content Moderation.
- Your own categories sit beside them with the same columns: what happens on a match (Action), how sure the check must be (Sensitivity) and an on/off switch. Edit or delete one from its row. Your own categories are your restricted topics, so they also appear under Restricted Topics.
Moderation categories before you add your own: the platform’s, each with a lock.
New category and Start from a template open the category wizard. Start from a template opens it on the first step; New category skips it and opens on Define:
- Start: Start from scratch, or one of the industry templates in your language.
Start: from scratch or from an industry template.
- Define: a name and a definition in plain words, with guidance on writing one.
Define: the name and definition, here from the Price or discount promises template.
- Examples: three to five messages the category applies to and three to five it does not. Suggest examples has one of your bots' AI models write some for you to review; nothing is saved until you save.
Examples: messages the category applies to, and messages it does not.
- Test: run the bot's real check on your examples and on up to five messages you type. Each shows Match or No match with the check's confidence, and whether an example is judged as you expect.
Test: each message judged by the bot’s real check.
- Action: the action on a match and the sensitivity.
Action: what happens on a match, and how sure the check must be.
- Examples sharpen where a category's boundary lies, for example “Can you give me 30% off if I order today?” against “How much does the standard plan cost?”. An example is at most 200 characters, and the same message cannot be on both sides. Examples are sent to the AI with every bot turn as you wrote them, so never paste a real customer's details: an example with a card, Social Security or bank account number is refused. Write a placeholder such as
[card number]instead. - Templates are eight industry starters: financial advice, medical advice, legal advice, competitor mentions, price or discount promises, chargeback or legal threats, requests for passwords or card numbers, and political topics. Adding one copies it into a category of your own that you edit like any other; later changes to the template never change your copy.
- Testing stores nothing, records no guardrail event and uses no AI credits. A workspace whose AI credits are used up cannot run a test on a platform-managed model. On a bot that uses your own provider key, your provider bills the calls as usual.
- Limits: a workspace has at most 20 categories of its own, switched on or off; the list shows “{used} of 20 categories of your own”. The required safety topics do not count. Each side of the examples takes three to five messages, and Next stays greyed out until both sides have at least three. A test takes up to five extra messages, one per line, each up to 1,000 characters.
- Suggestions and tests need a bot: they run on the AI model of the bot you pick in Bot whose AI model is used. Without a bot the wizard says “Add a bot first: suggestions and tests run on a bot's AI model.”
- Deleting a category asks “Delete this category?”; once deleted it is no longer checked, and this cannot be undone.
Your own category in the list, beside the platform’s.
Moderation categories and restricted topics of your own come with every plan except Starter; see the pricing page. On Starter, New category and Start from a template are unavailable and the list says which plans include them. Every message is still checked against the platform's categories, at their default settings. Categories you made on a higher plan are kept, marked Not enforced on your plan, and apply again when you upgrade.
Content Moderation
Content moderation is your account's own policy for the safety categories. It sets, for each category, these columns:
- Checked: whether messages and AI replies are checked for it.
- Minimum confidence: how sure the check must be before a match counts. The options are Low and above, Medium and above and High. Low and above catches the most, including more harmless messages; High acts only on clear cases. A category that has no confidence levels (such as child sexual abuse material and malicious links) counts every match whatever you choose.
- Action: what happens on a match. The options are:
- Default: the category's own action, shown in brackets. Some categories act differently on a customer's message and on a bot reply, shown as “Default (… on messages, … on replies)”.
- Log only: the match is recorded in Guardrail events, and the bot answers as usual.
- Flag for a supervisor: the bot answers as usual, and the message is added to Moderation review for a supervisor to check.
- Safe reply: the customer is told the bot can't help with that. A flagged message never reaches the bot's AI, and a flagged reply is replaced before the customer sees it.
- Escalate to a person: the customer is told a member of your team is taking over, and the conversation is passed to a person.
- Block and end the bot session: as Escalate to a person, and the bot answers none of the customer's later messages in that conversation.
- Severity: how serious RapiDesq rates the category. It is fixed, it is recorded with compliance events, and it does not change what happens.
The categories and their defaults
| Category | Required | Severity | Default action | Default minimum confidence |
|---|---|---|---|---|
| Child sexual abuse | Yes | Critical | Escalate to a person | Medium and above |
| Self-harm | Yes | Critical | Escalate to a person | Medium and above |
| Violence and threats | Yes | High | Escalate to a person | Low and above |
| Illicit goods and activities | Yes | High | Escalate to a person | Low and above |
| Harassment | No | Medium | Flag for a supervisor | Low and above |
| Hate speech | No | Medium | Safe reply | Low and above |
| Sexual content (adult) | No | Medium | Safe reply | Medium and above |
| Prompt injection | No, but always checked | Medium | Set under Prompt injection detection | Low and above |
| Malicious links | No | High | Flag for a supervisor on a customer's message; Safe reply on a bot reply | Medium and above |
The four required categories are always checked, and the Required minimum column shows their floor: “Always checked; minimum confidence no higher than Medium and above; action no weaker than Escalate to a person”. You can make one stricter, never weaker. So Violence and threats, which starts at Low and above, can be relaxed to Medium and above but not to High. A choice outside the floor is marked above the required minimum or below the required minimum and is refused (see Troubleshooting).
Prompt injection is always checked too, and only its minimum confidence can be changed here. What a detected attempt does is set under Prompt Injection Detection, so its row shows Set under Prompt injection detection in place of an action.
Choosing your own settings comes with every plan except Starter. On Starter the tab says “Every category runs at the platform's defaults on your plan”: every category is checked at its default minimum confidence and with its default action, and these cannot be changed. Settings you chose on a higher plan are kept and apply again when you upgrade.
Weekly false-positive review
Each week, late on Sunday night (11:00 PM Central, or midnight while daylight saving time is in effect), the flags supervisors reviewed in the last four weeks are counted per category, your own categories included. A category needs at least 20 reviewed flags. When more than a quarter of them were marked False positive in Moderation review, a higher minimum confidence is suggested: the lowest one at which no more than a quarter of the remaining flags would have been false positives. The table shows False positives (for example “6 of 20 (30%)”), Current minimum, Suggested minimum (or No change suggested) and Computed. Nothing changes until you change the category yourself. Required categories are never included. Until supervisors have reviewed flags it says No reviewed flags yet.
When moderation is unavailable
When moderation is unavailable has one switch, off by default: Hand every bot conversation to a person while moderation is unavailable.
- Off (Bot keeps answering): if the moderation service can't be reached, or has used up its capacity, the required categories are still checked by the built-in patterns of the required safety topics and the bot keeps answering. The other categories are not checked until moderation is back.
- On (Handed to a person): every bot conversation is handed to a person until moderation is back.
Either way, each affected turn records a Moderation Unavailable event.
When moderation is unavailable: one switch, off by default.
Once content moderation is on for your workspace, every customer message to your bots and every reply they write is checked on your moderation policy before the customer sees an answer, and uses no AI credits. RapiDesq turns it on region by region; until then the tab shows no Moderation categories, Content moderation or outage settings, and the required safety checks still run on every message. See what content moderation checks.
Personal Information Protection
Personal data masking replaces personal information in customer messages with placeholders before they reach the AI model, and restores it in the reply. Choose the Masking level:
- Standard masks payment card numbers, Social Security numbers and bank account numbers.
- Strict (the default) masks the same, plus email addresses and phone numbers.
Names are not masked at either level. Your users still see the original message in the conversation, so someone taking over a handed-off chat has what they need to help.
What counts as each kind of data, in plain words:
- Social Security number: three digits, two digits and four digits separated by dashes or spaces, such as 123-45-6789.
- Card number: 13 to 19 digits, written together or in groups, that pass the standard card-number check digit. A long number that fails that check is not treated as a card.
- Bank account number: a number of 8 to 17 digits standing on its own, with spaces or the start or end of the message around it.
- Email address (Strict only): anything shaped like name@example.com.
- Phone number (Strict only): North American and international formats, with or without a leading +1, brackets, dots, dashes or spaces.
The AI sees a numbered placeholder in each place, such as [SSN_1], [CC_2], [ACCT_3], [EMAIL_4] or [PHONE_5], and the original is put back into the reply before the customer sees it. System identifiers in the standard 36-character ID format (groups of 8, 4, 4, 4 and 12 letters and digits) are never masked. Masking applies to the bot and to the other AI features that read conversation text, such as reply suggestions and triage. Each masked message records a PII Masked event, whose Level is the masking level. Supervisors in Moderation review see the masked text, exactly as the check saw it.
Prompt Injection Detection
Prompt Injection Detection is always on and cannot be turned off. It spots messages written to subvert the bot, such as “ignore your previous instructions and…”. Whatever you choose below, the customer’s text always reaches the AI marked as the customer’s message, never as instructions.
Attempts are found by content moderation’s Prompt injection category on the platform’s mandatory safety check, which reads every customer message in every workspace, with content moderation’s settings on or off. Where those settings are on for your workspace, you set the category’s sensitivity under Content moderation, and this section names it. Every workspace chooses what happens under When an attempt is detected:
- Log only: the attempt is recorded and the bot answers as usual.
- Replace the reply (where a new account starts): the bot prepares its answer and the customer gets a safe reply in their language instead.
- Hand off to a person: the bot does not answer, and the conversation goes to a person through the bot’s hand-off settings. If the bot may not hand off, the customer gets the safe reply.
- Block the message: the bot does not answer; the customer gets the safe reply and the conversation stays with the bot.
The action is set only here: the Prompt injection category’s row under Content moderation says so instead of offering one, so an attempt is never acted on twice. Built-in phrases also flag a possible attempt as a guardrail event, but never change the conversation. Each decision is an Injection Detected event that names what found the attempt, how sure it was and the action taken. Its What matched reads, for example, “Prompt injection: Content moderation, Medium and above (minimum Low and above)”, or “Possible prompt injection: built-in patterns (a hint, never acted on)” with the level Flagged only. When Hand off to a person hands a conversation over, the agent and Interactions see “A prompt-injection attempt was detected, and your setting hands such attempts to a person”.
Prompt-injection detection cannot be switched off. Every change to When an attempt is detected is recorded in the audit log with who made it.
Prompt-leak protection
If a bot reply contains the bot's own instructions, the reply is replaced with the safe reply before the customer sees it and a Prompt Leak Detected event is recorded. This protection is always on and has no setting. The bot turn shows “Guardrail replaced the reply (the bot's instructions appeared in the reply)”.
Personal data masking, and Prompt Injection Detection with what a detected attempt does.
What the Customer Sees
When a guardrail stops or replaces a bot reply, the customer gets one of these fixed replies. They cannot be edited.
| When | The reply |
|---|---|
| A guardrail stops or replaces the reply: a restricted topic (including the required topics other than self-harm), a moderation category set to Safe reply, the prompt-injection setting, or prompt-leak protection | “I'm not able to discuss that topic. Is there something else I can help you with?” |
| Content moderation hands the conversation to a person (Escalate to a person or Block and end the bot session) | “I can't help with that here, so I'm passing your conversation to a member of our team. They'll be with you shortly.” |
| The required Self-harm and suicide topic matches | “I'm really sorry you're going through this, and I'm glad you reached out. You don't have to face it alone. I'm connecting you with a member of our team now. If you are in immediate danger, please contact your local emergency services.” It names no hotline, because the right number depends on the customer's country. |
| Your restricted topics could not be checked, so no unchecked reply is sent | “I'm not able to answer that right now. Please try again in a moment.” |
The replies exist in English, German, Spanish, French, Portuguese and Chinese. With multi-language support on your plan, the customer gets the reply in their own language when the conversation knows it, otherwise in your workspace's default language. Without multi-language support the reply is always in your workspace's default language.
Rate limits send their own messages; see What the visitor sees when limited.
Guardrail Events
Guardrail Events lists what was caught, newest first, with its Type, Level, What matched and Time. It shows the 50 most recent events and updates as new ones arrive. Events are kept for 90 days. An event from a conversation whose ticket you may not see, because of your team's access, is left out. The types are:
| Type | What happened |
|---|---|
| Topic Blocked | A restricted topic stopped a message before the bot answered. |
| Topic Filtered | A restricted topic replaced the bot's reply. |
| Topic Flagged | A required safety topic matched in a conversation evaluation; nothing was stopped. |
| PII Masked | Personal data was masked before the message reached the AI. |
| Injection Detected | A message tried to override the bot's instructions. |
| Prompt Leak Detected | A reply contained the bot's instructions and was replaced. |
| Moderation Flagged | Content moderation matched a category set to Log only or Flag for a supervisor, or flagged a reply suggestion or @mention bot draft; the turn went on. |
| Moderation Blocked | Content moderation sent a safe reply. |
| Moderation Escalated | Content moderation handed the conversation to a person. |
| Moderation Unavailable | Content moderation could not be reached for this turn. |
Level is the action taken for a topic (for example Replace the reply), the masking level for a PII event (Standard or Strict), or Flagged only for an injection hint. What matched names the topic and how it was found, for example “Warranty decisions: by meaning, 86% sure (bar 80%)” or “Self-harm and suicide: by the platform's patterns”.
The list is empty until something is caught: “No guardrail events yet. Topic matches, masked personal data and flagged messages appear here.” Each conversation's AI Details panel also shows its count of guardrail events, and the Guardrails column of the supervisor's bot conversation list shows the same count (see AI Oversight).
Guardrail Events before anything is caught.
Compliance Events (Owners)
Owners also see Compliance events on the Guardrails tab; it needs the tenants.compliance:read permission, which only Owners hold. This is the legal-grade record of every match on a required compliance topic, with its Time, Topic, Severity, Action and Feature. It lists the 50 most recent records; a record from a test workspace carries a Test mark.
- Records are kept for 7 years (3 years in India) and cannot be changed. A record's details show its Retained until date.
- View transcript opens the Triggering message and the Transcript snapshot of the conversation.
- Redact transcript (GDPR Art.17), shown to holders of
tenants.compliance:redact(Owners), redacts the transcript to answer an erasure request; the record itself stays. It runs as soon as you click it, with no confirmation step, and cannot be undone. Each redaction is recorded in the audit log. - Each match also emails an urgent alert to the workspace's compliance contact, or to RapiDesq's default contact if the workspace has none.
Until a required topic has matched, the section says “No compliance events recorded for this tenant.”
Compliance events, shown to owners.
Guardrails catch what is clearly out of bounds. Tone, scope and rules of engagement belong in each agent's prompt, and when to hand off belongs in its hand-off settings. See When the chatbot hands off.
What the audit log records
These guardrail changes appear in the audit log, in its compliance category, with who made them:
- changes to When an attempt is detected (prompt injection);
- changes to a content-moderation category's Checked, Minimum confidence or Action;
- each verdict a supervisor gives in Moderation review, without the message text;
- each compliance-event redaction.
Changes to the Default action, the Masking level, the outage switch and restricted topics are not listed there.
Rate Limits per Contact
Admin > Advanced > AI Settings > Rate Limits (Contact AI Rate Limits) caps how many AI tokens one contact can use within a time window. For example, it can stop one visitor from running up your credits. Seeing the list needs the ai:view permission; adding, editing and deleting limits needs ai:manage. Admins and Owners hold both.
Until your workspace has a default limit of its own, every contact may use up to 200,000 tokens per rolling 24 hours with the bot. Add a default limit to choose your own figure.
- Click Add Rate Limit.
- Fill in the fields:
- Name (required, up to 100 characters, and different from every other limit in your workspace). For a named limit (see below) this is the value your identity token sends;
- Max Tokens: a whole number, at least 1;
- Time Window: Hour, Day (the default), Week or Month;
- an optional Rate Limit Message, shown to the contact when they reach the limit. Leave it blank for the default message, which is in English; write your own in your customers' language if they don't read English.
- Choose what it Applies to (see Who a limit applies to).
- For your workspace-wide limit, keep Default (all contacts) and turn on Default Rate Limit, then click Save.
The list shows each limit's Name, Max Tokens, Time Window, Rate Limit Message and Applies to (Default, Specific contact or blank for a named limit), with edit and delete in Actions. Deleting asks “Are you sure you want to delete this rate limit configuration? Contacts using this tier will fall back to the default limit.”
A per-contact AI rate limit.
Time windows are rolling
A window counts back from now, not from the start of a calendar period: Hour is the last 60 minutes, Day the last 24 hours, Week the last 7 days and Month the last 30 days. A contact who reaches the limit can use the bot again as their oldest usage in the window ages out.
Only the customer bot's turns count, and the check runs before each turn. So the turn that takes a contact over the limit still completes, and the next one is refused.
Who a limit applies to
- Default (all contacts) with Default Rate Limit on: your workspace-wide limit, for every contact without a more specific one. There is only one; saving a new default replaces the old one.
- Default (all contacts) with Default Rate Limit off: a named limit. It applies to nobody on its own. A widget or web form with identity verification gives it to a visitor through a claim mapping whose Target Type is Rate Limit Tier: when the claim's value equals the limit's Name exactly, that limit applies. See identity verification for the chat widget and web forms.
- Specific contact: pick the contact (type to search by name, email or segment). That contact gets this limit, whatever else applies.
- Contact segment: offered in the list, but not applied to bot turns yet. Use Specific contact or a named limit instead.
When several could apply, the most specific wins: a specific contact's limit, then a named limit from the visitor's identity token, then your default limit, then the platform's 200,000 tokens per rolling 24 hours. Deleting a limit sends its contacts down that list.
What the visitor sees when limited
When a contact reaches their limit, the bot replies with the limit's Rate Limit Message, or by default “You have reached the AI usage limit. Please try again later.” It replies the same way to every later message until the window rolls on. The conversation is not handed to a person and no ticket is created, so make your message tell the visitor how else to reach you.
Separately from token limits, one visitor can hold at most 20 bot conversations per hour. A visitor who opens more gets “You've started several conversations in a short time, so I can't take on another one right now. Please try again a little later.” This cap has no setting.
Example: a daily limit for website visitors
To stop any website visitor using more than a day's fair share, follow these steps:
- Add “Website visitors” with 50,000 tokens per Day.
- Set it to apply to Default (all contacts) and switch on Default Rate Limit.
- Set the message “You've reached today's limit for the assistant. Please try again tomorrow, or email our support team.”
- Click Save.
The saved limit on the Rate Limits tab, marked as the default.
Troubleshooting
A setting will not save
- “… is a required safety category and cannot be turned off.”, “… its minimum confidence cannot be higher than “Medium and above”.” or “… its action cannot be weaker than “Escalate to a person”.”: the four required categories can only be made stricter. See their floor.
- “Prompt injection: what a detected attempt does is set under Prompt injection detection, not here.” or “Prompt injection is always checked and cannot be turned off; only its minimum confidence can be changed.”: set the action under When an attempt is detected.
- “The moderation setting could not be saved.” or “Moderation settings are unavailable right now. Try again shortly.”: try again in a minute; if it persists, contact support.
- “The topic could not be saved.” or “The category could not be saved.”: check the name (up to 255 characters), the category label (up to 100) and the description (up to 2,000). A required topic's name and category cannot be changed, and it cannot be switched off: “A required topic is always on and cannot be switched off.”
- “You have 20 categories of your own, the most a workspace can have. Delete one to add another.”: delete a category you no longer need. Switched-off categories count too.
- New category is unavailable, or a topic shows Not enforced on your plan: your plan is Starter. See Which plans include it.
The category wizard refuses an example or a test
- “An example must not contain a card, social security or bank account number; write a placeholder such as [card number]”: replace the number with a placeholder.
- “A message cannot be an example the category both applies to and does not”: remove the message from one side.
- An example over 200 characters, or a test message over 1,000, is refused; shorten it.
- “Add a bot first: suggestions and tests run on a bot's AI model.”: create a bot (see Setting Up AI), then come back.
- “No examples could be suggested right now. Write your own, or try again.” or “The test could not run.”: the bot's AI model did not answer. If your AI credits are used up, a platform-managed model cannot run until you add credits (see AI Credits & Billing). A row marked Not checked was not judged within the time allowed; run the test again.
The bot answers differently than expected
- The customer got “I'm not able to discuss that topic…”: a guardrail stopped the reply. Open Guardrail events to see which topic or category and how sure the check was; raise that topic's confidence bar or the category's minimum confidence if it caught a harmless message.
- The customer got “I'm not able to answer that right now…”: your restricted topics could not be checked on that turn, so the reply was held back. Try the message again; if it keeps happening, check the bot's AI provider on its settings.
- The bot stopped answering one visitor: they reached their token limit or the 20-conversations-per-hour cap; see What the visitor sees when limited. Check which limit applies under Who a limit applies to.
- A message you expected to be caught was answered: check the topic is switched on and enforced on your plan, and lower its confidence bar; for a moderation category, check Checked and lower its minimum confidence. A category set to Log only or Flag for a supervisor lets the bot answer by design.
- The Moderation categories, Content moderation and outage settings are missing: content moderation is not yet on in your region; the required safety checks still run on every message.
- An event you expected is not in Guardrail events: the list shows the 50 most recent, keeps them for 90 days, and leaves out conversations your team's access hides.
- “Failed to create rate limit.”: another limit already has that Name, or the name is over 100 characters.
- “Failed to load compliance events. Refresh to retry.”: refresh the page.
Related Topics
- Setting Up AI: agents, models, hand-off settings and testing.
- AI Oversight: reviewing bot conversations, flagged responses and the moderation review queue.
- Content moderation: what the safety check looks for.
- AI Credits & Billing: what AI use costs and how to control it.
- Data Retention: how long conversation data is kept.
- Audit Logs: the record of admin changes.