Phase 1: Client Discovery & Problem Decomposition · 55 min · Python · Markdown
Discovery Methodology & Stakeholder Interviews
The real problem is never the stated problem.
What you will learn
- Structure a client discovery session: stakeholder interviews, workflow observation, data audit
- Conduct stakeholder interviews that uncover the real problem vs. the stated problem
- Perform a data audit: what data exists, where it lives, what shape it's in, compliance constraints
- Document discovery findings in a structured format for downstream spec writing
Objective
What you'll learn
This lesson takes approximately 55 min. By the end, you will be able to:
- Structure a client discovery session: stakeholder interviews, workflow observation, data audit
- Conduct stakeholder interviews that uncover the real problem vs. the stated problem
- Perform a data audit: what data exists, where it lives, what shape it's in, compliance constraints
- Document discovery findings in a structured format for downstream spec writing
The Problem
The most expensive mistake in enterprise AI is building the wrong thing. Discovery is the phase where you prevent that — but most engineers treat it as a box to check. A good discovery phase takes 1-2 weeks, involves structured stakeholder interviews, and produces a problem decomposition that the entire team builds against. Skip it, and you'll spend 4-6 weeks building something the client doesn't want.
The Concept
Structuring a discovery session
Discovery has three components: stakeholder interviews, workflow observation, and data audit. You do all three in parallel during the first 3-5 days of an engagement.
Discovery session structure:
- Day 1: 2
- Activity: Stakeholder interviews
- Who
- VP Engineering
- CTO
- Lead Engineer
- 2-3 end users
- Goal: Understand the stated problem, who owns it, what they've tried, what success looks like
- Output: Interview notes with quotes, stakeholder map, initial problem hypothesis
- Day 2: 3
- Activity: Workflow observation
- Who
- End users in their actual work environment
- Goal: See how users actually work — not how they describe working. Watch them search for information, note where they get stuck, where they use workarounds
- Output: Workflow map with pain points marked, list of workarounds users have built
- Day 3: 5
- Activity: Data audit
- Who
- Data engineering team
- IT/infra team
- Security/compliance team
- Goal: What data exists, where it lives, what format, what volume, what access constraints, what compliance requirements
- Output: Data inventory spreadsheet, access requirements, compliance constraints
Stakeholder interviews: finding the real problem
The stated problem is rarely the real problem. A client says "we need a chatbot" but the real problem is "our support agents spend 40% of their time searching for information across 6 systems." The chatbot is their proposed solution — your job is to understand the problem behind it.
Interview question framework:
- Opening
- Walk me through the last time you dealt with [problem area]. What happened step by step?
- How much time per day/week do you spend on [task]?
- What's the most frustrating part of your current workflow?
- Probing
- You mentioned [X] — can you give me a specific example from last week?
- When that happens, what do you do? Walk me through your workaround.
- Who else is affected when this breaks?
- What have you tried to fix this? What worked? What didn't?
- Success criteria
- If we solved this perfectly, what would your day look like?
- What metric would tell us this is working? How would you measure it?
- What's the threshold where this becomes worth the investment?
- Constraints
- Who needs to approve this? What are they worried about?
- Are there any systems we can't touch? Any data we can't access?
- What's the timeline pressure? Is there a deadline driving this?
- Closing
- Is there anything I should have asked but didn't?
- Who else should I talk to? Can you introduce me?
- Can I observe you doing [task] for 30 minutes this week?
The Stakeholder Map
Stakeholder mapping: who matters, what they care about, how to keep them aligned:
- Decision makers
- Who
- CTO
- VP Engineering
- Care about: ROI, timeline, risk, competitive advantage
- How to align: Weekly 15-min update with Minto Pyramid structure. Lead with results.
- Influencers
- Who
- Security team
- Compliance team
- Architecture review board
- Care about: Data governance, access control, audit trails, not being blamed
- How to align: Involve early in scoping. Give them the risk register. Address their concerns before they become blockers.
- End users
- Who
- Support agents
- Engineers
- Analysts
- Care about: Does this make my job easier? Is it reliable? Is it faster than what I do now?
- How to align: Pilot with 5 users. Get weekly feedback. Build what they actually need, not what their VP thinks they need.
- Blockers
- Who
- IT ops team (if not consulted)
- Existing vendor (if being replaced)
- Care about: Not having more work dumped on them, not losing their job
- How to align: Bring them into the process early. Make them part of the solution, not part of the resistance.
The data audit
# Data audit template — fill this out for every data source
def create_data_inventory():
data_sources = []
# Example: auditing a client's document repositories
sources = [
{
"name": "SharePoint Online",
"volume": "50,000 documents",
"format": "DOCX, PDF, PPTX, XLSX",
"location": "Microsoft 365 cloud",
"access": "Azure AD, SAML SSO, department-based permissions",
"compliance": "Internal policy: legal docs restricted to Legal dept",
"quality": "Mixed — 30% have no metadata tags, 10% are duplicates",
"api": "Microsoft Graph API (REST)",
"issues": "Rate limit 10K requests/10 min. Need app registration + admin consent.",
},
{
"name": "SAP ERP",
"volume": "2M transaction records",
"format": "Structured (tables: VBAK, VBAP, KNA1)",
"location": "On-prem SAP HANA",
"access": "SAP user roles, RFC/BAPI access needed",
"compliance": "Financial data — SOX controls, audit trail required",
"quality": "Clean — SAP enforces schema",
"api": "SAP RFC SDK or OData service",
"issues": "Client's SAP team is backlogged 3 weeks for RFC access provisioning",
},
{
"name": "Shared network drive",
"volume": "200,000 files",
"format": "Mixed — PDF, DOC, TXT, images, CAD files",
"location": "On-prem file server (\\\\fileserver\\share)",
"access": "Active Directory, NTFS permissions",
"compliance": "No formal classification — risk of PII in unstructured docs",
"quality": "Poor — no naming convention, many orphaned files, no version control",
"api": "SMB/CIFS protocol, no REST API",
"issues": "Cannot access from cloud. Need on-prem agent or VPN tunnel.",
},
]
for s in sources:
data_sources.append(s)
print(f"\n{s['name']}")
print(f" Volume: {s['volume']}")
print(f" Format: {s['format']}")
print(f" Location: {s['location']}")
print(f" Access: {s['access']}")
print(f" Compliance: {s['compliance']}")
print(f" Quality: {s['quality']}")
print(f" Issues: {s['issues']}")
return data_sources
inventory = create_data_inventory()
print(f"\n\nTotal data sources audited: {len(inventory)}")
Documenting discovery findings
Discovery document template:
- Title: Discovery Report: [Client Name] — [Problem Area]
- Date: Week 1, Day 5
- Sections
- 1. Problem statement
- Stated problem: We need an AI chatbot for customer support
- Real problem: Support agents spend 40% of their time searching across SharePoint, SAP, and the shared drive for product specs, order status, and troubleshooting guides. Average resolution time is 45 minutes, with 15% of tickets requiring escalation.
- Business impact: $2.3M/year in support costs, 4.2 CSAT score (industry avg: 4.5), 12% churn rate from support dissatisfaction
- 2. Stakeholder summary
- Decision makers: CTO (approves), VP Support (sponsors), VP Eng (implements)
- End users: 45 support agents, 3 tiers (L1: 30, L2: 10, L3: 5)
- Blockers: IT ops concerned about on-prem access. Need to involve them in week 2.
- 3. Data inventory: See data audit above — 3 sources, 252K documents + 2M records
- 4. Constraints
- Security: SAML SSO required, on-prem SAP needs VPN or agent, PII scan needed for shared drive
- Compliance: SOX for financial data, internal policy for legal docs
- Timeline: VP Support wants something in production by Q3 (12 weeks)
- Budget: $200K approved for AI initiative
- 5. Success criteria
- Metric 1: Average resolution time: 45 min → <20 min for 80% of tickets
- Metric 2: CSAT score: 4.2 → 4.5+
- Metric 3: Escalation rate: 15% → <8%
- Measurement: Quarterly support metrics report, monthly CSAT survey
- 6. Initial hypothesis
- Solution direction: RAG system over SharePoint + SAP + shared drive, with access control by department
- AI components: Embedding, retrieval, reranking, answer generation
- Non AI components: SSO integration, data pipeline, monitoring, runbooks
- Risks: Shared drive quality is poor — needs cleanup before ingestion. SAP access provisioning is backlogged.
Build
Practical application
In the lab, you'll conduct a simulated discovery session for a manufacturing client. You'll interview 4 stakeholders (simulated via prompts), audit 3 data sources, observe a workflow, and produce a discovery document that feeds into the next lesson's decomposition framework.
Try it yourself: flag interview questions that chase the stated solution instead of the real problem.
solution_words = ["chatbot", "gpt", "ai model", "dashboard", "deploy ai"]
story_words = ["walk me through", "last time", "what happened", "show me"]
def classify_question(question):
q = question.lower()
if any(w in q for w in solution_words):
return "SOLUTION-CHASING — reframe around the underlying problem"
if any(w in q for w in story_words):
return "GOOD — asks for a concrete story"
return "VAGUE — asks for opinion, not workflow"
questions = [
"What LLM should we use for the chatbot?",
"Walk me through the last time a ticket got escalated.",
"What do you think about your current search experience?",
"Show me what happened the last time this broke.",
]
for q in questions:
print(f"{classify_question(q)}\n '{q}'\n")
During a stakeholder interview, the VP says "we need an AI chatbot." What's your next question?
The VP gave you their proposed solution, not the problem. Your job in discovery is to understand the problem behind the request. Asking for a specific story ("walk me through the last time...") reveals the actual workflow, the pain points, and the real problem. Only after understanding the problem can you evaluate whether a chatbot is the right solution — or whether a RAG system, an agent, or a simpler integration would be better.
This lesson is free
You've read the first 4 sections. The rest covers Key Terms & Next. A free account opens all of it, with its practice questions and its lab. No card.
Create a free account — the opening phases of 29 of 35 courses, and the first lesson of every phase, are free, no credit card.
Browse all courses · View pricing · DeVenture Academy