BYU Strategy - Marriott School of Business

AI Leverage for Product Managers

Introduction

As a Product Manager, you can dramatically increase your productivity and impact by leveraging AI for technical and analytical tasks that traditionally required specialized expertise. This chapter explores practical ways PMs can use AI to build financial models, analyze data, conduct research, and automate workflows.

1. Building Financial Models with AI

Why This Matters for PMs

Financial models are critical for:

  • Building business cases for new features
  • Projecting revenue and costs for your product
  • Understanding unit economics and customer lifetime value (LTV)
  • Evaluating pricing strategies
  • Communicating ROI to stakeholders

Traditionally, PMs would need to learn complex Excel formulas, financial functions, and best practices. With AI, you can describe your model in plain language and get a working spreadsheet.

How to Use AI for Financial Modeling

You can use AI to:

  1. Generate complete financial model templates (P&L, cash flow, unit economics)
  2. Create specific formulas for metrics like CAC, LTV, churn, MRR
  3. Build scenario analysis with different assumptions
  4. Add data validation and error checking
  5. Create dashboards with charts and visualizations

Sample Prompt: Investor-Ready SaaS Financial Model

Prerequisites: Complete your Business Model Canvas (see Chapter 06) and save it as business-model-canvas.md or business-model-canvas-short.md

Please create a comprehensive Python script that generates an Excel-based financial model for a SaaS business suitable for investor presentations.

**Business Model Context:**

Read and incorporate business details from my completed Business Model Canvas file: `business-model-canvas.md` (or `business-model-canvas-short.md`)

This file contains the following sections - extract and translate these into financial assumptions:

1. **Customer Segments** → Use for customer segmentation and pricing tiers
2. **Jobs-To-Be-Done** → Inform value-based pricing strategy
3. **Customer Value Proposition** → Inform pricing strategy and positioning
4. **Channels** → Inform CAC assumptions and sales expenses by channel
5. **Customer Relationships** → Inform churn rates, retention tactics, and LTV
6. **Revenue Streams** → Inform revenue model structure and pricing tiers
7. **Key Resources** → Inform cost structure, headcount planning, and infrastructure costs
8. **Key Activities** → Inform operational expenses and R&D costs
9. **Key Partnerships** → Inform partnership costs and vendor expenses
10. **Cost Structure** → Inform major expense categories

**Core Financial Statements (5-year projection):**

- **Income Statement**: Monthly for Year 1, quarterly for Years 2-3, annually for Years 4-5
- **Cash Flow Statement**: Full period coverage with clear cash position tracking
- **Balance Sheet**: Key assets, liabilities, and equity
- **Key Metrics Dashboard**: Executive summary with critical KPIs

**SaaS-Specific Metrics & Calculations:**

- Monthly Recurring Revenue (MRR) and Annual Recurring Revenue (ARR)
- Customer Acquisition Cost (CAC) by channel
- Lifetime Value (LTV) by customer segment
- LTV:CAC ratio with target of 3:1+
- Churn rate (monthly and annual) by segment
- Net Revenue Retention (NRR) with expansion revenue
- Gross margin and contribution margin by tier
- Magic Number (sales efficiency metric)
- Rule of 40 score (growth rate + profit margin)
- Burn rate and runway (months of cash remaining)
- Months to payback CAC

**Break-Even Analysis (Critical for Investors):**

1. **Cash Flow Break-Even Date**: When monthly revenue equals monthly operating expenses
2. **EBITDA Break-Even**: When operational profitability is achieved
3. **Break-Even Customers**: Number of customers needed by pricing tier
4. **Contribution Margin Break-Even**: When gross profit covers fixed costs
5. **Unit Economics Break-Even**: When LTV exceeds CAC by 3x
6. **Visualization**: Clear chart showing path to profitability with milestone markers

**Revenue Model Assumptions:**

- Multiple pricing tiers (extract from Revenue Streams and Value Propositions)
- Customer growth projections by segment (extract from Customer Segments and Channels)
- Conversion rates from trial/freemium to paid (extract from Customer Relationships)
- Expansion revenue assumptions (upsell/cross-sell rates from Revenue Streams)
- Churn assumptions by customer segment (extract from Customer Relationships)
- Seasonal variations if applicable

**Cost Structure:**

- **Cost of Revenue**: Hosting, infrastructure, support (from Key Resources and Cost Structure)
- **Sales & Marketing**: CAC-based calculation by channel (from Channels and Cost Structure)
- **R&D Expenses**: Engineering, product development (from Key Activities and Key Resources)
- **G&A Expenses**: Admin, legal, finance (from Key Resources and Cost Structure)
- **Headcount Planning**: By department with salary assumptions (from Key Resources)

**Technical Requirements:**

- Use `openpyxl` or `xlsxwriter` for Excel generation
- Professional formatting with:
  - Distinct sheets: Assumptions, Revenue Model, Expenses, Financial Statements, Metrics Dashboard, Break-Even Analysis
  - Color-coded sections (BLUE inputs, BLACK calculations, GREEN revenue, RED costs)
  - Professional charts and visualizations for key metrics
  - Proper Excel formulas (not hard-coded values) with clear cell references
  - Data validation for input cells
  - Conditional formatting to highlight key thresholds
- Clear code documentation and comments
- Error handling for missing data in Business Model Canvas

**Investor-Ready Features:**

1. **Executive Summary Sheet**: Key highlights, headline metrics, investment ask
2. **Sensitivity Analysis**: Test impact of varying pricing, churn, CAC, and conversion rates
3. **Scenario Modeling**: Base Case, Conservative Case, Aggressive Case
4. **Cap Table Basics**: Equity allocation and dilution tracking across funding rounds
5. **Use of Funds**: Allocation of raised capital across categories
6. **Benchmarking Section**: Compare key metrics to industry standards

**Output Requirements:**

- Save Python script as `financial-model.py`
- Script should generate `saas_financial_model.xlsx` when run
- Include a README section in the script with:
  - Setup instructions (dependencies to install)
  - How to update assumptions
  - Explanation of key formulas
  - Tips for customizing to your business

**Customization Instructions:**

Make all assumptions easily adjustable in a clearly marked Assumptions sheet. Where the Business Model Canvas provides specific details, use those values. Otherwise, include reasonable placeholder values that demonstrate realistic SaaS economics (e.g., 5% monthly churn, 3:1 LTV:CAC, 40% gross margin for early-stage SaaS).

Generate complete, production-ready code with all features implemented.

What You Get

The AI will generate a complete Python script that produces an investor-ready Excel financial model including:

Python Script (financial-model.py): - Clean, well-documented code with setup instructions - Reads your Business Model Canvas to extract assumptions - Generates professional Excel workbook with proper formulas - Error handling and data validation - Easy customization through clearly marked assumptions

Excel Workbook (saas_financial_model.xlsx): - Executive Summary: One-page overview with key metrics and charts - Assumptions Sheet: All inputs in blue, easy to modify for scenarios - Revenue Model: Customer growth, MRR/ARR, expansion revenue by tier - Expense Model: Headcount planning, departmental costs, variable expenses - Financial Statements: Income Statement, Cash Flow, Balance Sheet (5 years) - Metrics Dashboard: All key SaaS metrics (LTV, CAC, NRR, Rule of 40, etc.) - Break-Even Analysis: Multiple break-even calculations with timeline visualization - Sensitivity Analysis: Data tables showing impact of key variable changes - Scenario Comparison: Base, Conservative, Aggressive cases side-by-side - Cap Table: Basic equity tracking and dilution modeling

Key Features: - Professional formatting with color-coded sections - Dynamic charts that update when assumptions change - Conditional formatting highlighting key thresholds - Proper Excel formulas (not hard-coded values) - Ready for investor presentations and board meetings

