Track referral conversions for service bookings by collecting the ambassador’s discount code and posting confirmed bookings to Refer Labs.
Add a required question like “Referral / discount code” so the customer can enter the ambassador’s code.
This value is what you’ll post to Refer Labs to credit the correct ambassador.
Use Zapier/Make to trigger on “Invitee Created” and then POST to Refer Labs with the collected code.
Conversion endpoint
POST https://referlabs.com.au/api/discount-codes/redeem
Headers:
Content-Type: application/json
x-pepf-discount-secret: <YOUR_SECRET>
Body:
{
"discountCode": "CODE_FROM_BOOKING_QUESTION",
"orderReference": "CALENDLY-INVITEE-UUID",
"amount": "0.00",
"metadata": {
"platform": "calendly",
"eventType": "Initial consult"
}
}If you collect payment later (invoice/Stripe/Square), you can post the paid amount then instead.
You can track both by posting at booking time and again at payment time (use different orderReference values).