Skip to content
/ POST · CHAT AGENTS

AI Incident Response Plan: A Canadian Template for Chatbots

A 5-level AI incident response template for chatbots, plus PIPEDA's rule: report real risk of significant harm as soon as feasible, keep records 24 months.

Author · HarryNovember 15, 202610 min read

An AI incident response plan for a chatbot sorts failures into 5 levels, from a wrong answer to a data leak, and names who switches the bot off and who reports. SwiftBiz's template follows PIPEDA: report a breach with a real risk of significant harm as soon as feasible, and keep every breach record 24 months.

We wrote it from the federal statute, its breach regulations and the Privacy Commissioner's guidance, and checked it against our own website chat's fallback code. Below: what counts as an AI incident, what the law requires when data leaks, and six steps with a copy-paste runbook.

What counts as an AI incident for a chatbot?

An AI incident is any time your chatbot says or does something that could hurt a customer, your business or someone's privacy. Most are not privacy breaches. PIPEDA defines a breach of security safeguards as "the loss of, unauthorized access to or unauthorized disclosure of personal information" resulting from a failure of your safeguards. A bot quoting last year's price is a quality problem. A bot showing one customer another customer's order is a possible breach.

That split decides everything after it, so the template starts with five levels:

LevelIncidentChatbot exampleBot statusPrivacy test?
1Data exposureShows another customer's details, or a prompt injection pulls records it should not reachOff nowYes: run the real-risk-of-significant-harm test
2Unauthorized actionBooks, cancels, refunds or emails without the customer askingActions off now; answers may stay onRun it if personal information was lost, accessed or disclosed
3Harmful answerUnsafe advice, abuse, discrimination, or a promise your policy does not makeTopic or bot off within the hourRun it if personal information was exposed
4Wrong answerWrong hours, wrong price, outdated policyStays on; fix the source the same dayNo
5OutageModel or provider down, bot silent or erroringFallback message onNo

Level 3 matters more than it looks: a Canadian tribunal held Air Canada responsible for what its chatbot told a customer, as our chatbot liability guide explains. Level 5 is a technical problem; our AI workflow error handling guide covers retries, second models and the holding message.

Want a second pair of eyes on your bot's failure paths? An AI Readiness Audit maps every AI step and what happens when it fails, for $3,500 (all SwiftBiz prices are in CAD), credited toward your retainer.

What does Canadian law require when a chatbot leaks personal data?

Under PIPEDA, the trigger is a real risk of significant harm, and the clock is "as soon as feasible", not a fixed number of hours. Section by section:

  • Report to the Commissioner. Section 10.1(1) requires a report of "any breach of security safeguards involving personal information under its control if it is reasonable in the circumstances to believe that the breach creates a real risk of significant harm to an individual." Section 10.1(2) says the report goes in "as soon as feasible after the organization determines that the breach has occurred."
  • Notify the people affected. Section 10.1(3) requires notice to each individual under the same test, and 10.1(6) applies the same "as soon as feasible" timing.
  • What "significant harm" means. Section 10.1(7) includes humiliation, damage to reputation, financial loss, identity theft and effects on the credit record, among others. Section 10.1(8) lists the factors, including how sensitive the information is and the probability it has been, is being or will be misused.
  • Tell anyone who can reduce the harm. Section 10.2 adds that when you notify individuals, you also notify any organization or government institution you believe may be able to reduce or mitigate the harm, for example a bank.
  • Record every breach, reportable or not. Section 10.3 requires a record of "every breach of security safeguards", and the Commissioner can ask for it. The Breach of Security Safeguards Regulations, section 6, set the period: 24 months after the day you determine the breach occurred.
  • The penalty. Knowingly failing to report, notify or keep records is an offence under section 28, with fines up to $10,000 on summary conviction or $100,000 on indictment.

The Office of the Privacy Commissioner's breach reporting page links the online PIPEDA breach report form. Our PIPEDA-compliant AI automation guide covers the rest of PIPEDA for AI tools.

The 72-hour deadline is EU law, not Canadian law. Templates written for European readers quote it. It comes from Article 33 of the GDPR, which asks for notice "without undue delay and, where feasible, not later than 72 hours" after becoming aware of a breach. It applies only where the GDPR applies to your processing; ask counsel if you serve customers in the EU.

