Claw Mart
← Back to Blog
March 20, 202611 min readClaw Mart Team

Automate Medical Billing Follow-ups: Build an AI Agent That Chases Unpaid Claims

Automate Medical Billing Follow-ups: Build an AI Agent That Chases Unpaid Claims

Automate Medical Billing Follow-ups: Build an AI Agent That Chases Unpaid Claims

Every medical practice in America has the same dirty secret: somewhere between the exam room and the bank account, there's a person — or more likely, three people — spending their entire day logging into insurance portals, checking claim statuses, reading cryptic denial codes, and writing appeal letters that say essentially the same thing over and over again. They do this for hundreds of claims per week, across dozens of payers, each with their own portal, their own rules, their own special flavor of bureaucratic friction.

This is medical billing follow-up, and it's where revenue goes to die slowly.

The average practice loses 1–5% of total revenue to claims that simply fall through the cracks — not because the care wasn't delivered or the coding was wrong, but because nobody had time to chase the claim a third time. Multiply that across an industry, and you get the $262 billion annual cost of claim denials and rework that HFMA and Change Healthcare have estimated. That number is so large it almost stops meaning anything.

But here's what it means at the practice level: your billers spend 4–6 hours per day on phone holds and portal clicks, your AR days creep toward 70 or 90, your denial appeal rate hovers around 40% (even though 50–75% of appeals succeed when actually filed), and your best billing staff quit because the work is soul-crushing. Turnover in RCM roles runs 18–25% annually.

Most of this work is repetitive pattern matching. Which means most of it can be automated with an AI agent. Not a chatbot. Not a dashboard. An agent that actually does the work.

Let me walk you through exactly how to build one on OpenClaw.


The Manual Workflow (What Your Billers Actually Do All Day)

Before you automate anything, you need to understand the exact sequence of human actions you're replacing. Here's what a typical follow-up workflow looks like, step by step:

Step 1: Pull the aging report. The biller opens the practice management system (PMS) — could be Athenahealth, eClinicalWorks, NextGen, Kareo, whatever — and exports a report of all outstanding claims sorted by age (30, 60, 90, 120+ days) and payer. Time: 15–30 minutes.

Step 2: Prioritize. The biller eyeballs the list and decides which claims to work first, usually by dollar amount or aging bucket. There's no real algorithm here — it's vibes and experience. Time: 15–20 minutes.

Step 3: Check status on payer portals. This is where the day disappears. The biller logs into UnitedHealthcare's portal, then Aetna's, then BCBS (which has different portals by state), then the Medicare FISS system, then the state Medicaid portal. For each claim, they search by patient name or claim number, read the status, and note what happened. Many practices work with 10–50 different payers. Time per claim: 3–8 minutes. Time per day: 3–5 hours.

Step 4: Categorize the problem. No response? Denied for missing info? Denied for medical necessity? Underpaid? Eligibility issue? Timely filing? Each category requires a different response. Time: 1–2 minutes per claim.

Step 5: Take action. For a simple missing-info denial, the biller corrects the claim and resubmits. For a medical necessity denial, they may need to pull chart notes and write an appeal letter. For an underpayment, they compare the ERA against the fee schedule. For a no-response claim, they call the payer and sit on hold for 20–45 minutes. Time: 5–30 minutes per claim.

Step 6: Document everything. Every action gets logged in the PMS for compliance and audit purposes. Time: 2–3 minutes per claim.

Step 7: Repeat. A full-time biller manages 800–2,000 claims per month. Follow-up consumes 30–60% of their total working time.

Add it all up: for a small practice doing $3M in annual revenue, you're looking at one full-time biller spending 25+ hours per week just on follow-up. For a mid-sized group, it's a team of 3–5 people. For a hospital system, it's an entire department.


What Makes This So Painful

The time cost is obvious. But the real damage is more subtle:

Fragmentation kills efficiency. Every payer has different rules, different portals, different denial reason codes, different appeal deadlines (30 days for some, 180 for others), and different submission requirements. There's no single standard. Your biller needs to be an expert in all of them simultaneously.

High-volume, low-value checks dominate. A huge percentage of status checks (some practices report 40–60%) come back as "in process" or "pending" — meaning the biller spent 5 minutes to learn nothing actionable. That's dead time at scale.

Denials compound when ignored. If you miss an appeal deadline because your team was swamped, that revenue is gone forever. The claim becomes a write-off. And because denial rates run 9–12% on average (up to 20–30% in complex specialties like oncology or surgery), even a small backlog creates real financial damage.

Staff burnout is structural, not incidental. The work is repetitive, frustrating, and unrewarding. You're not going to fix turnover with pizza parties when the job is navigating CMS portals eight hours a day. The only real fix is removing the repetitive parts from the job entirely.

Cash flow delays cascade. When AR days stretch from 45 to 75, that's not just a reporting metric — it's payroll pressure, delayed equipment purchases, and reduced capacity to invest in patient care. For small practices operating on thin margins, it can be existential.