Tips for Financial Modeling with AI

  1. Complete your Business Model Canvas first: The financial model will be much more accurate and tailored when it can extract assumptions from your completed canvas
  2. Start with the comprehensive prompt then customize outputs based on your specific business model
  3. Validate AI-extracted assumptions: Review how the AI translated your Business Model Canvas into financial assumptions and adjust as needed
  4. Request explanations of complex formulas so you understand the logic behind key calculations
  5. Use sensitivity analysis to identify which assumptions have the biggest impact on your business outcomes
  6. Create multiple scenarios: Run Base, Conservative, and Aggressive cases to show investors the range of possible outcomes
  7. Iterate on assumptions: Refine the model by testing different pricing strategies, growth rates, and cost structures
  8. Spot-check calculations: Always validate key metrics (LTV, CAC, break-even) to ensure they make sense for your business
  9. Keep it updated: Re-run the script periodically as your Business Model Canvas evolves

2. Data Analysis with Python Notebooks

Why This Matters for PMs

Data analysis helps you: - Understand user behavior and product usage patterns - Identify opportunities for improvement - Validate hypotheses about features - Support product decisions with evidence - Communicate insights to stakeholders

Python notebooks (Jupyter) are the gold standard for data analysis, but they require coding knowledge. AI can write the Python code for you based on your analysis questions.

How to Use AI for Data Analysis

You can use AI to:

  1. Load and clean data from CSV, Excel, databases
  2. Perform exploratory data analysis (summary statistics, distributions)
  3. Create visualizations (charts, graphs, dashboards)
  4. Run statistical tests (correlations, significance tests)
  5. Build predictive models (regression, classification)
  6. Generate reports with insights and recommendations

Sample Prompt: User Behavior Analysis

I have a CSV file called 'user_activity.csv' with the following columns:
- user_id: unique identifier
- signup_date: when the user signed up (YYYY-MM-DD)
- feature_used: name of feature accessed
- usage_timestamp: when the feature was used (YYYY-MM-DD HH:MM:SS)
- session_duration_mins: how long the session lasted
- user_tier: 'free', 'basic', or 'premium'
- converted_to_paid: boolean (True/False)

Create a Python notebook to analyze this data and answer:

1. **User Engagement:**
   - What is the average session duration by user tier?
   - What is the distribution of sessions per user?
   - Which features are most/least used?
   - How does feature usage vary by user tier?

2. **Conversion Analysis:**
   - What is the overall conversion rate from free to paid?
   - What features do users engage with before converting?
   - How many days after signup do users typically convert?
   - Is there a correlation between session duration and conversion?

3. **Cohort Analysis:**
   - Group users by signup month
   - Calculate retention rates for each cohort at 30, 60, 90 days
   - Show cohort retention in a heatmap

4. **Visualizations:**
   - Time series of daily active users
   - Feature usage distribution (bar chart)
   - Session duration distribution by tier (box plot)
   - Conversion funnel visualization
   - Cohort retention heatmap

Include:
- Data cleaning steps (handle missing values, parse dates)
- Summary statistics for each analysis
- Clear visualizations with titles and labels
- Markdown cells explaining each section
- Actionable insights and recommendations at the end

Use pandas, matplotlib, seaborn, and any other appropriate libraries.

What You Get

The AI will generate:

  • A complete Jupyter notebook with code cells and markdown explanations
  • Data loading and cleaning code
  • Statistical analysis with proper methods
  • Professional visualizations
  • Insights summary

Tips for Data Analysis with AI

  1. Describe your data structure clearly (column names, data types)
  2. State your questions explicitly to get focused analysis
  3. Request visualizations that tell the story of your data
  4. Ask for explanations of statistical methods used
  5. Iterate on insights: follow up with deeper questions based on initial findings
  6. Request different visualization types if the first ones don’t communicate well

3. Programmatic API Usage: Competitive Research with Gemini

Why This Matters for PMs

Competitive research is time-consuming but critical for: - Understanding market positioning - Identifying feature gaps - Benchmarking pricing and go-to-market strategies - Tracking competitor product changes - Informing product roadmap decisions

Using AI APIs programmatically lets you: - Scale research: analyze dozens of competitors automatically - Standardize analysis: ask the same questions about each competitor - Track changes: re-run analysis regularly to spot trends - Generate reports: automatically create comparison tables and summaries

