π¦ ClawHub
Gov Permit Scraper
by @merjua14
Scrape government permit databases (liquor licenses, business registrations, contractor permits, health permits) to generate B2B sales leads. Enriches raw pe...
TERMINAL
clawhub install gov-permit-scraperπ About This Skill
name: gov-permit-scraper description: Scrape government permit databases (liquor licenses, business registrations, contractor permits, health permits) to generate B2B sales leads. Enriches raw permit data with business emails via web scraping, then auto-emails outreach. Use when building lead lists from public records, scraping state licensing databases, generating B2B leads from government data, prospecting newly licensed businesses, or building insurance/services outreach pipelines targeting permit holders.
Gov Permit Scraper β Public Records to Sales Pipeline
Turn government permit databases into enriched B2B lead lists with automated outreach.
Pipeline Overview
1. Scrape β Pull new permits from state/county databases 2. Filter β Remove irrelevant permits (distributors, manufacturers, renewals) 3. Enrich β Find business emails via Brave Search + contact page scraping 4. Store β Append to Google Sheets or CSV with deduplication 5. Email β Send personalized outreach via Resend/SMTP 6. Drip β Follow up at day 3 and day 7
Supported Data Sources
Texas (TABC β Liquor Licenses)
https://www.tabc.texas.gov/public-information/new-permits-issued/Adaptable to Any State
The scraper pattern works for any government permit database:Requirements
Quick Start
# Set environment variables
export BRAVE_API_KEY=your_key
export RESEND_API_KEY=your_keyRun the TABC pipeline
node scripts/permit-pipeline.js --source tabc --since 2026-03-01Dry run (no emails sent)
node scripts/permit-pipeline.js --source tabc --since 2026-03-01 --dry-run
Configuration
Edit scripts/config.json:
source: Which permit database to scrapefilterKeywords: Permit types to excludeenrichmentMethod: brave | deepcrawl | directemailTemplate: Customizable pitch templatesheetId: Google Sheets ID for lead trackingfromEmail: Sender email addressScripts
scripts/permit-pipeline.js β Main scrape β enrich β email pipelinescripts/config.json β Pipeline configurationEmail Strategy
Initial Outreach (Day 0)
Congratulate on new license, offer relevant service. Keep under 100 words.Follow-up (Day 3)
Quick bump with one additional value point.Break-up (Day 7)
Last touch, include social proof or case study link.References
references/data-sources.md for government database URLs by statereferences/compliance.md for CAN-SPAM and cold email legal guidelinesπ‘ Examples
# Set environment variables
export BRAVE_API_KEY=your_key
export RESEND_API_KEY=your_keyRun the TABC pipeline
node scripts/permit-pipeline.js --source tabc --since 2026-03-01Dry run (no emails sent)
node scripts/permit-pipeline.js --source tabc --since 2026-03-01 --dry-run
βοΈ Configuration
Edit scripts/config.json:
source: Which permit database to scrapefilterKeywords: Permit types to excludeenrichmentMethod: brave | deepcrawl | directemailTemplate: Customizable pitch templatesheetId: Google Sheets ID for lead trackingfromEmail: Sender email address