Skip to content
TechEmulsion logo
TechEmulsion
Services
Case StudiesInsightsContact Us

Carrier chargeback debt, signed agreements, and follow-up in one platform for Debt Shield

Debt tracking and recovery for life insurance agencies

Life insurance agents get paid commission up front. When a policy lapses, they owe it back, and unpaid debt rolls up to the agency owner. We built Debt Shield so an owner can see that debt across carriers in one dashboard, get agents to sign agreements first, and let a staged text and email process run on its own, with every step on record.

01

Industry

Life insurance agencies and IMOs

02

Client

Debt Shield, a B2B SaaS for life insurance agency owners

03

Engagement

Full-stack multi-tenant SaaS build: agency portal, admin portal, e-signing, and messaging engine

04

Outcome

Carrier debt, signed agreements, and agent follow-up in one system of record

05

Tech Stack

React, TypeScript, Vite, Tailwind CSS, shadcn/ui, TanStack Query, Supabase (PostgreSQL 17, row-level security, Deno Edge Functions, pg_cron), Twilio, Resend, self-hosted PDF service

06

Can you build software that tracks insurance chargeback debt across carriers?

Yes. That is what Debt Shield does. In life insurance, agents are often paid their commission in advance. When a policy lapses or is charged back, that money becomes a debt the agent owes. If the agent walks away, the debt rolls up the hierarchy and lands on the agency owner.

Before Debt Shield, owners pieced this together from carrier reports and spreadsheets, each in its own format. Follow-up was done by hand with no clear record, and many owners had no signed agreements with their downline. We built one platform that pulls the debt together, gets the paperwork signed, runs the follow-up, and keeps the record.

How does an agency owner see what debt could roll up to them?

The dashboard shows total exposure across every supported carrier in one place. A roll-up timeline shows when debt could land on the owner. A ranking lists the riskiest agents first, and each agent gets a Debt Balance Index from 1 to 10. Owners can drill into any agent or carrier and export a PDF audit report.

Roll-up follows the upline and downline tree in the carrier reports. Today only Mutual of Omaha reports a real hierarchy. Where a report does not say who the upline is, the agent is treated as a direct agent. Owners can also upload a roster with their own column layout, add and edit agents, and see a feed of new agents as they show up.

How do you import debt reports when every carrier uses a different format?

Each carrier gets its own file setup and rules. Owners upload CSV, Excel, or PDF reports. For Mutual of Omaha, the self-hosted PDF service reads the data straight out of the carrier's PDF.

Every new report is compared with the last one. Each row is matched and updated, added as new, or marked as gone. When a debt disappears from the report, it is marked resolved and its reminders stop. The platform never guesses that debt rolled up just because time passed. If a carrier changes its export layout, a format guard catches it and holds the file. No rows are written, and the upload shows as Held in the portal. Today that guard runs on Ethos files.

How do you match the same agent across different carriers?

The same person can look different in each carrier's file. The platform keeps a set of carrier IDs for each agent and matches names by comparing the words in them. If two people in the same agency are almost equally close, it refuses to pick one. The debt goes to a human review queue instead.

A wrong match would chase the wrong person, so a short wait for review is the safer choice. Uploading the same report twice does not double-count anything either. Each row gets a content fingerprint, and older rows are retired without being deleted, so the history stays intact.

Why do agents sign an agreement before any follow-up starts?

Because Debt Shield started from a founder who lost money with no signed agreements in place. So signing is a hard gate. The owner sends an envelope with two documents: a Producer Agreement and a Personal Guarantee, with the agency's signature already on them. The agent gets a private link that expires after 7 business days. Reminders go out on day 3 and day 6.

The agent first confirms their legal entity type and name, then signs. The platform will not complete a signature while any of those details are missing. Signing is built in, with no outside e-signature vendor. The link works by a secret token, the signer's role is worked out on the server, and each signed document is stored with a SHA-256 hash so later changes can be spotted. Once signing is done, follow-up for that agent switches on by itself.

How does the automated text and email follow-up work?

A scheduled job runs every 10 minutes. It picks up agents who have signed and still owe a direct debt above a small floor. Messages go out by text and email on Day 0, 5, 14, 21, 30, 45, 60, 67, and 70. Each agent gets a risk tier from 1 to 3, and the tier sets the tone of the message copy.

An agent gets at most one text and one email a day. If an agent owes on several debts, they all run on one clock, so the timeline never restarts. The owner can pause a case, and on resume it picks up with the exact time that was left. Failed sends are retried, up to 3 times in 24 hours.

What happens when an agent replies to a message?

Text and email replies come back into the platform and land on that agent's record. Keywords sort them into Paid, Plan, or Needs Review. Photo attachments sent by text are saved with the record and then deleted from Twilio.

The platform does not act on a reply by itself. It logs it, and the owner decides what to do: reply, pause, or mark the debt resolved. An agent who texts STOP gets no more texts, and START turns them back on. Every incoming message from Twilio or Resend has its signature checked before anything is stored.

How does the platform keep a full record of every message?

The rule is simple: if it blocks, it logs. Every send passes 8 checks first, including pause state, recipient, daily limit, debt status, duplicates, and text opt-out. When a check stops a message, that is written to the log too. Nothing disappears without a trace.

Delivery status comes from Twilio and Resend reports. If no delivery report comes back, the record says Unconfirmed. An early version marked messages as delivered the moment they were sent, and we changed that. A record meant for an attorney should only state what it can prove.

What goes into the case file when a debt is never paid?

At Day 70, or any time the owner asks, the platform builds a case file. It holds a main PDF with a cover, a summary, the Day 0 to 70 timeline, and a certificate with a hash. It adds the full message transcript, the signed Producer Agreement and Personal Guarantee as exhibits, the agency's supporting documents, and anything the agent sent in.

Everything is zipped with a manifest of SHA-256 hashes, so anyone can check that no file was changed later. The file covers all of the agent's open debts across carriers. Blocked sends stay out of the record of notice, because those messages never went out. The platform gathers the record. The legal call stays with the agency and its attorney.

How do admins support many agencies without messaging a real agent by mistake?

The admin portal manages agencies, carrier file setups, message rules and templates, uploads, and scheduled job health. To help an agency, an admin can open a read-only preview. Outbound messages are blocked in that mode, and the session ends on its own after 10 to 30 minutes. A second, live mode does send for real, and every use of it is recorded.

Each agency's data is walled off in the database itself. Row-level security is on for 64 tables, so a query for the wrong agency comes back empty. There is also a demo mode on static data that never touches the database, so the product can be shown without real agent records.

What the platform covers

One system takes a chargeback from the carrier report to a signed agreement, a documented follow-up, and, if needed, a case file.

9

Message steps

Day 0 to Day 70, by text and email

8

Checks before every send

A blocked send is logged, never dropped

14

Scheduled jobs

Follow-up, retries, health checks, cleanup

64

Tables with row-level security

Each agency sees only its own data

Frequently asked questions

Common questions about Debt Shield and chargeback recovery software.

Chasing money owed across a pile of reports?

If your team tracks debt in spreadsheets and follows up by hand, we can help you put it in one system with a full record.
View More Case Studies

More case studies

Aiora

One chat becomes a full, editable day-by-day trip from live travel data

LeadScraper

Find, score and pitch local leads, then push them into GoHighLevel

Interactive Ecommerce

17 AI agents ship daily marketing assets behind human approval gates