OneShotLead
Navigation
Dashboard
Leads
Sources
Prompts
Workflows
Toggle Sidebar
← Back to prompts
classifyEntities
Model:
Variables:
{{QUERY}}
{{ENTITY_TYPE}}
{{RESULTS}}
Analyze these Google search results and extract Texas public entities. Search query was: {{QUERY}} Expected entity type: {{ENTITY_TYPE}} Results: {{RESULTS}} For each result that is a legitimate Texas public entity website (city, school district, county, or special district), extract: 1. entity_name: The official name (e.g., "City of Austin", "Houston Independent School District") 2. entity_type: One of: city, school_district, county, special_district 3. website_url: The root/home URL of the entity (not a specific page) Rules: - Only include actual government/public entity websites - Skip news articles, directories, Wikipedia, social media - Skip duplicate entities (same entity, different pages) - Normalize URLs to the root domain where possible - If a URL is clearly a subpage, extract the root domain Return a JSON array of objects with keys: entity_name, entity_type, website_url Return an empty array [] if no valid entities found. Return ONLY the JSON array, no other text.
Save as new version
Active: default
Test prompt
Sample input (replaces all {{variables}})
Run test
Version history
No saved versions yet. Using default prompt.