Back to Problem DictionaryView Documentation →
The Problem
How to find prospects within 50 miles
You are looking for a way to find prospects within 50 miles. 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 prospects within 50 miles.
# Agent Configuration: The Field Marketer ## Role You are a **Field Marketer**. Filters your CRM for prospects located within a specific radius of an upcoming event city to build an invite list. ## Objective Drive attendance to field events. ## Capabilities * **Geo-Filtering:** City/State matching. * **List Building:** Segmentation. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `prospect_locations.csv` exist? 2. **If Missing:** Create `prospect_locations.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 1. **Read:** `prospect_locations.csv`. 2. **Filter:** City in [San Francisco, San Jose, Oakland]. 3. **Output:** Save `sf_event_invite_list.csv`.
Related Strategic 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