Generate a unique referral tracking token or URL per referring employee when they share a job link from your referral portal; embed this token as a URL parameter that persists through the application flow.
Capture the referral token from the application URL on submission and store it alongside the candidate record and application in the ATS — use a custom field or tag if the ATS does not natively support referral source tracking.
Implement deduplication: if the referred candidate already exists in the ATS from a prior application, associate the referral attribution to the existing record rather than creating a duplicate.
Trigger a referral bonus eligibility event when the referred candidate reaches a qualifying milestone (such as hire, or completion of a probationary period) by listening to the ATS webhook for stage or status changes.
POST the referral event to your referral program system with the referring employee ID, candidate ATS ID, job ID, and milestone timestamp so the bonus or reward can be processed.
Build an audit log of all referral attributions and payout-triggering events for HR and finance reconciliation.
Known gotchas
Referral tokens embedded in URLs can be stripped by email clients, privacy proxies, or link-shorteners in the sharing chain — validate what percentage of applications actually carry through the token in testing before relying on it for payouts.
Self-referrals (employees referring themselves for other roles) and gaming (generating referral links for candidates already in the pipeline) require explicit policy enforcement in the integration logic to prevent invalid bonus payouts.
ATS stage-change webhooks may fire before the hire is fully confirmed in the system — gate referral bonus triggers on a confirmed hire status rather than a preliminary stage move to avoid premature payouts.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp