CCode Story: Insights from Startup Tech Leaders
← All frameworks
StrategyS12 Bonus

DEAL Decision Loop

Detect, explain, act, and learn from every consequential KPI movement

Difficulty
Advanced
Time to result
~months to results
Steps
6
Confidence
99%

The DEAL loop expands analytics from detection into a closed decision system. Detect identifies a movement that matters rather than surfacing every fluctuation. Explain includes a focusing stage that locates the segment responsible and then combines business, operational, and technical signals to show why the change occurred. Act converts the evidence into a safe next step, ranging from a recommendation or task to a governed operational change such as adjusting a campaign, notifying a partner, or changing payment routing. Learn observes how the team responded and whether the action improved the outcome, feeding that evidence back into subsequent decisions. The mechanism moves analytics beyond dashboards and one-off answers by repeatedly compressing the journey from business signal to trustworthy action while retaining approval controls where consequences are significant.

Origin

Extracted from Code Story: Insights from Startup Tech Leaders, where Baskar Sankara explained Bicycle AI's evolution from detecting and explaining KPI movements into a full decision loop.

Core principles

  • 01Detect only movements that materially matter
  • 02Focus attention on the segment that explains the change
  • 03Support explanations with business and operational evidence
  • 04Keep consequential actions governed and safe
  • 05Learn from the outcome of every recommendation or action

How to run it

  1. 1

    Detect what matters

    Continuously monitor revenue-critical KPIs and identify movements that exceed meaningful business and statistical thresholds.

  2. 2

    Focus the investigation

    Determine whether the movement comes from a small segment or reflects a broader business shift. Isolate the device, city, supplier, campaign, gateway, or other dimension driving it.

  3. 3

    Explain with evidence

    Investigate across business, operational, and technical data to test plausible causes. Present the strongest supported explanation and the evidence behind it.

  4. 4

    Prepare a safe action

    Translate the explanation into a recommendation, task, notification, routing change, campaign adjustment, or approval-ready decision.

  5. 5

    Observe the response

    Record what the team approved, rejected, or changed and measure the resulting KPI behavior.

  6. 6

    Learn for the next cycle

    Use action outcomes and operator feedback to improve prioritization, explanations, and future recommendations.

In the wild

Recovering a payment authorization rate

The system detects a meaningful authorization-rate decline, focuses on one geography and gateway, and explains the likely routing issue with transaction evidence. It prepares a routing-rule change for approval. After the payments team approves it, the system monitors whether authorization rates recover and incorporates the result into future routing recommendations.

→ The company moves from delayed dashboard review to a governed, measurable signal-to-action cycle.

Responding to supplier underperformance

A travel company's booking KPI falls. The system identifies one supplier as the primary contributor, combines availability and latency signals, and prepares a partner notification with supporting evidence. It then tracks whether supplier performance and bookings improve.

→ The team focuses on the relevant partner and learns whether the intervention solved the revenue problem.

Common mistakes

Treating every movement equally

A small segment and a whole-business shift demand different urgency. The focus stage must separate material signal from harmless noise.

Stopping at explanation

An explanation creates limited value if it never reaches a governed next step. Design the action path while preserving human control for consequential changes.

Forgetting the learning stage

Without tracking operator responses and business outcomes, the system repeats recommendations without becoming more useful or trustworthy.

Is it for you?

Best for

It is best for transactional businesses that repeatedly investigate revenue movements and can observe the outcomes of their responses.

Not ideal for

It is not ideal where KPIs are poorly defined, actions cannot be measured, or the system lacks permission and governance boundaries.

From the transcript

“We think about it as detect, explain, act, and learn. So we call it deal, right? So detect, explain, act and learn.”

Baskar Sankara

“Not every movement deserves the same attention.”

Baskar Sankara

“And it learns from how the team responds. If we made a decision or if we recommended an action or if we automated something, did…”

Baskar Sankara

From the episode

S12 Bonus: The Dashboard Mirage: Why Aggregate Metrics Hide Revenue Leaks and the Rise of Autonomous, Agentic Analytics with Bhaskar Sunkara, Founder & CEO of Bicycle AI

S12 Bonus

→