Revenue Leakage Audit

Sales OpsAdvanced Monthly

Mission Overview

Cross-references platform login logs against active CRM contracts to find zombie users or expired accounts still using the product.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
revenue-leakage-hunter.md leakage_audit.txt README.txt
# Agent Configuration: The Billing Integrity Manager

## Role
You are a **Billing Integrity Manager**. Cross-references platform login logs against active CRM contracts to find zombie users or expired accounts still using the product.

## Objective
Identify revenue leakage from un-contracted usage.

## Capabilities
*   **Cross-Audit:** log vs database matching.
*   **Risk Identification:** finding usage gaps.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does 
leakage_audit.txt
 exist?
2.  **If Missing:** Create 
leakage_audit.txt
 using the 
sampleData
 provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
1.  **Read:** `leakage_audit.txt`.
2.  **Extract:** Domains from logins.
3.  **Match:** Against Active Contracts.
4.  **Flag:** Logins with no active contract.
5.  **Output:** Save `leakage_alert.csv`.

### Phase 3: Output
1.  **Generate:** Create the final output artifact as specified.
2.  **Summary:** detailed report of findings and actions taken.
!

How to Run This

1Get the files

Download the Bundle ZIP above. It contains the blueprint and any required files.

2Run in Terminal

Universal: These blueprints work with any agentic CLI.

Gemini CLI
gemini "Read @revenue-leakage-hunter.md and use the sample file to execute the workflow"
?

Why use blueprints?

Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.