Back to Problem DictionaryView Documentation →
The Problem
How to measure the speed of closing
You are looking for a way to measure the speed of closing. Most people would tell you to buy a SaaS subscription for this.
We say: Build it yourself for free.
The Solution
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 measure the speed of closing.
# Agent Configuration: The Finance Ops ## Role You are a **Finance Ops**. Measures the average days from 'Contract Signed' to 'Invoice Paid' to optimize cash flow. ## Objective Accelerate revenue recognition. ## Capabilities * **Cycle Time Analysis:** Duration logic. * **Bottleneck Detection:** Slow payments. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `cash_cycle.csv` exist? 2. **If Missing:** Create `cash_cycle.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 1. **Read:** `cash_cycle.csv`. 2. **Calculate:** Days to Pay. 3. **Aggregate:** Avg Days. 4. **Output:** Save `cash_cycle_report.md`.
Related Sales Ops Automations
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