What AI Can Handle Right Now

Not everything in medical billing follow-up requires human judgment. In fact, the majority of it doesn't. Here's the breakdown:

Fully Automatable Today

  • Claim status checking across payer portals. An AI agent can log into portals (or use available APIs and clearinghouse integrations), pull status for every outstanding claim, and update your PMS. This alone eliminates 60–80% of manual portal work.
  • Denial categorization. Pattern matching on denial codes and EOB language to sort claims into actionable categories: missing info, coding error, eligibility, timely filing, medical necessity, etc.
  • Worklist prioritization. Instead of eyeballing the aging report, an AI agent scores every claim by dollar value, age, payer behavior patterns, denial type, and likelihood of recovery — then generates a prioritized work queue.
  • Template-based appeal generation. For common denial types (wrong modifier, missing prior auth number, incorrect patient info), the agent drafts appeal letters with the correct payer-specific language and attaches relevant documentation.
  • Patient balance outreach. Automated statements, SMS reminders, email sequences, and even voice calls for outstanding patient balances.
  • Payment reconciliation. Matching ERA data to claims, flagging underpayments against contracted rates, and identifying patterns of payer underpayment.

Requires Human Oversight

  • Clinical denials involving medical necessity — needs a clinician or clinical reviewer to interpret records and argue the case.
  • Complex narrative appeals that require judgment calls about what documentation to include.
  • Peer-to-peer reviews with payer medical directors.
  • Patient hardship and charity care decisions.
  • Compliance risk assessment (HIPAA, False Claims Act exposure).
  • Novel denial patterns the agent hasn't seen before.

The key insight: you're not replacing your billing team. You're removing 60–70% of the manual, repetitive work so they can focus on the complex cases that actually require their expertise.


How to Build This on OpenClaw (Step by Step)

Here's the practical implementation path. I'm going to be specific because vague "just use AI" advice is worthless.

Step 1: Define Your Agent's Scope

Start narrow. Don't try to automate everything at once. Pick one high-volume, high-pain task. For most practices, that's claim status checking and denial categorization — it's the biggest time sink and the most purely mechanical.

In OpenClaw, you'll create an agent with a clear system prompt that defines its role:

You are a medical billing follow-up agent. Your job is to:
1. Review outstanding claims from the aging report
2. Check claim status via available payer data
3. Categorize each claim by status (paid, denied, pending, underpaid, no response)
4. For denied claims, identify the denial reason category
5. Prioritize claims for human follow-up based on dollar value, age, and recovery likelihood
6. Generate recommended next actions for each claim

You must never fabricate claim statuses. If status data is unavailable, flag the claim for manual review. Always log your reasoning.

Step 2: Connect Your Data Sources

Your agent needs access to your claims data. This means connecting it to your practice management system's data — aging reports, claim details, patient demographics, payer information, and historical denial patterns.

Most PMS platforms export data via CSV, HL7, or API. OpenClaw supports tool integrations that let your agent read from structured data sources. At minimum, you want:

  • Aging report data (claim ID, patient, payer, CPT codes, billed amount, date of service, days outstanding)
  • Historical denial data (denial codes, resolution actions, outcomes)
  • Payer rules reference (appeal deadlines, common denial reasons, submission requirements)

Set these up as tools your OpenClaw agent can query:

Tool: query_aging_report
Description: Returns outstanding claims filtered by payer, age bucket, or dollar threshold
Input: { payer?: string, min_age?: number, max_age?: number, min_amount?: number }
Output: Array of claim objects with full detail

Tool: check_claim_status
Description: Checks current status of a claim via clearinghouse or payer data
Input: { claim_id: string, payer: string }
Output: { status: string, denial_code?: string, denial_reason?: string, last_updated: date }

Tool: get_payer_rules
Description: Returns payer-specific rules for appeals, timely filing, and common denials
Input: { payer: string }
Output: { appeal_deadline_days: number, common_denials: array, submission_method: string }

Step 3: Build the Triage Logic

This is where your agent earns its keep. Instead of a biller eyeballing a spreadsheet, the agent processes every outstanding claim and assigns it to a category with a recommended action:

  • No response, 30–60 days: Re-check status in 7 days (automated)
  • No response, 60+ days: Escalate to human for phone follow-up
  • Denied — simple (wrong modifier, missing info, eligibility): Auto-generate corrected claim or appeal letter
  • Denied — complex (medical necessity, clinical): Route to clinical reviewer with summary
  • Underpaid: Flag with comparison to contracted rate, generate dispute
  • Pending prior auth: Check auth status, alert if expiring

You can encode this as part of the agent's reasoning, or build it as a structured workflow within OpenClaw where each claim flows through a decision tree the agent executes.

Step 4: Generate Appeal Letters and Corrected Claims

For the 40–60% of denials that are administrative (not clinical), your OpenClaw agent can draft appeal letters using payer-specific templates populated with claim data:

