Workflow #3

Workflow Deep Dive - Data Insights with CoPilot Excel Analysis

Multi-Model AI Transforms Data Analysis with RAG-Powered Insights

Use the Know, Decide, Act Decision Engine to drive business performance

When to Use

Financial forecasting and trend analysis

Customer behavior analysis

Operational efficiency metrics

Executive dashboard creation

How It Works

1

Upload data to Excel with CoPilot enabled

2

Ask analytical questions in natural language

3

AI generates formulas, pivot tables, visualizations

4

AI provides narrative insights and recommendations

5

Human validates and contextualizes findings

Example Prompt Flow

This is an excellent evolution. This approach makes the AI an active partner in the analysis, forcing it to first understand the data's structure before analyzing it. Here is a 5-prompt sequence designed to be as generic as possible, where the AI first learns from the dataset's schema and then performs the analysis based on what it finds.

1

Schema & Quality Prompt

The "What data do we have?"

Persona: You are an autonomous data-profiling engine. Your first job is to ingest an unknown dataset, map its structure, and identify any potential quality issues that would prevent analysis.

Task: Ingest the attached dataset ([dataset_filename]). Profile its structure, infer data types, and then perform a comprehensive data quality assessment.

Context: Your first priority is to understand the data's schema (column names, data types, % of unique values, % of missing values). After profiling, use this understanding to automatically detect critical issues like:
- Columns with high percentages of missing values.
- Columns with mixed data types or inconsistent formatting.
- Categorical columns with extremely high-cardinality (too many unique values) that might be errors.
- Obvious outliers in numerical columns.

Format: Data Schema Profile: A table (Column Name, Inferred Data Type, % Missing, % Unique). Data Quality Report: A bulleted list of the top 5 most critical quality issues found and your recommended cleaning actions for each.
2

"Know" Insights Prompt

The "What does this data say?"

Persona: You are an autonomous senior Business Intelligence Analyst. Your job is to find the most important, high-level business insights from a clean dataset, even if you have no prior context.

Task: Analyze the clean dataset and automatically generate the most critical business insights a manager would want to see.

Context: You must infer the key columns to analyze based on the schema from the previous step.
- Infer Metrics: Identify columns that appear to be numerical KPIs (e.g., revenue, cost, score, duration, quantity).
- Infer Time: Identify any timestamp or date columns to analyze trends.
- Infer Segments: Identify key categorical columns for grouping (e.g., region, product_category, department, status).

Using these inferred columns, generate the top insights related to performance, period-over-period trends, and variations across key segments.

Format: Create a dashboard-style report. For the top 5 most significant insights you discover, provide:
- The Insight: A clear, one-sentence finding.
- The Evidence: A brief description of the data supporting it (e.g., "The 'East' region, found in the Region column, had 50% higher Sales than all other regions combined.")
- Suggested Visualization: (e.g., "Bar Chart," "Line Chart").
3

"Decide" Prompt

The "So what?"

Persona: You are a Business Strategist. Your role is to contextualize data-driven insights by comparing them against the human-provided business objectives.

Task: Take the list of key insights from the "Know" report and compare them against our business goals and known external factors to find the "so what."

Context: Data insights are only useful in context. Here is the context you must use:
- Key Insights: [Paste the key insights from the 'Know' report here]
- Business Goals: [Enter business goals for this period, e.g., 'Target was +10% growth in new users', 'We wanted to reduce costs by 5%', 'Our goal was to improve engagement in the EMEA region']
- External Factors: [Enter any relevant market/competitor info, e.g., 'A main competitor ran a major promotion', 'New regulations were introduced', 'It was a holiday season']

Format:
- Goal vs. Reality: A summary (bullet points or table) that directly compares each Goal with the Actual Insight and highlights the Variance (e.g., "Success," "Failure," "On-Track").
- Strategic Conclusions: A 3-5 bullet point summary answering:
  - Where are we winning or losing against our stated goals?
  - What external factors most likely influenced these results?
4

"Act" Playbook Prompt

The "Now what?"

Persona: You are a Director of Operations (or relevant department head). Your job is to translate strategic analysis into a concrete action plan for your teams.

Task: Create a high-level "Act Playbook" based on the strategic conclusions from the "Decide" report.

Context: The previous analysis identified key strategic advantages (successes) and strategic gaps (failures/underperformance). Your playbook must propose actions to capitalize on the advantages and address the gaps.

Format: Structure the response as a playbook with three distinct sections:
- Amplify (Our Advantages): 2-3 specific, recommended actions to leverage the identified successes.
- Address (Our Gaps): 2-3 specific, recommended actions to correct or improve upon the identified gaps or failures.
- Investigate (Our Unknowns): 1-2 actions to explore the root cause of any critical anomalies or threats that remain unexplained.
5

Additional Questions Prompt

The "Why did that happen?"

Persona: You are a highly curious and autonomous data investigator.

Task: Review the initial "Know" (Automated Insights) report you generated. Identify the single most unexpected, anomalous, or surprising insight from that list.

Context: Once you've identified the key anomaly (e.g., a sudden spike, a dramatic drop, a completely unexpected top performer), your goal is to drill down into the raw data to form a hypothesis about its root cause. Look for correlations with other columns or specific data points that stand out.

Format:
- Selected Anomaly: State the anomaly you are investigating.
- Root Cause Hypothesis: "My analysis suggests this anomaly was caused by..."
- Supporting Evidence: 3-5 bullet points of data-backed evidence (e.g., "90% of the decline is tied to a single ID," "This spike correlates perfectly with a 'holiday' data flag").
- Next Question: Propose one testable, "human" question to verify your hypothesis (e.g., "Can the sales team confirm if this customer's contract changed?").

Agent Actions

Generates pivot tables for product performance

Creates trend line charts for MoM growth

Builds regional comparison maps

Calculates customer LTV by segment

Identifies declining products with statistical significance

Produces executive summary with recommendations

Human Oversight

Validates data quality and completeness

Adds market context and competitive factors

Refines recommendations based on company strategy

Ensures insights align with business objectives

Outcome

Comprehensive data analysis with actionable insights delivered in minutes, enabling faster decision-making and more frequent performance reviews.