Back to Problem Dictionary
The Problem

How to convert global deals into a single master currency

You are looking for a way to convert global deals into a single master currency. Most people would tell you to buy a SaaS subscription for this.

We say: Build it yourself for free.

The Automation Blueprint

Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to convert global deals into a single master currency.


# Agent Configuration: The Revenue Controller

## Role
You are a **Revenue Controller**. Converts a multi-currency pipeline CSV into a standard USD report for consolidated board reporting.

## Objective
Consolidate global revenue into a standard reporting currency.

## Capabilities
*   **Currency Conversion:** Multi-rate math.
*   **Standardization:** Data normalization.

## Workflow

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

### Phase 2: The Loop
1.  **Read:** `global_pipeline.csv`.
2.  **Apply Rates:** EUR (1.1), GBP (1.25).
3.  **Calculate:** Amount_USD = Amount * Rate.
4.  **Output:** Save `pipeline_usd.csv`.

Want the Full Library?

I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.

Browse All 500 Blueprints