Provincial and sector rules apply in place of PIPEDA or alongside it, depending on where you operate and what you do. Alberta, British Columbia and Quebec have their own private-sector privacy laws, which generally govern how a business handles personal information inside the province, while PIPEDA still covers information that crosses provincial or national borders and federally regulated businesses. Ask counsel which regime covers you:

  • Alberta: PIPA section 34.1 requires notice to the Commissioner "without unreasonable delay" where "a reasonable person would consider that there exists a real risk of significant harm."
  • Quebec: under section 3.5 of the private sector act, a confidentiality incident that "presents a risk of serious injury" must be reported promptly to the Commission d'accès à l'information and the people concerned, and section 3.8 requires a register of all confidentiality incidents.
  • Ontario health custodians: PHIPA section 12(2) requires notice to the individual "at the first reasonable opportunity" of any theft, loss or unauthorized use or disclosure, subject to any prescribed exceptions and with no harm threshold in the section, and section 12(3) adds notice to the Commissioner where the prescribed requirements are met.
  • Federally regulated financial institutions: OSFI's incident reporting advisory asks them to report a technology or cyber security incident that meets its reporting criteria "within 24 hours, or sooner if possible." OSFI's July 2026 AI bulletin also tells institutions to "develop and test AI-focused incident response playbooks" and to "test AI failure and outage scenarios and establish manual fallbacks."

What do you need before you start?

  • An incident lead, usually the owner, and a bot operator who can switch the bot off, each with a backup.
  • A privacy officer: whoever answers privacy questions in your business.
  • Conversation logs you can open. Ask your vendor how long it keeps transcripts and how to export them, before you need them.
  • A breach register. A spreadsheet is fine; use the one you keep for other breaches.

Step 1: Who does what in an AI incident?

Write four roles on one page, with names and phone numbers, and give a backup for each:

RoleDoesIn a 5-person business
Incident leadSets the level, makes the calls, closes the incidentOwner
Bot operatorSwitches the bot or its actions off, pulls the logs, deploys the fixDeveloper or agency
Privacy officerRuns the harm test, drafts any report and notices, updates the registerOwner or office manager
Customer contactAnswers the affected customer, posts any public noticeOwner or front desk

One person can hold two roles, but the bot operator should not be the one who decides the bot is safe again.

Step 2: How do you switch a chatbot off fast?

Build three switches, smallest first, and test each before launch:

  1. Actions off. The bot keeps answering questions but can no longer book, refund, cancel or send. This is your Level 2 switch.
  2. Static fallback. Every message gets one fixed reply with your phone number and email. This keeps the widget visible without the model saying anything.
  3. Widget off. The chat disappears from the site. This is your Level 1 switch.

Revoking the model API key also works, but it breaks every workflow that shares the key: last resort only.

Time each switch. An environment variable on Vercel is not instant: Vercel's documentation says changes "only apply to new deployments", so that off switch includes a redeploy. A bot that takes actions or sees customer records needs a switch that works without a deploy. For outages, a canned reply is the minimum: when the model fails, our own site chat sends "I'm having trouble right now. You can reach us directly at harry@swiftbiz.ai or book a call."

Step 3: What happens in the first hour?

Copy this runbook into your incident document and fill in the brackets:

AI INCIDENT RUNBOOK: FIRST HOUR
Bot: [bot name and URL]   Incident lead: [name, phone]   Backup: [name, phone]
 
0-10 min   Whoever spots it tells the incident lead. Screenshot the conversation.
           Write down the time you noticed: [time].
10-20 min  Incident lead sets the level (1 to 5).
           Level 1: bot operator turns the widget off.
           Level 2: bot operator turns actions off.
           Level 3: pull the topic, or the bot if you cannot.
           Level 4-5: bot stays on; fallback message on for level 5.
20-40 min  Bot operator exports the logs for [time window] before anything
           changes. Do not delete or edit conversations.
40-60 min  Level 1, or any level where personal information was exposed:
           privacy officer opens the breach register entry and starts
           the harm assessment. Customer contact holds any
           customer-facing reply until the facts are clear.
           All levels: log every action with the time and who did it.

Contain first, preserve logs second, fix third.

Step 4: What happens in the first day?

Assess, fix, retest, notify.

  • Level 1: run the harm test. Use the section 10.1(8) factors: how sensitive the exposed information is, and how likely it is to be misused. Write down your reasoning, whatever you decide. If there is a real risk of significant harm, the report and the notices go out as soon as feasible; the regulations accept direct notice in person, by phone, mail or email. Call your lawyer before you decide.
  • Level 2: undo the action. Cancel the booking, reverse the refund, send a correction. If the action disclosed anyone's personal information, it is also a Level 1.
  • Level 3 and 4: fix the source. Correct the knowledge base page, tighten the system prompt or remove the tool.
  • All levels: retest before turning anything back on. Re-run your launch test set plus a new case that reproduces this incident. Our 9-gate chatbot test is the suite we recommend; gate 9, regression, is the one that catches a fix that breaks something else.

