Automation · Revenue operations
How to build partner lead sharing
A partner refers a lead, it lands in the general queue, gets worked as inbound, and the partner never hears another word or gets credit. How leads move between you and your partners in both directions, the prompts that build it, and how to stop a passed lead going quiet.
Built with Tray Headless
- System Impartner
- Step Keep the partner on it
- Step Route to a rep
- Step Pass to a partner
- System Salesforce
Leads from partners keep their source and their partner. Leads passed to partners have a deadline to accept, and come back if nobody does.
The short answer
What is partner lead sharing?
Partner lead sharing has four parts: referrals from partners that keep the referring partner on the lead from the moment they arrive, so routing, reporting and payouts can all see it; a check against existing accounts and open deals before routing, so a referral for a current customer goes to its owner; leads you pass to partners with a deadline to accept and a reason required to decline; and updates back to the referring partner as the lead moves. What breaks most programs is the first part. A referral that loses its partner on the way into the CRM is an inbound lead to everyone downstream, and the partner stops referring.
Stage 4 of 6: Share leads both ways. Part of Partner integrations, end to end : every stage, the systems it runs on and the guide that builds it.
What matters here
- Keep the partner on the referral from the first second. Lost on arrival, it can't be found later.
- Check against existing accounts before routing. A referral for a current customer belongs to its owner.
- Give a passed lead a deadline to accept. A lead sitting with a partner for a month is a lost lead.
- Require a reason to decline. Declines with reasons tell you which leads to stop passing.
- Tell the referring partner what happened, in the portal. Silence is why partners stop referring.
Who this is for
You run partner or revenue operations. Partner referrals arrive by form or email, leads passed to partners are tracked in a spreadsheet, and nobody can say how many partner leads turned into deals.
How it works in practice
Leads in both directions, from arrival to an outcome somebody can report.
- 1
A partner refers a lead
Through the portal, with the partner, the contact and the reason. The partner is set as the source before anything else happens.
- 2
It is checked against your accounts
A current customer or an open deal goes to its owner. Anything else is routed like inbound, partner kept.
- 3
The referring partner is told
Accepted and who owns it, or matched to an existing account and why.
- 4
Leads you pass go out with a deadline
To the partner whose territory or speciality fits, with a few days to accept.
- 5
Unaccepted leads come back
To the next partner or to your own team, never left sitting.
- 6
Outcomes are reported per partner
Referrals, conversion to opportunity, and deals won, both ways.
What partner lead sharing is made of
Four parts. The first decides whether the partner gets credit.
Source kept on arrival
The referring partner set on the lead as it is created, in a field routing can't overwrite.
A check before routing
Against accounts, contacts and open opportunities, so a referral for an existing relationship reaches its owner.
A deadline on passed leads
Accept or decline with a reason within a few days, or the lead moves on.
Updates back to partners
In the portal, as the lead moves: accepted, opportunity opened, won or lost.
The Tray Headless prompts
Paste these into Claude Code or Codex with the Tray Headless plugin installed. Each stage runs on its own. The systems named in them are the worked example rather than a requirement, and every prompt says so.
Once per project, run
/tray-workflows:set-workspace
to pick the workspace these build in. Point it at a sandbox first.
- 1
Find where partner leads arrive today
Every route in has to keep the partner.
Headless skills
build-workflowUse build-workflow. The systems in play are Impartner, Salesforce, HubSpot, Gmail and Slack, or whatever we run in those seats. Before you plan anything, tell me which are already authenticated. List every way a partner referral reaches us today: the portal form, emails to partner managers, a shared spreadsheet, a web form with a partner field. For each, show me five recent referrals and whether the partner survived into the CRM.
- 2
Keep the partner, then check and route
Lost on arrival, the partner can't be found later.
Headless skills
build-workflowtray-gotchasUse build-workflow and tray-gotchas. When a referral arrives from any route: Create the lead with the referring partner and the referral date in fields that routing and enrichment never overwrite Match the company to an account: domain first, then name, the same way lead-to-account matching works A current customer or open opportunity goes to its owner, with the referral attached Anything else goes through normal routing, partner kept Tell the partner within the hour: accepted and who owns it, or which existing relationship it matched.
- 3
Pass leads to partners with a deadline
A lead sitting with a partner for a month is a lost lead.
For leads we decide to pass (a territory we don't cover, a service we don't offer), pick the partner from a table partner ops owns, by territory and speciality. Send it through the portal with three working days to accept. Declining needs a reason from a short list. If nobody accepts in time, offer it to the next partner, then return it to our own queue. Never pass a lead on an account where we have an open opportunity.
- 4
Report both directions per partner
So the program can tell what works.
Update the partner in the portal as their referral moves: opportunity opened, won or lost. Weekly, per partner: referrals in, how many reached an opportunity and a win, and their value; leads passed out, accepted, declined with reasons, and returned. Land it in Snowflake as well. A partner whose passed leads are mostly declined for the same reason is telling you what not to send them.
Referral-to-opportunity rate per partner is the number to watch in both directions.
What it connects to
Partners work in the portal. Your team works in the CRM. Leads cross between them.
Impartner
Receive referrals from partners, pass leads to them with a deadline, and show them what happened.
Reads and writes
Salesforce
Create referred leads with the partner kept, check them against accounts and deals, and route them.
Reads and writes
HubSpot
Where marketing captures partner referrals on a web form, read them with the partner field.
Reads
Same build, other stacks
The design does not change if you run something else in one of these seats. The same prompts build it against Microsoft Dynamics 365, Google BigQuery, Microsoft Outlook, Marketo, Databricks or Braze.
Connections in this build
Field mapping, templates and common problems for each pairing: Impartner + Salesforce, HubSpot + Impartner, HubSpot + Salesforce and Gmail + Salesforce.
Named systems are the ones most teams run, not the only ones that work. Each is an authentication in your Tray workspace, referenced by name, so the workflow never holds a credential. Where we have a connector page, the name links to it.
Running it in production
This decides whether a partner gets credit. They will check.
Every route in keeps the partner
The portal, email and web forms all set the referring partner before routing runs.
Passed leads always come back
A deadline to accept and a route home, so no lead sits untouched with a partner.
Credentials stay in the workspace
The portal and the CRM are separate authentications, so a problem on the partner side can't reach the CRM.
Partner ops own the tables
Which partners get which leads, the deadline and the decline reasons open in Tray Build.
Questions people ask
How do you make sure partners get credit for referrals?
Set the referring partner on the lead as it is created, in a field routing and enrichment can't overwrite, from every route a referral can arrive by.
What if a partner refers a current customer?
Send it to the account owner with the referral attached, and tell the partner which relationship it matched. Whether they get credit is a rule your program sets in advance.
How long should a partner have to accept a lead?
A few working days. After that, offer it to the next partner or take it back, so no lead goes quiet.
How is this different from deal registration?
Lead sharing moves early interest between you and partners. Deal registration is a partner claiming an opportunity they are working, checked against your pipeline and protected for a window.
Related guides
Revenue operations
How to build partner account mapping
Bring account overlaps with partners into the CRM, so reps see which partner already works with an account before they start, and partners hear about the right ones. The prompts.
Revenue operations
How to build partner deal registration
Check submissions against pipeline in seconds, protect for a fixed window, expire visibly, and settle conflicts with a rule rather than an argument. The prompts.
Revenue operations
How to build lead routing that assigns in seconds
Match the lead to an account first, evaluate rules in a fixed order, catch what they miss, and time it from arrival. The Headless prompts that build it.
Last reviewed October 2026.