AI for Team and Tech Leads · 2 to 3 hours
Decide whether to build or buy an AI tool
Choose between the AI feature in your finance suite, a specialist vendor, and an in-house build: apply hard gates first, read a pilot on your own invoices, compare three-year cost on one basis, and recommend one option with contract conditions and an exit plan.
Business case
3 h
Used in interview rounds:
Leadership Scenarios (Medium)Overview
Leads are often asked to choose between the AI feature in a tool the team already uses, a specialist vendor, and an internal team's offer to build. This level teaches an order that keeps the choice honest: hard gates first, then a pilot on your own documents, then three-year cost on one basis, then contract terms and an exit plan. You practice it on a fictional fitness club chain's supplier invoices.
Study time: 2 to 3 hours
Interview format: Business case: a vendor scorecard with one challenged number and one challenged assumption
By the end you can
- Separate hard requirements from preferences, and check a suite feature, a vendor, and a build against the same gates, as offered and after a signed change
- Read a pilot on your own documents at the document level, with a bar set in advance, and say which results are not comparable
- Build a three-year cost on the same lines for every option, including internal hours at a loaded rate and the staff time to fix the tool's errors
- Find what an in-house build estimate leaves out and correct it with stated planning rules
- Turn risks into contract conditions and an exit plan, and recommend one option with its conditions, fallback, owner, and dates
Prerequisites
Helpful background: No coding needed. Comfort with percentages, unit costs, and a three-year cost table in a spreadsheet helps.
This topic covers the decisions a lead makes about a team's use of AI: which work to automate and where people stay involved, staff data rules, building or buying tools, measuring quality, cost, and return, rolling out and training, and leading the response when AI output goes wrong. Responsible AI & Governance designs oversight and accountability for one system's effect on the people it serves, AI Product & Experimentation measures user-facing features with experiments, and AI Developer Tooling covers how engineers set up and secure coding assistants and agent harnesses.
Frame the choice before comparing options
Leads are rarely asked about AI in the abstract. More often, three offers arrive at once: the AI feature in a suite the team already uses, a specialist vendor, and an internal team that offers to build. Start from the work, not the products: the outcome you need (for example, invoices posted correctly and on time with less keying), the volume, and who will use the tool.
The three kinds of option usually bring different strengths and costs:
| Option | Usually brings | Usually costs you |
|---|---|---|
| An AI feature in a suite you already use | Fast to switch on, inside the contract, sign-in, and data terms you already have | Often less specialized at the task |
| A specialist vendor | Often the strongest at the task | A new supplier, with its own terms and contract |
| An in-house build on a model API | The most control and the closest fit | Your team owns every line of work, including fixes in the busiest weeks |
A model API is a service that runs a provider's AI model on request and charges per use.
Fix the order of work before any results arrive: hard gates, then a pilot on your own documents, then three-year cost on one basis, then a weighted score, then contract terms and an exit plan. Name who decides and by when, so the comparison ends in a decision rather than a longer list.
Hard requirements are gates, not weights
A gate is a requirement the company will not trade for any price or score. An option that fails a gate is out until a written change fixes it. Five gates are common for a tool that handles company documents:
- Data region: where data is stored and processed, including any AI provider the vendor uses behind the scenes.
- No training on your data, written in the contract. An FAQ page or a sales email can change without notice and does not bind the vendor; a term in the signed contract does.
- An independent security report whose scope covers the service. One example is a SOC 2 Type II report (also written Type 2): an auditor reports whether the vendor's security controls actually worked over a period, often several months. A Type I report only checks how the controls were designed, on one date. Another example is an ISO/IEC 27001 certificate, which certifies a company's information security management system; its scope must include the service you will use.
- Single sign-on (SSO): staff sign in with the company login, so IT can remove access in one place.
- Full export and deletion: original files, extracted data, and the audit trail (the record of who changed what, and when), plus deletion when you leave.
Record each gate twice: as offered, and after a signed change. A fix that exists only in another contract tier changes the price, so price the option at that tier.
Building does not skip the gates. The model provider is an outside company that receives your data, so read its terms as you would a vendor's. As of November 2026, for example, one large provider's page says API data is not used for training by default and offers in-region processing in some regions only (see sources). The build itself must also deliver SSO, an audit trail, and export before go-live.
When a vendor processes personal data on your behalf, data protection law may require specific contract terms; in the EU, Article 28 of the GDPR lists them. Check with counsel which terms apply. Nothing here is legal advice.
Read the evidence behind a gate
Each row is evidence a vendor might send. Decide whether it meets the gate as written in the previous section. The rows are generic and are not part of the scenario below.
Predict the outcome
Read the evidence behind a gate
For each piece of evidence, decide whether it meets the gate as written, and why. Then reveal the answers.
| Evidence | Gate | Meets the gate? | Why |
|---|---|---|---|
| A SOC 2 Type I report dated last month | Security report | ? | ? |
| An ISO/IEC 27001 certificate whose scope is the vendor's office IT, not the service that processes documents | Security report | ? | ? |
| The vendor's FAQ says "we never train on your data"; the contract says nothing about training | No training | ? | ? |
| Documents are stored in the EU, but the AI feature sends them to a model provider in another region for processing | Data region | ? | ? |
| Extracted fields export as CSV at any time; original files and the change history only on request at exit, for a fee | Export and deletion | ? | ? |
| A bridge letter signed by the vendor's own security head, covering the three months since the period of its last SOC 2 Type II report ended | Security report | ? | ? |
Pilot every option on your own documents
Vendor demos use clean samples. Draw your pilot from the real mix (scans, phone photos, credit notes, multi-page bills) and add known problem cases you caught before, such as duplicates.
Keep the test fair: the same sample, the same answer key (what was actually posted), and the same scoring for every option, with a bar set before any results arrive.
Four habits keep the reading honest:
- Count at the document level. Field accuracy can be high while many documents still need a person: one wrong field means the whole document needs a fix. The share of documents needing a fix is what drives staff time.
- A document with no result is a failure, not a row to drop. Dropping it makes the tool look better than it is.
- Do not tune on the test. If someone adjusted an option while looking at the pilot documents, its results are best case until it is tested on documents it has never seen.
- Small counts are rough. With a dozen known cases, one case moves the rate by about 8 points.
Count three years of cost on one basis
Compare options over three years. One-time setup spreads out, contracts run for years, and a build's maintenance only shows up after launch.
Put every option on the same lines:
| Line | What it covers |
|---|---|
| Fees | Subscription, per-user, or platform fees |
| Usage | Per-document or per-call charges |
| Implementation | Vendor setup fees plus internal hours |
| Internal running time | Admin, vendor management, and maintenance |
| Fix time | Staff time spent fixing the tool's errors |
Price internal hours at a loaded rate: the full cost of an hour of someone's time, including salary, benefits, and overhead. That way an engineer's week counts like a vendor's invoice.
Then work out cost per document: the three-year total divided by the documents processed. It makes options with different price shapes comparable.
Two more checks. Model what a price rise at each renewal would add, and what a cap would limit it to. Leave out lines that are the same for every option, and say that you did.
What build estimates and buy estimates leave out
Every estimate leaves something out. Ask for each one on the same lines as the others, with a named owner for maintenance.
What build estimates often leave out:
- Features vendors already include: SSO, an audit trail, export, and checks against history such as duplicate detection.
- Maintenance: supplier formats change, bugs appear, and security updates and access reviews recur.
- Model migrations. Providers retire models on their own schedule, and each move means re-testing and adjusting. As of November 2026, for example, one provider's published policy promises at least 60 days' notice before it retires a publicly released model (see sources).
- On-call cover in the busiest weeks, key-person risk on a small team, and the team's other work that waits.
What buy estimates often leave out:
- Price rises at renewal, minimum terms, and long notice periods.
- Integration hours and the time it takes to manage the vendor.
- The vendor's own AI provider, and changes to it.
Building is the right call when the work sets you apart from competitors, when no vendor passes the gates, or when volume and fit justify a team that owns the tool for years.
Contract terms and an exit plan
Before signing, read six things: the minimum term; the notice period before renewal; the price-change clause (and ask for a cap); the data terms (no training, deletion at exit); notice of changes to the vendor's own subcontractors; and the export format and any fees.
An exit plan answers one question: how would we leave within the notice period? It needs:
- An export tested before signing, not only promised.
- The manual or alternative route, documented and kept working.
- An owner for the switch.
Turn each risk you found into a condition: something to sign, something to test before signing, or a trigger that lets you leave. "The vendor may change subcontractors" becomes a notice clause; "nobody has tried the export" becomes a test before signing.
The NIST AI Risk Management Framework, a voluntary US guide, makes the same point. Its GOVERN 6 category asks for policies and procedures for AI risks from third-party software and data, and for contingency processes to handle failures or incidents in third-party data or AI systems deemed high-risk.
Weighted scores come after the gates
A weighted score helps compare options that may all be chosen. It cannot rescue an option that fails a gate.
- Score only options that may be chosen, and score an option that needs a signed change at the changed price.
- Fix weights and scoring rules before the results. A common rule: the best option on a criterion scores 10, and the others score 10 times their value divided by the best (or the best divided by their value, when lower is better, as with cost or weeks).
- Do not count the same thing twice. If accuracy is already in the cost as fix time, a separate accuracy criterion counts it again.
- Check sensitivity. Would a reasonable change in the weights flip the winner? If so, say which weight decides, so the people choosing argue about the right thing.
Write the weights down with their reasons. "Cost 40% because the budget is fixed" is easier to defend than a number that appeared after the results.
Scenario: a fitness club chain's supplier invoices
Worked example
The company, its figures, the options, their terms, and every price are fictional.
Suppose you are the finance lead at a chain of 40 fitness clubs in two EU countries. Your accounts payable (AP) team of 6 people processes about 5,000 supplier invoices a month, and volume is expected to stay about flat for three years. Invoices arrive by email as PDFs, scans, and phone photos: equipment servicing, cleaning, utilities, café stock, and self-employed personal trainers and class instructors, whose invoices carry their names, home addresses, bank details, and tax numbers. Staff key in 8 fields per invoice (supplier, invoice number, invoice date, net amount, VAT, total, club cost center, purchase order number) and check for duplicates before each payment run.
The CFO wants invoice capture automated and asks you for one recommendation. Three options are on the table:
- Option A: the AI invoice-capture add-on in the finance suite the team already uses.
- Option B: a specialist invoice-capture vendor.
- Option C: an in-house build by the 3-person internal tools team on Provider M's model API (a service that runs Provider M's AI model on request and charges per use).
The company's gates. The CFO set them with IT security and counsel. An option that fails a gate cannot be chosen until a signed change fixes it. Every outside company that receives invoice data must meet G1, G2, and G3. Whichever tool the AP team uses, bought or built, must deliver G4 and G5. Anything built in-house must also pass the company's security review before go-live.
| Gate | Requirement |
|---|---|
| G1 Data region | Invoice data is stored and processed in the EU |
| G2 No training | The contract states that the company's documents and data are not used to train or improve the provider's models |
| G3 Security report | A current SOC 2 Type II report or ISO/IEC 27001 certificate whose scope covers the service used |
| G4 Single sign-on | Staff sign in with the company's single sign-on |
| G5 Export and deletion | Full export of original files, extracted data, and the audit trail at any time, and deletion at exit |
What each option offers.
| Gate | Option A: suite add-on | Option B: specialist vendor, standard contract | Option C: in-house build, the team's plan |
|---|---|---|---|
| G1 | EU data centers, same as the suite; the add-on's AI runs in the same region | EU processing on all plans, on the vendor's own models | Provider M's EU processing option, which the team plans to use |
| G2 | The suite's AI terms, part of the contract: customer data is not used for training | Standard terms let the vendor use customer documents to improve its extraction models. A no-training data addendum is available only with the enterprise per-invoice price | Provider M's API business terms (the contract for API use): API data is not used for training |
| G3 | Current SOC 2 Type II report whose scope includes the AI add-on | ISO/IEC 27001 certificate and SOC 2 Type II report, both covering the extraction service | Provider M: current SOC 2 Type II report covering its API. The app: company security review planned before go-live |
| G4 | Suite single sign-on | Single sign-on on all plans | Not in the prototype; "can be added later if needed" |
| G5 | The suite's standard export of files, data, and audit trail; deletion at exit | Export of originals, extracted data, and audit log at any time; deletion within 30 days of exit | Not in the prototype (no audit trail, no export); "can be added later if needed" |
Contract terms.
| Term | Option A | Option B | Option C |
|---|---|---|---|
| Length and notice | Annual, with the suite; the add-on can be cancelled at renewal with 30 days' notice | 36-month minimum term; 180 days' notice before renewal | No contract beyond Provider M's pay-as-you-go terms |
| Price changes | At each renewal, no cap | At each contract anniversary, no cap. The vendor raised list prices 15% at its last annual review | Provider M may change prices and retire models; it gives notice before retiring a model |
Pilot results, cost inputs, and planning rules
Worked example
Own-data pilot. 400 invoices from last quarter, drawn across all 40 clubs. The sample includes 60 phone photos from trainers, 40 credit notes, and 12 known duplicates (invoices the AP team caught as resent last quarter; each original is also in the sample). Every option ran on the same 400 invoices. An AP specialist checked the 8 fields on each invoice against what was posted: 3,200 fields per option. An invoice needs a manual fix if any field is wrong or missing. An invoice with no result counts as needing a fix, with all 8 of its fields wrong.
| Option | Wrong or missing fields (of 3,200) | Invoices needing a fix (of 400) | Known duplicates flagged (of 12) | Note |
|---|---|---|---|---|
| A | 112 | 72 | 6 | |
| B | 48 | 24 | 12 | Includes 3 password-protected PDFs that returned no result |
| C (prototype) | 64 | 48 | 9 | The team built the prototype in the same two weeks, adjusting its prompts on these 400 invoices |
Pilot bar, set before the pilot: at most 20% of invoices need a fix, and at least 6 of the 12 known duplicates are flagged.
Cost inputs. All prices are fictional. Three years = 36 months; 5,000 invoices a month = 180,000 invoices.
| Line | Option A | Option B | Option C, the team's estimate |
|---|---|---|---|
| Fee | €37.80 per user per month, 6 users | Platform fee €690 per month | Hosting €85 per month |
| Usage | Included | €0.083 per invoice (standard); €0.107 per invoice with the no-training data addendum (enterprise price) | Model usage €0.0137 per invoice at today's price |
| Implementation | 40 internal tools hours | Onboarding fee €4,750 plus 80 internal tools hours | Build: 320 hours (two engineers at half time, 40 hours a week combined) |
| Internal running time | 2 hours a month | 4 hours a month | Maintenance: 4 hours a month |
| Time to go live | 3 weeks | 6 weeks | 8 weeks |
Loaded rates (the full cost of an hour, including benefits and overhead): AP staff €46 an hour; internal tools engineers €95 an hour. All internal hours in the table are engineer hours.
Cost rules. Count the same lines for every option over 36 months: fees and usage, implementation, internal running time, and AP time to fix invoices. AP fix time per month = the option's pilot fix rate × 5,000 invoices × 5 minutes, at the AP rate. The one-minute check every invoice gets is the same for every option and is left out. Training time is similar across options and is left out.
Planning rules for in-house tools (company policy; the team's estimate did not apply them):
- P1: Gate features are part of the build. Asked to size SSO, the audit trail, full export, and a duplicate check against 24 months of past invoices, the team estimated 160 more hours, at the same 40 hours a week.
- P2: Maintenance is 25% of total build hours per year.
- P3: Plan one model migration a year (Provider M retires models on its own schedule), 30 hours each, including a re-test on a fresh invoice sample.
- P4: Plan model usage at twice today's per-invoice price, to cover a successor model priced differently and re-runs.
Scoring (weights fixed before the pilot): three-year total cost 50%, duplicate flag rate 30%, time to go live 20%. On each criterion the best option scores 10; the others score 10 × lowest cost ÷ their cost, 10 × their duplicate rate ÷ best rate, and 10 × fastest weeks ÷ their weeks. Score only options that may be chosen. Show criterion scores to two decimals and the weighted total to one decimal.
Check the options against the gates
Use the scenario and the pilot results.
Predict the outcome
Check the options against the gates
Use the scenario and the pilot results. For each row, decide which gates it fails as described, whether it meets the pilot bar, and whether it may be scored. Then reveal the answers.
| Option | Gates failed | Pilot bar | May be scored? |
|---|---|---|---|
| Option A, suite add-on | ? | ? | ? |
| Option B, standard contract | ? | ? | ? |
| Option B with the no-training data addendum | ? | ? | ? |
| Option C as the team scoped it (320 hours) | ? | ? | ? |
| Option C with the P1 gate features | ? | ? | ? |
Work the three-year cost and the scores
Use the cost inputs, cost rules, planning rules, and scoring rules.
Predict the outcome
Work the three-year cost and the scores
Use the cost inputs, cost rules, planning rules, and scoring rules. For each row, compute the three-year lines, the total, and the cost per invoice over 180,000 invoices (three decimals). The price-rise row is a risk check of the same option: raise all of its fees and usage by 15% at the start of year 2 and again at the start of year 3 (year 3 prices are 15% above year 2 prices). Then give the weighted score for each row that may be scored, or say why the row is not scored. Reveal the answers when you are done.
| Option and basis | Fees and usage | Implementation | Internal time | AP fix time | Three-year total | Per invoice | Weighted score |
|---|---|---|---|---|---|---|---|
| Option A | ? | ? | ? | ? | ? | ? | ? |
| Option B, standard contract | ? | ? | ? | ? | ? | ? | ? |
| Option B with the no-training addendum | ? | ? | ? | ? | ? | ? | ? |
| Option B with the addendum, fees and usage up 15% at each anniversary | ? | ? | ? | ? | ? | ? | ? |
| Option C, the team's lines only | ? | ? | ? | ? | ? | ? | ? |
| Option C, the team's lines plus AP fix time | ? | ? | ? | ? | ? | ? | ? |
| Option C corrected with P1 to P4, plus AP fix time | ? | ? | ? | ? | ? | ? | ? |
Review the internal tools team's estimate
Diagnose
Review the internal tools team's estimate
The internal tools team sent this note with its offer (summarized). Use the cost rules and planning rules in the cost inputs.
- "We built the prototype in two weeks, adjusting its prompts on the 400 pilot invoices until the results looked good."
- "Build: 320 hours, two of us at half time, so it is live in 8 weeks."
- "Model usage at today's price is €0.0137 per invoice, €68.50 a month."
- "Hosting is €85 a month, and maintenance about 4 hours a month."
- "SSO, the audit trail, full export, and checking duplicates against past invoices can be added later if needed."
- "Because we own it, there is no lock-in and no price increases, and over three years it costs far less than paying a vendor."
- List what the estimate leaves out or understates, and size each item in euros over three years.
- Say whether the prototype's pilot results can be compared with Options A and B, and what evidence you would ask for.
- Judge claim 6, then write two or three sentences to the internal tools team explaining how their offer was assessed.
Completion checklist
- I can check each option against hard gates, as offered and after a signed change, before any scoring.
- I can read an own-data pilot at the document level and say which results are not comparable.
- I can build a three-year cost on the same lines for a suite feature, a vendor, and a build.
- I can correct an in-house estimate with planning rules and explain the correction to the team that wrote it.
- I can turn risks into contract conditions, an exit plan, and a fallback.
Sources
- Microsoft Learn: System and Organization Controls (SOC) 2 Type 2 As of November 2026, explains that SOC reports are internal control reports that help customers assess the risk of an outsourced service; a Type 2 report evaluates whether controls were designed appropriately and operated effectively over a specified period, while a Type 1 audit does not look back over a period; bridge letters are the provider's own attestations, not auditor reports; and reports name the services in scope. Cited for how SOC 2 reports work, not as an endorsement.
- AICPA & CIMA: System and Organization Controls (SOC) suite of services SOC engagements are performed by CPAs and give users information to assess and address the risks of outsourcing services.
- NIST AI RMF Core (AI 100-1, Section 5) GOVERN 6: policies and procedures address AI risks and benefits arising from third-party software and data (6.1 covers third-party entities), and contingency processes handle failures or incidents in third-party data or AI systems deemed high-risk (6.2). A voluntary framework; NIST notes it is being revised as of November 2026.
- Regulation (EU) 2016/679 (GDPR), EUR-Lex Article 28 sets the contract terms between a controller and a processor, including processing only on documented instructions, written authorization for other processors and notice of changes to them, deletion or return of personal data at the end of the services, and information for audits. Context only; the scenario sends these questions to counsel.
- Claude API: Model deprecations As of November 2026, one provider's example of model retirement: lifecycle stages from active to retired, at least 60 days' notice before retiring a publicly released model, and advice to test replacement models before the retirement date. Cited for the general pattern; Provider M is fictional.
- OpenAI API: Data controls in the OpenAI platform As of November 2026, one provider's example of model API data terms: API data is not used to train models by default unless the customer opts in, abuse-monitoring logs are kept for a limited period by default, and in-region processing is available in some regions only. Cited for the general pattern; Provider M's terms are fictional.
The club chain, its invoices, Options A to C, Provider M, the gates, contract terms, prices, loaded rates, planning rules, pilot results, weights, thresholds, and rubric are original synthetic teaching material about a fictional company. All prices are fictional and match no real product's list price. Vendor and provider terms follow common patterns and are not any one company's terms. The planning rules and the five-minute fix time are company rules in the scenario, not industry benchmarks. Nothing here is legal advice; data protection and contract questions go to counsel. Study times and readiness thresholds are editorial estimates. Provider and product details are as of November 2026.
Related on CodeSnatch
Lessons, problems, and articles that build the skills this question uses.
Behavioral Interview
Explicit criteria and a worked build versus buy prompt, so you can tell this kind of decision as an interview story.
Community article
A design doc structure built around options considered and one recommendation, a fit for the memo to the CFO.
AI Engineering
For tech leads: the same choice one layer down, a hosted model or your own, judged on quality gates, cost, and exit.
AI Engineering
For tech leads: scoring with named denominators and missing results kept in the totals, as a fair pilot needs.
Practice the interview question
Answer it in your own words before you look at the reference answer.