Step 5: What should you log during an AI incident?

Log enough that someone who was not there can rebuild what happened; the regulations require records that let the Commissioner verify you followed the rules.

FieldWhy
Time noticed, time contained, time resolvedShows "as soon as feasible" with dates, not memory
Conversation transcript and session IDThe evidence
Model name and version, system prompt version, knowledge base versionTells you whether a change caused it
Tool calls, with inputs and resultsShows exactly what a Level 2 action did
Personal information involved and number of peopleNeeded for the harm test and any report
Harm test decision and the reasoningRequired whether or not you report
Reports and notices sent, to whom, on what dateProof of compliance
Who switched what off, and whenTests the plan itself

Keep breach records for at least 24 months. Alerts that catch incidents early are covered in step 5 of the error handling guide and step 7 of the testing guide.

Step 6: How do you run the post-incident review?

Hold a blameless 30-minute review within a week:

POST-INCIDENT REVIEW
Incident: [ID]   Level: [1-5]   Date: [date]   Attendees: [names]
 
1. What happened, in three sentences?
2. How did we find out, and how long after it started?
3. How long did each switch take, against our target of [minutes]?
4. What one change stops this class of incident? Owner: [name], due: [date].
5. Which test case did we add, and does it pass?

File the review with the register entry.

How do you know the plan works?

Run a tabletop drill before launch and every quarter: pick a level, start a timer and walk through the runbook with the real people. It passes when each switch works and is timed, the bot operator can export last week's conversations in under 15 minutes, and everyone on the role sheet answers the number next to their name.

When is a full AI incident plan not worth it?

  • An FAQ bot with no personal data and no actions needs only Levels 3 to 5 and the static fallback.
  • A bot your vendor fully hosts limits what you can switch off. Ask before you sign how fast they can disable it and how you get the logs.
  • A regulated firm (bank, insurer, clinic, law firm) should treat this template as a starting point. OSFI's 24-hour rule, PHIPA and professional rules add steps that a lawyer or compliance lead must fit in.
Is a chatbot giving a wrong answer a privacy breach in Canada?
Usually not. PIPEDA defines a breach of security safeguards as the loss of, unauthorized access to or unauthorized disclosure of personal information. A wrong price or a made-up policy is a quality and liability problem: fix the source and retest. It becomes a possible breach only if the answer exposes someone's personal information, for example another customer's order details.
How fast do I have to report a chatbot data breach in Canada?
PIPEDA sets no fixed number of hours. Section 10.1 says to report to the Privacy Commissioner, and notify affected people, as soon as feasible after you determine the breach occurred, if it creates a real risk of significant harm. The 72-hour deadline comes from the EU's GDPR. Federally regulated financial institutions also have OSFI's 24-hour incident reporting expectation.
Do I have to record a breach that I decide not to report?
Yes. PIPEDA section 10.3 requires a record of every breach of security safeguards involving personal information, and the breach regulations require you to keep it for 24 months after you determine the breach occurred. Write down why you concluded there was no real risk of significant harm. The Commissioner can ask to see the record.
Who should be able to switch our chatbot off?
At least two people: whoever operates the bot, usually your developer or agency, and a backup with the same access. The incident lead decides when to switch it off and when it comes back. Test the switch before launch and time it, because some switches, such as an environment variable on Vercel, take a redeploy.
Can SwiftBiz decide whether our incident must be reported?
No. That is a legal judgment for your privacy officer and lawyer. SwiftBiz builds and tests the technical side: the off switches, the logging, the fallback message and the retest. A red-teaming or safety audit, which tries to make the bot fail before customers do, is $5,000 CAD per engagement.

Which version of this plan should you adopt?

  • FAQ bot, no personal data, no actions: use the five levels, the static fallback and the post-incident review.
  • Bot that sees customer records: add the full first-hour runbook, the logging table and a named privacy officer before launch.
  • Bot that books, refunds or sends: add the actions-off switch and drill it before launch.
  • Federally regulated, Alberta, Quebec or Ontario health: build from this template, then have counsel add the OSFI, provincial or PHIPA steps.
  • Want the switches and logs built in from day one: see how we build AI chat agents, or start with an AI Readiness Audit.

Written by Harry, Founder & Lead AI Engineer at SwiftBiz. Federal, Alberta, Quebec and Ontario statutes, the OPC, OSFI, GDPR and Vercel pages were read on November 15, 2026.

Want this running for your business?

Start with a free strategy call. We'll map your workflow, flag the highest-ROI automation, and tell you honestly whether we're the right fit.