← All skills
Skill 20
Third-party signals
Public Record Flags
Use inspections or permits to spot problems you can solve. Cite the public record in your first note.
Government and regulator datasets hold dated, verifiable facts about the companies you sell to: quality scores, inspection results, permits, licenses, filing fields, registry attributes like asset size or branch count. No data vendor packages them, so almost nobody emails on them, and the buyer can check every word against the record. Find the field that says a prospect has the problem you fix, and write to the person who owns it.
Load pipeline-outbound-core first. Where a step says “apply core”, follow that section of the core skill.
Inputs
Ask for these before step 1 and save them to ./pipeline-plays.config.json:
The ICP in one paragraph: industry, size band, geography, the problem you solve, who owns it.
The fact, as one sentence a buyer would recognise: “hospitals worse than the national average on an infection measure”. If unknown, step 1 works it out.
Stack answers from core section 1, plus any dataset already in mind.
The offer in one sentence and one proof point.
Steps
1. Name the fact and map the source
Tools Claude, Serper, Public datasets
Two kinds of fact: one that qualifies (bed count, asset size, branch count) and one that creates urgency (worse than a benchmark, a failed inspection, a new permit). Most runs need one of each.
Find the public source: health agencies publish quality measures per facility, financial regulators publish call reports, telecom regulators publish coverage filings, cities publish permits. Locate the dataset page, API docs and bulk download.
Record the join key (facility id, legal name, domain, address) and the refresh cadence.
Read ten raw records by hand first; the nursing home file is not the hospital file.
2. Pull broad on a schedule
Tools Public datasets, Firecrawl, Apify (option), CSV
Pull the whole dataset, not a filtered slice; filter in step 4. Public APIs and bulk downloads first, Firecrawl or an Apify scraper for portals with no download, throttled.
Zip code beats city: spellings vary across public files, zips join cleanly and roll up to any region.
Keep the raw file untouched with a
sourcecolumn and the pull date; every claim in step 6 traces to a row in it. Schedule the pull to the cadence from step 1.
3. Resolve each record to a company
Tools Claude, Serper, Ocean.io, Apollo, Google Sheets
Public records name legal entities, not brands. Strip Inc and LLC, expand abbreviations, lowercase. Where two files share an official id, join on it and skip names.
Match in order: id, then normalized name plus address (zip, not city), then domain. A search on legal name plus city finds the website for roughly nine in ten.
High confidence routes on, medium goes to a review sheet the user clears weekly, low is dropped and logged. Resolve to the entity that makes the buying decision; keep the parent as a column.
4. Build the flag and the tier
Tools Claude, Google Sheets, Attio
Count or derive. Count: one flag per measure where the record is worse than its benchmark, summed per account. Derive: where the record has no benchmark, read the situation from the fields. Branch count means fragmented support, fiber build-out means a support volume spike, “Federal” in a credit union’s name means audit trail pressure.
Bucket: none, 1 to 2, 3 to 4, 5 plus, or equivalent thresholds for a derived situation. Tone per bucket: efficiency, proactive, pattern, urgent. Urgent means a direct ask, never a scare.
Store flag count, flagged measures, record date and source URL on the account. Apply core: tiering.
5. Qualify, pick the owner, enrich and verify
Tools Claude, Ocean.io, Apollo, LeadMagic, Prospeo, MillionVerifier, BounceBan
Apply core: exclusions. The record often carries the size field (beds, assets, subscribers); drop everything under the ICP threshold before any paid lookup.
The owner is the function the record points at: an infection measure points at operations and quality (COO, VP Operations, CNO, compliance), a branch count at customer operations. Never the registrant on the filing. Add one peer.
Apply core: enrichment. Apply core: verification.
6. Write the finding
Tools Claude
Apply core: copy and send rules. Under 50 words.
Lead with the fact as merge fields: “{HOSPITAL} shows worse than the national average on {FLAG_COUNT} infection measures in the latest public quality file.” No adjectives.
Follow with a diagnostic question in the tier’s tone, the kind a technician asks before quoting a job, not a stat dump.
One variant asks whether the read is right: “Reading that right, or is the public file behind?”
Audit before upload: a model compares every sentence to the raw row. Five flags means five rows; the benchmark label is the dataset’s own, never a paraphrase. Cut anything the record does not say; never imply causation.
Email 2 names the source and offers the record. One set per tier, approved by the user before upload.
7. Alert Tier 1, launch Tiers 2 and 3
Tools Slack, Phone, EmailBison, Instantly (option), Attio
Tier 1: 5 plus flags, or a single record that licenses action alone (a failed inspection, a new permit). Slack card with the account, flagged measures, verbatim excerpt, source URL, owner and a one-line opener; the owner calls within 48 hours.
Tier 2 and 3: upload with
{RECORD_FACT},{FLAG_COUNT},{SIZE_FIELD},{STATE}, one campaign per tier from this skill’s own inbox set.Write every account to the CRM with signal type
public record, flag count, record date and source URL. Stop on a reply, a booking, an open deal, or a cleared flag.
8. Report and refresh
Tools Attio, Slack, Public datasets
Weekly: records pulled, match rate, flagged share, Tier 1 count, sent, reply rate, interested, meetings, split by tier and record type.
Refresh when the source refreshes; a cleared flag stops the sequence, a new flag re-enters at step 4.
Apply core: credits and handoff.
Guardrails
Never write anything the record does not say. Quote the dataset’s own label; never upgrade it to “failing” or “dangerous”.
Never imply the buyer was watched. The record is public; name the source when asked.
A record older than its refresh cycle comes out of the copy.
Medium and low confidence matches never send; a wrong-entity email about a quality flag does real harm.
One account, one sequence, tone set by tier. Five flags earn a call, not five emails.
Example run
User: “/pipeline-public-record-flags for our healthcare consent software, ICP is US hospitals with 50 or more beds, COO or VP Operations”
Named the fact: worse than the national average on any of five infection measures or the complications file; join key the facility id; quarterly refresh.
Pulled all three files whole: 6,103 hospitals with bed counts, 172,476 infection rows, 95,820 complication rows.
Joined on facility id; websites by search on legal name plus city, 88% hit rate.
776 hospitals flagged (23%), 202 high-risk at 5 plus, about 200 at 3 to 4, about 374 at 1 to 2.
Dropped under 50 beds, customers and open deals. COO or VP Operations plus one compliance peer, verified.
Four copy sets by tier, under 50 words, audited against the record.
202 Tier 1 Slack cards queued for calls over four weeks; Tiers 2 and 3 loaded to “Public Record Flags, hospitals” with
{HOSPITAL},{FLAG_COUNT},{BEDS},{STATE}.
A second run for a customer-support software client derived the flag from registries: credit union call reports above one billion in assets and telecom coverage filings for regional ISPs gave 888 accounts, 448 credit unions and 440 ISPs, 130 of them fiber providers in growth mode. Branch count read as fragmented support, fiber build-out as a volume spike, each with its own diagnostic opener.
Agent files
Install the Pipeline.tech "Public Record Flags" outbound play. Fetch
https://raw.githubusercontent.com/pipeline-tech/plays/main/core/SKILL.md and
https://raw.githubusercontent.com/pipeline-tech/plays/main/plays/public-record-flags/SKILL.md,
save them as ~/.claude/skills/pipeline-outbound-core/SKILL.md and
~/.claude/skills/pipeline-public-record-flags/SKILL.md, then run /pipeline-public-record-flags.Paste into Claude Code. It installs the shared core rules plus this skill, then runs it as /pipeline-public-record-flags.
---
name: pipeline-public-record-flags
description: Pipeline.tech play. Turn a government or regulator dataset into a dated, verifiable reason to email. Names the public fact that qualifies or creates urgency for your offer, pulls the source on a schedule, resolves each record to a company, counts flags or derives the situation from the fields, tiers accounts by flag count, then leads every email with the public fact as a merge field the buyer can check. Tier 1 gets a Slack card with the record excerpt and a call. USE WHEN user says "/pipeline-public-record-flags" OR "public record flags play" OR "public records outreach" OR "regulator data outreach" OR "government dataset campaign" OR "compliance flag outreach".
author: Pipeline.tech (https://pipeline.tech/plays/public-record-flags)
version: 0.1.0
requires: pipeline-outbound-core
trigger: A public dataset that flags a problem your offer fixes
outcome: A dated, verifiable reason to write this week
category: signal
channels: email, call
tools: Public datasets, Firecrawl, Serper, Apify, Claude, Google Sheets, CSV, Ocean.io, Apollo, LeadMagic, Prospeo, MillionVerifier, BounceBan, Slack, Attio, EmailBison, Instantly, Phone
---
# Public Record Flags
Government and regulator datasets hold dated, verifiable facts about the companies you sell to: quality scores, inspection results, permits, licenses, filing fields, registry attributes like asset size or branch count. No data vendor packages them, so almost nobody emails on them, and the buyer can check every word against the record. Find the field that says a prospect has the problem you fix, and write to the person who owns it.
Load `pipeline-outbound-core` first. Where a step says "apply core", follow that section of the core skill.
## Inputs
Ask for these before step 1 and save them to `./pipeline-plays.config.json`:
1. The ICP in one paragraph: industry, size band, geography, the problem you solve, who owns it.
2. The fact, as one sentence a buyer would recognise: "hospitals worse than the national average on an infection measure". If unknown, step 1 works it out.
3. Stack answers from core section 1, plus any dataset already in mind.
4. The offer in one sentence and one proof point.
## Steps
### 1. Name the fact and map the source
Tools: Claude, Serper, Public datasets
Flow:
- The qualifying fact | One field or threshold that means they have the problem: a quality flag, an inspection result, a permit, a license, a registry attribute | with: Claude | chips: field, threshold, qualifies or urgency
- The source map | The public dataset that holds the field, its join key and how often it refreshes | with: Serper, Public datasets | chips: dataset, join key, refresh cadence, bulk or API
= Source sheet | One row per record type with field, source URL, join key, cadence and whether it licenses action alone | with: Google Sheets
- Two kinds of fact: one that qualifies (bed count, asset size, branch count) and one that creates urgency (worse than a benchmark, a failed inspection, a new permit). Most runs need one of each.
- Find the public source: health agencies publish quality measures per facility, financial regulators publish call reports, telecom regulators publish coverage filings, cities publish permits. Locate the dataset page, API docs and bulk download.
- Record the join key (facility id, legal name, domain, address) and the refresh cadence.
- Read ten raw records by hand first; the nursing home file is not the hospital file.
### 2. Pull broad on a schedule
Tools: Public datasets, Firecrawl, Apify (option), CSV
Flow:
- APIs and bulk files | Public APIs and bulk downloads first, the whole country at once, filtered later | with: Public datasets, CSV | chips: full pull, raw file kept, source column | tag: free source
- Portals | Firecrawl or a scraper for portals with no download; throttled, no CAPTCHA fights | with: Firecrawl, Apify | tag: fill the gaps
= Raw snapshot | One file per source per pull with the pull date in the name; zip code beats city for geography | chips: pull date, record id, raw fields
- Pull the whole dataset, not a filtered slice; filter in step 4. Public APIs and bulk downloads first, Firecrawl or an Apify scraper for portals with no download, throttled.
- Zip code beats city: spellings vary across public files, zips join cleanly and roll up to any region.
- Keep the raw file untouched with a `source` column and the pull date; every claim in step 6 traces to a row in it. Schedule the pull to the cadence from step 1.
### 3. Resolve each record to a company
Tools: Claude, Serper, Ocean.io, Apollo, Google Sheets
Flow:
- Normalize | Strip suffixes, expand abbreviations, lowercase; join on the official id where two public files share one | with: Claude | chips: legal name, facility id, address
- Match ladder | Id first, then name plus address, then domain; website found by search where the record has none | with: Serper, Ocean.io, Apollo | chips: high, medium, low
= Confidence routing | High routes automatically, medium goes to a review sheet, low is dropped and logged | with: Google Sheets | chips: auto, review, drop
- Public records name legal entities, not brands. Strip Inc and LLC, expand abbreviations, lowercase. Where two files share an official id, join on it and skip names.
- Match in order: id, then normalized name plus address (zip, not city), then domain. A search on legal name plus city finds the website for roughly nine in ten.
- High confidence routes on, medium goes to a review sheet the user clears weekly, low is dropped and logged. Resolve to the entity that makes the buying decision; keep the parent as a column.
### 4. Build the flag and the tier
Tools: Claude, Google Sheets, Attio
Flow:
- Flag count | One flag per measure where the record is worse than the benchmark, summed per account | with: Google Sheets | chips: none, 1 to 2, 3 to 4, 5 plus
- Derived situation | Where the record has no benchmark, read the situation from the fields | with: Claude | chips: fragmented support, volume spike, audit pressure
= Tier and tone | The bucket sets the tier and the tone: efficiency, proactive, pattern, urgent | with: Attio | chips: tier, tone, flagged measures
- Count or derive. Count: one flag per measure where the record is worse than its benchmark, summed per account. Derive: where the record has no benchmark, read the situation from the fields. Branch count means fragmented support, fiber build-out means a support volume spike, "Federal" in a credit union's name means audit trail pressure.
- Bucket: none, 1 to 2, 3 to 4, 5 plus, or equivalent thresholds for a derived situation. Tone per bucket: efficiency, proactive, pattern, urgent. Urgent means a direct ask, never a scare.
- Store flag count, flagged measures, record date and source URL on the account. Apply core: tiering.
### 5. Qualify, pick the owner, enrich and verify
Tools: Claude, Ocean.io, Apollo, LeadMagic, Prospeo, MillionVerifier, BounceBan
Flow:
- Exclusions and ICP | Customers, open deals and active sequences out; size band from the record, ICP verdict from the website | with: Claude, Ocean.io, Apollo | tag: core: exclusions
- Owner of the problem | The function the record points at: quality and operations for a care flag, customer operations for a support situation | with: Apollo, Ocean.io | chips: function head, one peer
- Enrich and verify | Email waterfall, then two verifiers | with: LeadMagic, Prospeo, MillionVerifier, BounceBan | tag: core: enrichment and verification
- Apply core: exclusions. The record often carries the size field (beds, assets, subscribers); drop everything under the ICP threshold before any paid lookup.
- The owner is the function the record points at: an infection measure points at operations and quality (COO, VP Operations, CNO, compliance), a branch count at customer operations. Never the registrant on the filing. Add one peer.
- Apply core: enrichment. Apply core: verification.
### 6. Write the finding
Tools: Claude
Flow:
- The public fact first | Open on the record field as a merge field, plainly stated, something the buyer can check | with: Claude | chips: {RECORD_FACT}, {FLAG_COUNT}, {SIZE_FIELD}, {STATE}
- Diagnostic question | One question a technician would ask, not a stat dump; one variant asks whether the read is right | with: Claude | tag: variant
= Claim audit | Every sentence checked against the raw record row before upload; anything that overstates is cut | with: Claude | tag: core: copy and send rules
- Apply core: copy and send rules. Under 50 words.
- Lead with the fact as merge fields: "{HOSPITAL} shows worse than the national average on {FLAG_COUNT} infection measures in the latest public quality file." No adjectives.
- Follow with a diagnostic question in the tier's tone, the kind a technician asks before quoting a job, not a stat dump.
- One variant asks whether the read is right: "Reading that right, or is the public file behind?"
- Audit before upload: a model compares every sentence to the raw row. Five flags means five rows; the benchmark label is the dataset's own, never a paraphrase. Cut anything the record does not say; never imply causation.
- Email 2 names the source and offers the record. One set per tier, approved by the user before upload.
### 7. Alert Tier 1, launch Tiers 2 and 3
Tools: Slack, Phone, EmailBison, Instantly (option), Attio
Flow:
- Tier 1 | 5 plus flags, or one record that licenses action alone: a Slack card with the record excerpt, then a call | with: Slack, Phone | chips: account, flagged measures, record excerpt, source URL, owner | tag: high touch
- Tier 2 and 3 | Two-step email from this play's own inbox set, one campaign per tier so each tone reads on its own | with: EmailBison, Instantly, Attio | chips: public record, flag count, record date, source URL | tag: at volume
- Tier 1: 5 plus flags, or a single record that licenses action alone (a failed inspection, a new permit). Slack card with the account, flagged measures, verbatim excerpt, source URL, owner and a one-line opener; the owner calls within 48 hours.
- Tier 2 and 3: upload with `{RECORD_FACT}`, `{FLAG_COUNT}`, `{SIZE_FIELD}`, `{STATE}`, one campaign per tier from this play's own inbox set.
- Write every account to the CRM with signal type `public record`, flag count, record date and source URL. Stop on a reply, a booking, an open deal, or a cleared flag.
### 8. Report and refresh
Tools: Attio, Slack, Public datasets
Flow:
= Weekly read by tier and record type | Records pulled, match rate, flagged share, Tier 1 count, sent, reply rate, interested, meetings; refresh when the source refreshes | with: Attio, Slack, Public datasets
- Weekly: records pulled, match rate, flagged share, Tier 1 count, sent, reply rate, interested, meetings, split by tier and record type.
- Refresh when the source refreshes; a cleared flag stops the sequence, a new flag re-enters at step 4.
- Apply core: credits and handoff.
## Guardrails
- Never write anything the record does not say. Quote the dataset's own label; never upgrade it to "failing" or "dangerous".
- Never imply the buyer was watched. The record is public; name the source when asked.
- A record older than its refresh cycle comes out of the copy.
- Medium and low confidence matches never send; a wrong-entity email about a quality flag does real harm.
- One account, one sequence, tone set by tier. Five flags earn a call, not five emails.
## Example run
User: "/pipeline-public-record-flags for our healthcare consent software, ICP is US hospitals with 50 or more beds, COO or VP Operations"
1. Named the fact: worse than the national average on any of five infection measures or the complications file; join key the facility id; quarterly refresh.
2. Pulled all three files whole: 6,103 hospitals with bed counts, 172,476 infection rows, 95,820 complication rows.
3. Joined on facility id; websites by search on legal name plus city, 88% hit rate.
4. 776 hospitals flagged (23%), 202 high-risk at 5 plus, about 200 at 3 to 4, about 374 at 1 to 2.
5. Dropped under 50 beds, customers and open deals. COO or VP Operations plus one compliance peer, verified.
6. Four copy sets by tier, under 50 words, audited against the record.
7. 202 Tier 1 Slack cards queued for calls over four weeks; Tiers 2 and 3 loaded to "Public Record Flags, hospitals" with `{HOSPITAL}`, `{FLAG_COUNT}`, `{BEDS}`, `{STATE}`.
A second run for a customer-support software client derived the flag from registries: credit union call reports above one billion in assets and telecom coverage filings for regional ISPs gave 888 accounts, 448 credit unions and 440 ISPs, 130 of them fiber providers in growth mode. Branch count read as fragmented support, fiber build-out as a volume spike, each with its own diagnostic opener.