How to Use Google Gemini API

The Google Gemini API (https://aistudio.google.com/api-keys) allows you to programmatically send prompts and receive AI-generated responses. This is powerful for: - Batch processing multiple research questions - Dynamic prompts based on data (e.g., one prompt per competitor) - Automated report generation - Scheduled analysis runs

Getting Started with Gemini API:

  1. Get a free API key from Google AI Studio
  2. Install the SDK:
    • Python: pip install google-genai (requires Python 3.9+)

The SDK automatically reads the GEMINI_API_KEY environment variable, making authentication seamless.

Python Example: Dynamic Prompts with Gemini API

Here’s a practical example showing how to loop over dynamic prompts using the Gemini API:

import os
from google import genai
import pandas as pd

# Initialize the client
client = genai.Client(api_key='your_key_here')

# Define the analysis questions
questions = [
    "What is their primary value proposition?",
    "What is their pricing strategy?",
    "What are their top 3 competitive advantages?",
    "What market segment do they target?"
]

# Analyze competitors
competitors = ['Slack', 'Microsoft Teams', 'Discord', 'Zoom']

results = []
for competitor in competitors:
    competitor_data = {'Competitor': competitor}
    
    # Ask each question separately and store in its own column
    for question in questions:
        prompt = f"Analyze {competitor} as a business collaboration tool. {question} Provide a concise answer in 1-2 sentences."
        
        response = client.models.generate_content(
            model='gemini-2.5-flash',
            contents=prompt
        )
        
        # Use the question as the column name (cleaned up)
        column_name = question.replace('?', '').strip()
        competitor_data[column_name] = response.text.strip()
    
    results.append(competitor_data)
    print(f"Completed analysis for {competitor}")

# Create DataFrame and save to CSV
df = pd.DataFrame(results)
df.to_csv('competitor_analysis.csv', index=False)

print(f"\nAnalyzed {len(competitors)} competitors and saved to CSV")
print(f"\nDataFrame preview:")
print(df.head()

When Dynamic Prompts Are Helpful for PMs

1. Competitive Intelligence at Scale - Analyze 10-20 competitors with consistent questions - Track competitor feature releases over time - Compare pricing strategies across your competitive set - Identify common patterns in competitor positioning

2. User Research Analysis - Categorize hundreds of support tickets automatically - Analyze customer interview transcripts with consistent themes - Process NPS feedback comments to identify trends - Segment user feedback by customer type or feature area

3. Market Research - Size markets across different geographic regions - Analyze industry trends across multiple verticals - Evaluate product-market fit for different customer segments - Research regulatory requirements across countries

4. Feature Prioritization - Score multiple feature ideas using the same framework (RICE, ICE) - Analyze technical feasibility for each roadmap item - Estimate effort and impact for backlog grooming - Generate user stories for each planned feature

5. Content Generation - Create product documentation for multiple features - Generate release notes from feature lists - Write personalized customer emails based on use cases - Produce marketing copy variants for A/B testing

The key advantage: you write the prompt template once, then let the code apply it to dozens or hundreds of items, ensuring consistency while saving hours of manual work.

Sample Prompt: Competitive Analysis Automation

Create a Python script that uses the Google Gemini API to conduct competitive analysis on a list of companies and save the results to Excel.

**Setup:**
- Use the google-genai Python library (pip install google-genai) - Python 3.9+ required
- Read API key from environment variable GEMINI_API_KEY
- Use the Gemini 2.5 Flash model for fast, cost-effective analysis
- Read list of competitors from 'competitors.csv' with columns: company_name, website, product_category

**Analysis Required:**
For each competitor, use Gemini to research and extract:
1. **Product Overview**: core product offerings and positioning
2. **Target Market**: primary customer segments and industries
3. **Pricing Strategy**: pricing model (freemium, subscription, etc.) and price points if publicly available
4. **Key Features**: 5-10 main features or capabilities
5. **Go-to-Market Approach**: sales model, marketing channels, partnerships
6. **Recent Updates**: any product launches or major announcements in last 6 months
7. **Strengths**: 3 key competitive advantages
8. **Weaknesses**: 3 potential vulnerabilities or gaps

**Dynamic Prompt Template:**
Create a reusable prompt template that includes:
- The competitor company name and website
- Specific questions from the analysis requirements above
- Request for structured output (bullet points or JSON format)
- Instruction to cite sources when possible

**Output:**
- Save results to 'competitive_analysis.xlsx' with one row per competitor
- Include columns for each analysis dimension
- Add a summary sheet comparing all competitors across key dimensions
- Include timestamp of when analysis was run
- Handle API rate limits with appropriate delays
- Log any errors or failed requests

**Code Requirements:**
- Use async/await for efficient API calls
- Include error handling for API failures
- Add progress indicators for long-running analysis
- Make the script configurable (model name, temperature, max tokens)
- Include comments explaining each section

Provide complete, working code with setup instructions.

What You Get

The AI will generate: - Complete Python script with Gemini API integration - Error handling and rate limiting - Excel output with structured data - Instructions for getting API key and installing dependencies - Reusable code you can adapt for other research tasks

Advanced Use Cases for API Automation

  1. Pricing Research: Track competitor pricing changes over time
  2. Feature Comparison: Analyze feature parity across products
  3. Review Analysis: Summarize customer reviews from G2, Capterra, etc.
  4. Job Posting Analysis: Understand competitor hiring priorities
  5. Content Strategy: Analyze competitor blog topics and SEO keywords
  6. Social Media Monitoring: Track competitor announcements and engagement

Tips for API-Based Research

  1. Start small: test with 2-3 competitors before scaling to dozens
  2. Validate outputs: AI can hallucinate, so verify key facts
  3. Use structured output: request JSON or tables for easier processing
  4. Save raw responses: keep the original AI output in addition to parsed data
  5. Schedule regular runs: set up automated weekly or monthly updates
  6. Combine sources: use API results alongside manual research

4. Other High-Leverage AI Techniques for PMs

A. User Research Analysis

Use Case: Analyze customer interviews, support tickets, or feedback at scale

Prompt Template:

Analyze the following 50 customer support tickets and identify:
1. Top 5 most common issues
2. Emerging themes or patterns
3. Feature requests mentioned
4. Pain points that could be addressed with product improvements
5. Urgent bugs or blockers

Categorize each ticket and provide a summary table with counts.

B. PRD Generation

Use Case: Create product requirement documents from rough ideas

Prompt Template:

I want to build a [feature description]. Create a PRD that includes:
1. Problem statement and user needs
2. Success metrics (OKRs or KPIs)
3. User stories and acceptance criteria
4. Technical requirements and constraints
5. Dependencies and risks
6. Go-to-market considerations
7. Open questions and assumptions to validate

C. SQL Query Generation

Use Case: Query product databases without deep SQL knowledge

Prompt Template:

I have a database with tables: users, sessions, purchases, features_used.

Schema:
- users: user_id, signup_date, plan_type, industry
- sessions: session_id, user_id, start_time, end_time, device_type
- purchases: purchase_id, user_id, purchase_date, amount, product_sku
- features_used: event_id, user_id, feature_name, timestamp

Write SQL queries to answer:
1. What is the 30-day retention rate for users who signed up in January 2024?
2. What is the average revenue per user (ARPU) by industry?
3. Which features are most correlated with purchases within 7 days?

Provide the queries with explanations.

D. A/B Test Analysis

Use Case: Determine statistical significance and insights from experiments

Prompt Template:

I ran an A/B test on a new onboarding flow:
- Control: 1,000 users, 120 completed onboarding (12% conversion)
- Variant: 1,000 users, 156 completed onboarding (15.6% conversion)

1. Is this result statistically significant at 95% confidence?
2. What is the confidence interval for the lift?
3. How many more samples would I need to detect a 2% lift with 80% power?
4. Create a Python script to run this analysis and generate a report

E. Market Sizing

Use Case: Build TAM/SAM/SOM models with limited data

Prompt Template:

Help me calculate the market size for [product description] targeting [customer segment]:

Use a bottom-up approach:
1. Estimate the total number of [target companies/users] in the market
2. Calculate the serviceable addressable market (SAM) based on [criteria]
3. Estimate our serviceable obtainable market (SOM) assuming [market share %]
4. Project revenue based on pricing of [price] per [unit]

Create an Excel model with assumptions I can adjust, and show the calculations.

F. Roadmap Prioritization

Use Case: Score and rank feature ideas using frameworks like RICE

Prompt Template:

I have 15 feature ideas to prioritize using the RICE framework (Reach, Impact, Confidence, Effort).

For each feature, help me:
1. Estimate Reach (users affected per quarter)
2. Rate Impact (0.25 = minimal, 0.5 = low, 1 = medium, 2 = high, 3 = massive)
3. Assess Confidence (as a percentage)
4. Estimate Effort (person-weeks)
5. Calculate RICE score

Create a scoring spreadsheet and rank features by score. Include a visualization comparing scores.

Best Practices for AI Leverage

1. Prompt Engineering Principles

  • Be specific: vague prompts yield vague results
  • Provide context: background information improves relevance
  • Request structure: ask for tables, bullet points, or specific formats
  • Iterate: refine prompts based on initial outputs
  • Include examples: show the AI what good output looks like

2. Validation and Quality Control

  • Verify calculations: spot-check formulas and numbers
  • Cross-reference facts: confirm AI-generated research with sources
  • Test code: run generated code in a safe environment before production
  • Human judgment: use AI for analysis, but apply your PM judgment to decisions

3. Efficiency Tips

  • Build a prompt library: save effective prompts for reuse
  • Chain tasks: use output from one AI task as input to the next
  • Automate repetition: use APIs for tasks you do regularly
  • Learn from outputs: study generated code/formulas to build your understanding

4. Ethical Considerations

  • Data privacy: don’t share sensitive customer data with AI tools
  • Attribution: cite AI assistance when sharing work
  • Bias awareness: recognize that AI can perpetuate biases in data
  • Human oversight: don’t blindly trust AI outputs, verify and validate

Conclusion

AI empowers Product Managers to operate at a higher level of impact by: - Reducing dependency on specialized resources (analysts, data scientists) - Accelerating research and analysis cycles - Enabling experimentation without requiring deep technical skills - Scaling your impact through automation

The key is to think in prompts: whenever you encounter a task that seems technical or time-consuming, ask “Can I describe what I want and have AI generate it?”

Financial models, data analysis, API automation, and research are just the beginning. As AI tools improve, the gap between idea and execution continues to shrink. The Product Managers who learn to leverage AI effectively will ship faster, make better decisions, and create more value for their customers and businesses.

Exercises

  1. Business Model to Financial Model Exercise:

    • Complete your Business Model Canvas using the prompts from Chapter 06
    • Use the investor-ready SaaS financial model prompt to generate a Python script that reads your canvas
    • Run the script and review the generated Excel model
    • Customize assumptions based on your specific business
    • Perform sensitivity analysis on your top 3 riskiest assumptions
    • Create Base, Conservative, and Aggressive scenario projections
  2. Data Analysis Exercise: Export data from your product (or use sample data) and use AI to analyze user behavior patterns. Generate at least 3 actionable insights.

  3. Competitive Research Exercise: Set up the Gemini API and run competitive analysis on 5 competitors in your space. Create a comparison table in Excel.

  4. Custom Automation: Identify a repetitive task in your PM workflow and create a Python script using AI to automate it.

  5. Integrated Strategy Exercise:

    • Start with your Business Model Canvas
    • Generate the investor-ready financial model
    • Use the financial model to validate your revenue streams and cost structure assumptions
    • If the unit economics don’t work, iterate on your Business Model Canvas
    • Repeat until you have both a viable business model AND financial model that demonstrate profitability

Additional Resources