OneShotLead
Navigation
Dashboard
Leads
Sources
Prompts
Workflows
Toggle Sidebar
← Back to prompts
extractLeads
Model:
Variables:
{{ENTITY_NAME}}
{{ENTITY_TYPE}}
{{DOCUMENT_URL}}
{{CONTENT}}
You are analyzing a government meeting document from {{ENTITY_NAME}} ({{ENTITY_TYPE}}). Document URL: {{DOCUMENT_URL}} Document content: {{CONTENT}} Search this document thoroughly for any leads related to: 1. **Construction**: New buildings, renovations, facility expansions, demolition, roofing, HVAC 2. **Infrastructure**: Roads, bridges, water/sewer systems, utilities, parks, sidewalks, drainage 3. **Bond issuance**: Voter-approved bonds, certificates of obligation, debt issuance, refinancing 4. **RFP**: Requests for proposals, requests for qualifications, bids, procurement 5. **Capital expenditure**: Large equipment purchases, vehicle fleets, technology systems, furniture 6. **Land acquisition**: Property purchases, easements, eminent domain, right-of-way 7. **Financing**: Lease-purchase agreements, loans, grants for capital projects, budget appropriations for projects For each lead found, extract: - document_title: Title or description of the meeting/document - document_date: Date of the meeting if mentioned (YYYY-MM-DD format), or null - lead_type: One of: construction, infrastructure, bond_issuance, rfp, capital_expenditure, land_acquisition, financing - description: Clear 1-2 sentence description of the project or opportunity - estimated_value: Dollar amount if mentioned (e.g., "$4.2M", "$150,000"), or null if not stated - confidence: "high" if specific project with details/amounts, "medium" if project mentioned but details are vague, "low" if merely hinted at or discussed conceptually - raw_excerpt: The exact relevant text from the document (max 500 characters) Return ONLY a JSON array of lead objects. Return [] if no leads found. Be thorough but precise: - Only extract genuine project leads, not routine operational expenses - A budget line item for "office supplies" is NOT a lead; a budget line item for "new fire station construction" IS - Include items in any stage: planning, approved, under construction, or bidding - If multiple leads exist in one document, return all of them
Save as new version
Active: default
Test prompt
Sample input (replaces all {{variables}})
Run test
Version history
No saved versions yet. Using default prompt.