Bot QA
Check bot messages before delivery, catch unsupported claims and policy violations, and set up human handoffs and team alerts through Copilot.
Bot QA checks a proposed bot reply against your quality rules before it reaches the customer. It helps you catch problems such as an unsupported refund confirmation, a promise outside your policy, or a reply that misses an important instruction.
You decide what each check looks for and what happens when it finds an issue: record the finding and continue, or cancel the reply and hand the conversation to a person. You can also ask Copilot to set up alerts for your team.
Bot QA is available to every business. Automatic checks start off, so you can review the rules and test them before turning them on. Configuration is separate for each business.
When to use Bot QA
| Use case | Example check | Possible response |
|---|---|---|
| Unsupported action confirmations | The bot says a refund, cancellation or shipment change is complete, but the available action results do not support that claim. | Cancel and hand off. |
| Policy compliance | The reply offers a remedy or guarantee that contradicts your documented policy. | Cancel and hand off for important violations. |
| Sensitive product claims | The reply makes health or product claims outside the approved information you provided. | Use a focused custom check and route confirmed violations to your team. |
| Workflow compliance | A returns reply omits a required step from the returns workflow. | Apply a check specifically to that workflow. |
| Language and presentation | The reply ignores an explicit language or formatting instruction. | Record the finding and continue, then use the results to improve your instructions. |
QA is an additional review of the reply. Keep your knowledge, bot rules and workflows accurate too. A QA check can flag a claim against the approved information available to it; it cannot establish that all of your source material is correct or certify regulatory compliance.
What gets checked
QA checks replies written by the AI model. Fixed messages are not checked, because they are deterministic and there is nothing for QA to judge: web chat greetings, messages sent by your automations with send_bot_message, and other hard-coded text. These messages have no QA result and do not fire the Bot Message QA Completed event.
How it works
- The bot prepares a reply. It may already have run actions as part of handling the request.
- QA reviews the proposed message. It uses the preceding conversation, the bot's instructions, applicable workflows, available action results and the conversation's activity log. Global checks apply to every supported message. Workflow checks apply when their workflow was used, including workflows embedded in the bot's instructions.
- Potential failures receive a verification review. The review checks the same evidence before deciding whether a suspected violation is supported.
- Your configured reaction determines delivery. A confirmed violation on a check set to Cancel & hand off cancels the proposed message and hands the conversation to your team. Otherwise, delivery continues.
- Results become available for reporting and alerts. Confirmed findings include an explanation and supporting evidence. Event handlers can notify your team after the result is stored.
QA checks the message before an email's configured sending delay, rather than rechecking it when that delay expires. Turning QA on affects new messages; it does not review or retract previously sent messages.
Supported channels
| Channel | When QA runs | What Cancel & hand off does |
|---|---|---|
| Email, Instagram, Messenger | Before the reply is delivered | Cancels the reply and hands the conversation off. |
| Web chat | Right after the reply is sent | Hands the conversation off. The customer has already seen the reply. |
Web chat customers are waiting live, so QA does not hold their reply. It checks each reply in the background as soon as it is sent, including streamed replies once they finish. A confirmed violation on a check set to Cancel & hand off hands the conversation to your team, who can follow up with a correction.
QA does not currently check phone, WhatsApp or public social comments. The same channel limits apply when testing an existing message.
Checks and reactions
Octocom supplies universal checks covering instruction compliance, action confirmations, factual grounding, usable output, language and presentation. They always run, because they are how quality is measured the same way across every bot. You decide what happens with the result: choose each check's reaction and which results reach your alerts. You can also add global checks for your business or checks for a particular workflow.
The usable output check judges who a reply is written to, not only whether it reads well. A note about the customer, such as "I've sent Sean a reply explaining the two orders", is flagged even when a correct reply follows it. Replies written to the customer that mention sending or emailing them something pass.
It also flags leaked model reasoning: the bot talking to itself about its instructions, such as "Wait, I must not invent product details", "I should follow the cancellation workflow" or "Let me rewrite", or several drafts of the same reply in one message. One such sentence is enough, even when a correct reply is also there. Talking to the customer passes, including empathy ("Oh no, I'm sorry your parcel arrived damaged") and what can or can't be done ("I need to verify your email first", "I'm not able to change the address once the order has shipped").
Octocom refines how universal checks are applied for every business without changing their wording. Report a missed issue or false positive instead of recreating a universal check.
Each check has independent settings:
| Setting | Options | What it controls |
|---|---|---|
| Severity | Critical or Improvement | How a finding is classified in results. |
| Reaction | Continue or Cancel & hand off | Whether a confirmed violation can stop delivery. |
| Channels | All channels, or any of email, Instagram, Messenger and web chat | Which bot messages the check applies to. |
Use channels for rules that only make sense somewhere, such as an email sign-off or short replies on web chat. Universal checks always run on every channel. Changing a check's channels does not change its wording or revision; it applies to new messages.
Critical does not automatically mean blocked. A critical check set to Continue records the finding and lets the message proceed. Universal checks default to Continue. If several checks fail, any confirmed violation with a Cancel & hand off reaction is enough to cancel the reply.
Edit checks
You can edit the title, wording and severity of your own global and workflow checks at any time. The check keeps its key (for example G3), its settings and its history, so trend charts and alerts that filter on the key keep working. Each edit creates a new revision:
- New messages are checked against the latest wording.
- Past results keep the revision they were checked against and are not re-evaluated. Copilot can show the wording of any earlier revision.
A check's workflow scope is fixed. To check a different workflow, add a new check. Archive one of your checks only when the rule no longer applies; its past results remain available.
Universal checks are maintained by Octocom, which improves them for every business. They cannot be paused, edited or archived. If you do not want to act on one, set its reaction to Continue and leave it out of your alerts: it keeps running and nothing happens. If one flags valid replies or misses a problem, send us the cases and we will improve it. To check something different, add your own check, or duplicate a universal check as a starting point.
What cancellation does
The proposed reply is not sent, and the conversation is handed off through your normal human-support routing. QA does not automatically rewrite the reply. On web chat the reply has already been sent, so only the handoff happens; the conversation's activity log notes which checks caused it.
Actions that already ran are not undone. For example, cancelling a reply does not reverse a refund that an action has already issued. QA evaluates the message and its claims; it is not an approval step before business actions run.
A successful handoff action supports saying that a request was passed to the team. It does not support saying that a person has reviewed it, or that a refund or cancellation has completed. Those claims need their own evidence.
An activity log event can provide that evidence. If an automation records that it completed a refund, QA accepts a message confirming that refund, even though the bot did not run the action itself. The event has to exist before the reply is checked; events written afterwards cannot support it.
Limits and incomplete checks
QA uses bounded review time so it does not hold replies indefinitely. The initial check has a two-second budget. Suspected failures can require up to seven more seconds of verification.
If the initial check cannot complete, QA records a skipped attempt and delivery continues. A suspected failure that could not be verified can remain visible as an unverified finding, but it cannot cancel delivery. Other confirmed violations in the same review can still trigger their configured reaction.
Treat QA as an additional safeguard. Review real examples and tune your checks: it can miss problems or flag valid replies, and a technical failure does not automatically stop a message.
Set up with Copilot
Tell Copilot which business to configure, what you want to catch, and what should happen. Copilot can inspect the existing checks, add or edit focused checks, change reactions, test messages and turn automatic checking on or off.
For example:
Review our Bot QA checks for this business. Add a critical check for product claims that contradict our approved knowledge. Set confirmed violations to cancel the reply and hand off. Keep automatic checking off while we test.
Check whether our existing action-confirmation rule covers refunds, cancellations and shipment changes. Use it if it already covers the requirement. Test it against conversation ABC123 without changing delivery or handing anything off.
G4 flagged conversation XYZ789 although the refund was already processed by an agent. Update G4 so earlier refunds by our team count, then test it on that conversation again.
After reviewing the tests:
Turn on automatic Bot QA for this business. Keep language and presentation checks on Continue, and cancel and hand off for confirmed unsupported action confirmations.
Tests check one bot reply in the selected conversation: the latest by default, or any earlier reply you choose, such as a known bad answer from the middle of a conversation. Each is evaluated using only what came before it. They do not send messages, store QA results, trigger alerts or hand off the conversation. Tests can run while automatic checking is off.
Automate with the REST API
Everything above is also available in the REST API under Bot QA: settings, checks (including their channels) and their revisions, dry-run tests, per-conversation results and violation listings. List checks for one channel with the channel filter. Use it to keep checks in version control or to feed violations into your own reporting. Updates accept If-Match with the check's updatedAt, so an automated push cannot overwrite a newer edit.
Manage in the dashboard
Open Settings, choose your business, then Automation -> Bot QA.
- Review Checks. Universal checks are provided by Octocom. Add a check for every bot message, or select a workflow for a more specific rule. Choose its channels in the same dialog. Select a universal check to read it.
- Choose the reaction for each check. Start with Continue while assessing the results, or choose Cancel & hand off for checks you want to block on.
- Test a bot message. Select Test a message, enter a conversation ID or public ID and select Find messages. Choose the bot reply to test (the latest is preselected) and select Run test. Check the findings and whether the reply would continue or be cancelled.
- Turn on Check bot messages automatically when the checks and reactions are ready.
You can turn automatic checking off again without losing your checks or historical results. To pause one of your own checks, use its individual switch. To change the wording or severity of one of your checks, select its edit button.
In Metrics -> AI quality, review message counts and breakdowns by check for your selected businesses and date range. If you have hidden this tab in your personal Metrics layout, show it again. Ask Copilot to list individual findings with conversation links, filter to confirmed violations, or summarize recurring issues.
Get alerted
Alerts are configured separately from checks. Ask Copilot to create an event handler for Bot Message QA Completed, with your preferred destination and filters. You do not need to write the handler yourself.
The event is available for completed and skipped QA attempts. For alerts about verified problems, ask for confirmed violations only. Filtering only on the overall Critical grade can also include unverified findings.
Slack alerts
Set up a Slack alert for confirmed critical Bot QA violations for this business. Include the check name, explanation, supporting evidence and a link to the conversation. Send one notification per checked message, even if several checks fail. Ask me for the Slack destination details you need.
This works well for a shared quality or support channel. Ask Copilot to use a dedicated channel and filter out routine improvements if you want a low-volume alert feed.
Email alerts
Create an event handler that emails our support lead when Bot QA cancels a reply and hands off. Include the business, failed checks, explanations and a conversation link. Help me connect an email destination if needed.
Email alerts can use your business's configured email integration. This sends an outbound email and creates a separate handed-off conversation for it. Copilot can help configure the handler and check the required connection. Choose the recipients explicitly so QA alerts go to your team.
Other useful patterns
- Alert on one important rule: notify your compliance team only when a particular product-claims check has a confirmed violation.
- Separate urgent and routine findings: alert immediately for cancelled replies, and ask Copilot to summarize improvement findings during your regular quality review.
- Track review health: notify an owner about repeated skipped or unverified checks, separately from confirmed quality problems.
- Feed an existing process: use event handlers or webhooks to send QA results to your reporting or incident system.
Notifications run after the QA result is stored. They do not block or cancel the current reply. Set Cancel & hand off on the check itself when you want to stop delivery; an alert handler is for telling your team what happened.
Write checks that are useful
Keep each check focused on one observable issue. Describe what counts as a violation and include the exceptions your business allows.
For example:
Does the proposed reply claim that a refund or cancellation has completed without supporting execution evidence? Earlier successful actions count. Do not flag a conditional offer to help or a statement that a request has only been passed to the team. Flag an explicit failed action that the reply describes as successful.
Before enabling cancellation, test both replies that should fail and replies that should pass. Include valid exceptions, successful earlier actions, incomplete context and messages where the rule should not apply. Use findings to improve the underlying knowledge or workflow as well as the check.