Partner Referral Program
5
Waiting on review
68%
Acceptance rate
7
Lapsing in 14 days
94,200
Owed, not yet paid
Vantor, Bright Partners
domain matches an open deal
Halden Foods, Cordell
protected until 1 Dec
Kestrel Ltd, Meridian
protected until 1 Nov
Fenwick, Cordell
expires in 6 days
Northrise, Cordell
won · 240K · payable
What matters here
- A referral tracker is four parts: registration, deduplication against existing pipeline, a protection window, and a payout calculation.
- Deduplication at registration is the whole trust question. A referral accepted on an account already in your pipeline creates a dispute you will lose either way.
- Protection windows need an explicit expiry behavior. Silently lapsing a partner claim is how partner programs acquire a reputation.
- Partners need self-service status. Most partner manager time is spent answering what happened to a lead sent months ago.
- Tie payout to a closed and collected outcome, not to a stage, or you will be clawing back commission from people outside your company.
- The tracker exposes pipeline data to people outside your organization, so scoped access is a hard requirement rather than a preference.
Who this is for
You run partnerships or the revenue operations behind them. You already know your partner tiers and your referral terms. What you want is for registrations to be decided in a day, and for partners to stop emailing to ask about deal status.
How it works in practice
What a partner does, what you do, and where the two meet.
- 1
A partner registers a deal
Account, contact, use case and expected timing, timestamped. That timestamp settles every later argument about who was first.
- 2
It gets checked against your pipeline immediately
Against existing customers, open opportunities, and other partners' live registrations. The partner sees the result at submission, not a week later.
- 3
Accepted registrations get a protected window
Length set by partner tier, extended by logged activity, with warnings before it lapses and a visible lapsed state afterwards.
- 4
Partners check status themselves
Their own referrals only, with exactly the fields you choose to expose, which removes most of what a partner manager's inbox is made of.
- 5
Outcomes get linked
Won with a value and a date, or lost with a reason, which is what the payout is calculated from.
- 6
Payout runs when the money is actually in
Eligible once your condition is met, grouped by partner, approved by a named person, exported and marked paid.
What a referral tracker is made of
A referral tracker is not a shared spreadsheet of leads. It is four parts, and the second is the one that determines whether partners trust the program.
Registration
The partner submits an account, contact, use case and expected timing. Timestamped, because the timestamp is what settles every later dispute about who was first.
Deduplication
An automatic check against existing accounts, open opportunities and other partners' active registrations, producing an accept, reject or review outcome with the matched record shown.
A protection window
How long an accepted registration is protected, what activity extends it, what happens when it lapses, and who gets notified before it does.
Payout calculation
The commission or fee owed per closed deal, by partner tier, calculated when the outcome is final rather than when the deal is optimiztic.
The prompts
Paste these into Claude Code, Codex or Cursor in order. Each one leaves you with something that runs, so you can stop after any step.
These prompts start from a Helix project, which is what handles sign-in, credentials and hosting. Start with Helix.
Registration, and the check that decides everything
The submission, and whether you honor it.
Create a Helix app: a partner referral tracker.
A partner submits a deal: their company, the prospect company and domain, a contact, the country, the use case, an estimated value and expected timing. Timestamp it, because that timestamp is what settles every later dispute about who found the deal.
Then the part the whole program lives or dies on. Check the submission against three things: our existing customers, our open opportunities, and other partners' active registrations. Match on email domain first and company name second, because company names typed into a form almost never match what is in our CRM and domains usually do.
Three outcomes. Clean, accept it. An existing customer, reject it with a stated reason. A partial match, send it to a person with the matching record shown next to it. Never reject silently: a rejected referral needs a reason the partner can read.
What a partner actually gets
The protection window, and the notifications that make it real.
On acceptance, set a protection expiry from a window I configure per partner tier, say 90 or 180 days.
Let a partner log activity against the referral, and let activity extend the window by a set amount up to a maximum, so a partner working the deal keeps it and a partner who registered and vanished does not.
Notify the partner and the partner manager at intervals before expiry, and again on the day it lapses. A window that expires without warning is worse than having no window at all.
When it lapses, move it to a lapsed state that stays visible in history rather than deleting it. Those records are how I find out whether the window length is right.
The partner's own view
Removing the email that asks what happened to that lead.
Now the partner-facing side, and be careful with it.
A partner signs in and sees only their own referrals: status, protection expiry, last update, and a running summary of what they have submitted, what was accepted, what closed and what they have earned.
Make the visible fields a configuration rather than a code decision. Some programs share pipeline stage with partners, some share only open, won or lost, and I want one app to serve both.
Never expose deal amounts, other partners, or internal notes in that view. Everything a partner can see should be something I chose deliberately.
Show the deduplication result at submission, so a partner learns immediately rather than a week later.
Outcomes and what you owe
Paying on money received, not on optimizm.
Link each referral to an outcome: won with a value and close date, or lost with a reason.
Calculate the payout from the partner's tier rate against the value I designate as commissionable, which is often not the total contract value. Make that an explicit field rather than an assumption.
Then gate eligibility on a condition I set, and default it to invoice paid rather than deal closed. Paying on closure eventually means asking someone outside the company to give money back, which costs more goodwill than the delay costs patience.
A payout run: everything eligible in a period, grouped by partner, approved by a named person, exported, marked paid. Plus acceptance rate per partner, which is the number that tells me whether a partner understands who we sell to.
Connect it to real systems
The step that turns a working prototype into something with your data in it.
Now connect it to the systems we actually run, so it works on real data rather than the rows you seeded.
Anything in angle brackets is a placeholder. Swap it for whatever we use instead, and have the app name the connection it wants rather than assume a vendor, so changing my mind later is a config change and not a rewrite.
<Salesforce>. Check submissions against existing customers, open opportunities and other partners' registrations, and link closed outcomes back.
<Okta>. Authenticate internal users, kept strictly separate from how partners sign in.
<NetSuite>. Confirm an invoice was actually paid before a payout becomes eligible.
<Gmail>. Tell a partner their registration was accepted, or rejected with a reason they can read.
<HubSpot>. Some partner programs run on a separate CRM from the direct team. Read registrations from there too.
<DocuSign>. Check the partner agreement is signed and current before a payout becomes eligible.
<Stripe>. Confirm the invoice was actually collected, if payouts are gated on cash rather than closure.
Only write where I have said to write. Everything else is read only.
Ship it
The last step of every build: a URL, and the right people on it.
Deploy my app.
What it connects to
Deduplication is the whole trust question, and it can only work if the app can see your live pipeline.
-
Salesforce Check submissions against existing customers, open opportunities and other partners' registrations, and link closed outcomes back. Reads and writes
-
Okta Authenticate internal users, kept strictly separate from how partners sign in. Reads -
NetSuite Confirm an invoice was actually paid before a payout becomes eligible. Reads -
Gmail Tell a partner their registration was accepted, or rejected with a reason they can read. Writes
-
HubSpot Some partner programs run on a separate CRM from the direct team. Read registrations from there too. Reads -
DocuSign Check the partner agreement is signed and current before a payout becomes eligible. Reads -
Stripe Confirm the invoice was actually collected, if payouts are gated on cash rather than closure. Reads
Named systems are the ones most teams actually run, not a list of the only ones that work. Swap in whatever you use.
Running it for real
The build gets you a working tracker. It exposes some of your pipeline to people outside the company and decides what partners get paid, so how it is run is the larger half of the job.
- 1
Get it to a URL people can open
One command takes the app from your assistant to a live address, so the people who need it get a link rather than instructions for running it locally.
- 2
Put your identity provider in front of it
This app has internal and external users. SSO plus scoped access is what keeps a partner to their own referrals, which is the difference between a portal and a leak.
- 3
Connect the system of record with managed credentials
Deduplicating against live pipeline and linking closed outcomes needs real CRM access. Granting it to the app rather than pasting a key into it means it can be rotated or revoked without a redeploy.
- 4
Put a name on it
Every app carries a named owner and an entry IT can see, so the tool does not become nobody's problem when the person who built it changes role.
- 5
Know what it costs to run
Per-app spend visibility, so an internal tool cannot quietly become a line item nobody can explain.
Do this as a workflow instead
An app is only as good as the data in it. These build the integrations and automations that keep this one current, on the Tray platform. Same kind of guide, same kind of prompts.