Tool: generate_appeal_letter
Description: Creates a payer-specific appeal letter for a denied claim
Input: { claim_id: string, denial_code: string, payer: string, supporting_docs: array }
Output: { letter_text: string, required_attachments: array, submission_method: string, deadline: date }

The agent pulls the denial reason, matches it to the payer's known appeal requirements, drafts the letter with correct formatting and language, and flags which supporting documents need to be attached. A human reviewer approves before submission — especially early on while you're building confidence in the outputs.

Step 5: Build the Feedback Loop

This is what separates a useful agent from a demo. Every claim outcome — paid, partially paid, denied again, write-off — feeds back into the agent's knowledge base. Over time, it learns:

  • Which denial types are worth appealing (and which aren't)
  • Which payers respond to which appeal language
  • Which claims are likely to be denied before they're even submitted (predictive denial prevention)
  • Optimal timing for follow-up by payer

Structure this as a simple feedback tool:

Tool: log_outcome
Description: Records the final outcome of a claim follow-up action
Input: { claim_id: string, action_taken: string, outcome: string, amount_recovered: number, notes: string }
Output: { logged: boolean }

Step 6: Set Up the Human-in-the-Loop Checkpoints

This is non-negotiable for healthcare. Your agent should route to humans for:

  • Any appeal involving medical necessity or clinical judgment
  • Claims over a configurable dollar threshold (e.g., $5,000+)
  • Novel denial reasons the agent hasn't encountered before
  • Any action that involves patient financial data outside normal billing workflows
  • Final approval on appeal letters before submission (at least initially)

In OpenClaw, you configure these as conditional routing rules — the agent does its work, hits a checkpoint, and pauses for human review before proceeding.


Expected Time and Cost Savings

Let's be concrete. For a mid-sized specialty practice (5–10 providers, ~$8M annual revenue, 3 billing staff):

Before automation:

  • 3 billers spending ~25 hours/week each on follow-up = 75 hours/week
  • AR days: 65–80
  • Denial appeal rate: ~40% of eligible denials
  • Annual revenue lost to uncollected claims: $80K–$200K

After deploying an OpenClaw agent for status checking, triage, and simple appeals:

  • Biller follow-up time reduced to ~10 hours/week each = 30 hours/week (60% reduction)
  • AR days: 45–55 (15–25 day improvement)
  • Denial appeal rate: 80%+ (because the agent catches and routes everything)
  • Estimated revenue recovery: $40K–$120K annually from previously missed or late follow-ups
  • Staff burnout reduction: significant (the remaining work is complex and engaging, not repetitive)

These numbers align with what leading organizations report: 50–70% reduction in manual touches, 10–20 day reduction in AR days, and 15–30% increase in collected revenue.

The math works even for small practices. One biller reclaiming 15 hours per week is worth $25K–$40K per year in labor alone — before counting the recovered revenue.


What Still Needs a Human (And Why That's Fine)

Let me be direct: AI agents are not replacing your billing team anytime in the near future. Clinical denials, payer negotiations, complex appeals, compliance decisions, and patient financial counseling all require human judgment, empathy, and expertise.

What AI does is remove the drudgery. Your best billers didn't get into this work to click through Availity portals all day. They got into it because they're good at solving problems, navigating complex rules, and recovering money. An OpenClaw agent handles the mechanical 70% so your humans can focus on the intellectual 30% — the work that actually requires their skills and actually moves the needle.

That's not hype. That's just better job design.


Getting Started

If you're running a medical practice or billing company and you want to build this, here's the move:

  1. Audit your current follow-up workflow. Time your billers for a week. Where do the hours actually go? Portal checks, phone holds, data entry, or complex problem-solving? The answer tells you where to automate first.

  2. Start with status checking and triage on OpenClaw. It's the highest-volume, lowest-judgment task. Build the agent, connect your aging report data, and let it process your outstanding claims. Review its output for a week before trusting it to route work.

  3. Add appeal generation for simple denials. Once triage is reliable, expand the agent's scope to drafting appeals for administrative denials. Keep human approval in the loop.

  4. Build the feedback loop. Every outcome improves the agent. This is how you go from 50% automation to 70% over six months.

If you want to skip the build-from-scratch phase, head to Claw Mart and check the marketplace for pre-built medical billing agents and workflow templates. There are agents designed for specific PMS integrations and payer configurations that you can deploy and customize rather than building from zero.

And if you want someone to build and manage the whole thing for you — the agent, the integrations, the feedback loops, the human-in-the-loop design — that's what Clawsourcing exists for. You bring the billing workflow, they build and operate the AI agent. It's the fastest path from "we're drowning in follow-up" to "our billers only work on claims that actually need their brain."

The tools exist. The ROI is clear. The only question is whether you build it this quarter or keep paying people to click through insurance portals for another year.

Claw Mart Daily

Get one AI agent tip every morning

Free daily tips to make your OpenClaw agent smarter. No spam, unsubscribe anytime.

More From the Blog