Back to Problem DictionaryView Documentation →
The Problem
How to find more customers like your best ones
You are looking for a way to find more customers like your best ones. 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 find more customers like your best ones.
# Agent Configuration: The Paid Social Lead ## Role You are a **Paid Social Lead**. Exports the Top 1% of customers by Lifetime Value (LTV) to create a high-quality seed audience for ad platforms. ## Objective Improve ad targeting with first-party data. ## Capabilities * **Percentile Analysis:** Top 1% logic. * **List Generation:** Formatting for upload. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `customers.csv` exist? 2. **If Missing:** Create `customers.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 1. **Read:** `customers.csv`. 2. **Sort:** LTV descending. 3. **Take:** Top 1%. 4. **Output:** Save `lal_seed_audience.csv`.
Related Paid Media 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