Affiliate Webhooks (Beta) - Support Article

Modified on: Thu, 3 Dec, 2026 at 10:23 AM

Affiliate Webhooks send you a real-time alert when a customer you referred is at risk of leaving: a failing payment, an unfinished setup, or an attempt to cancel. Connect these alerts to a HighLevel workflow and you can step in early, help the customer stay, and protect your recurring commission.


TABLE OF CONTENTS

  • What Are Affiliate Webhooks?

  • Before You Begin

  • How To Set Up Affiliate Webhook Alerts

  • Webhook Payload Reference

  • Put Your Webhook Data to Work

  • Frequently Asked Questions

  • Related Articles

What Are Affiliate Webhooks?

A webhook is an automatic message sent to a URL you choose the moment something happens. Affiliate Webhooks send these messages for three events in a referred customer's journey:


Event

When it is sent

Why it matters

Payment Failure

After the 4th failed payment retry. HighLevel retries a failed payment up to 8 times (after the first failed charge) before the subscription is canceled.

You have time to reach out before the final retry and a possible cancellation.

Onboarding Pending

2 days after signup and again 2 days after the first successful payment, if onboarding is still incomplete.

Customers who never finish setup are the most likely to leave early.

Cancellation Attempt

When a customer starts to cancel but does not complete the cancellation. If they give a reason, it is included.

Your clearest chance to step in with help or an offer.

Note: An alert does not mean the subscription has ended. In every case, there is still time to act.


Before You Begin

Make sure you have the following:

  • Affiliate Webhooks enabled: This feature is in beta. Find it in Labs and turn it on.

  • Agency Admin access: Only Agency Admins can create and manage webhooks.

  • A sub-account for your workflows: Ideally the sub-account where you already manage your affiliate leads and customers.

  • Custom Fields ready: You'll create these in Step 1 to store the webhook data on each contact.

Important: Affiliate Webhooks are set up in a different place from your standard affiliate or FirstPromoter settings. You'll find them under Agency View > Affiliate Portal > Webhook.


How To Set Up Affiliate Webhook Alerts

Setup takes about 10 minutes per event. You'll create the webhook in Agency View, connect it to a workflow in your sub-account, and save the alert data on the matching contact.

At a glance: Create custom fields → Start the webhook → Add an Inbound Webhook trigger → Send a test → Map the payload → Find the contact → Save the data → Publish

Tip: Keep Agency View and your sub-account open in two browser tabs. You'll switch between them during setup.

Step 1: Create Custom Fields

  1. In your sub-account, go to Settings > Custom Fields.

  2. Create the fields you want to store. We recommend:

    • Affiliate Notification Type (Payment Failure, Onboarding Pending or Cancellation Attempt)

    • Cancellation Reason

    • Plan Type and Plan Amount (optional)

[Screenshot: Settings > Custom Fields]

Step 2: Start a Webhook in Agency View

  1. In Agency View, click Affiliate Portal in the left menu.

  2. Click the Webhook tab in the top bar, then Create Webhook.

  3. Enter a name and select an Event type.

Leave this page open. You'll add the Webhook URL in Step 4.

[Screenshot: Affiliate Portal > Webhook tab > Create Webhook]

Step 3: Add an Inbound Webhook Trigger

  1. In your sub-account, go to Automation > Workflows and create a workflow from scratch.

  2. Click Add New Trigger and select Inbound Webhook.

  3. Click Copy to copy the webhook URL HighLevel generates.

[Screenshot: Inbound Webhook trigger with URL]

Step 4: Paste the URL and Send a Test Event

  1. In Agency View, paste the URL into the Webhook URL field.

  2. Click Send Test Event and wait for the confirmation.

  3. Tick Make this webhook live and click Create Webhook.

[Screenshot: Webhook URL field and Send Test Event]

Step 5: Map the Sample Payload

  1. In your workflow, open the Inbound Webhook trigger.

  2. Under Mapping References, click Check for new requests and select the test payload.

  3. Map Email and Affiliate Notification Type, then click Save Trigger.

[Screenshot: Mapping References with sample payload]

Step 6: Find the Matching Contact

The customer usually already exists in your CRM, so find them instead of creating a new contact.

  1. Add a Find Contact action.

  2. Search by the email from the webhook payload.

[Screenshot: Find Contact action]

Step 7: Save the Data to the Contact

  1. Add an Update Contact Field action.

  2. Map the payload values into the Custom Fields from Step 1.

[Screenshot: Update Contact Field mapping]

Step 8: Save and Publish

Click Save, then toggle the workflow to Publish.

Important: Alerts are only processed once the workflow is published. Repeat Steps 2–8 for each event you want to receive.


Webhook Payload Reference

Every alert arrives with the same set of fields. Use them when mapping your workflow in Steps 5 and 7.


Field

What it means

promoterId

Your unique affiliate ID.

productType

The product the referral is subscribed to. Currently always agency_subscription.

eventType

Which alert this is: payment_failure, onboarding_pending or try_to_cancel (Cancellation Attempt).

agencyOwnerName

Name of the referred agency's owner.

planType

The referral's current plan.

planAmount

The referral's current plan price, in US dollars (USD).

leadEmail

The referral's email address. Use this to find the contact.

leadContact

The referral's phone number.

cancellationReason

Cancellation Attempt only, and only if the customer gave a reason. Sent as a system value, for example too_expensive.

webhookId

A unique ID for this alert. If you receive the same ID twice, it is a repeat.

Note: A field can be empty or missing if that information isn't available for the customer, for example a customer with no phone number on file. Build your workflow so it still runs when a field is blank.

Sample – Cancellation Attempt

{

  "promoterId": "promoter_456",

  "productType": "agency_subscription",

  "eventType": "try_to_cancel",

  "agencyOwnerName": "Jane Doe",

  "planType": "agency_unlimited",

  "planAmount": 297,

  "leadEmail": "customer@example.com",

  "leadContact": "+1234567890",

  "cancellationReason": "too_expensive",

  "webhookId": "wh_abc123"

}

Payment Failure and Onboarding Pending alerts carry the same fields, without cancellationReason.


Put Your Webhook Data to Work

Once the alert data is on the right contact, use it to trigger follow-up automatically.


Event

Ideas for your workflow

Payment Failure

Send a payment reminder · Start a payment recovery sequence · Notify your team · Create a follow-up task

Onboarding Pending

Send an onboarding reminder · Start an educational sequence · Offer a setup call · Create a follow-up task

Cancellation Attempt

Start a retention workflow · Notify your team · Send a message based on the reason · Route to a save sequence

Branch on the Cancellation Reason

Use an If/Else action on the Cancellation Reason field to send a different message for each reason, for example price, missing features, low usage or technical issues. Match the system value exactly as it arrives in the payload (for example too_expensive).

Handle Duplicate Alerts

The same alert can occasionally be sent twice. Save the webhookId to the contact and skip any alert whose ID you've already processed.


Frequently Asked Questions

Who can set up Affiliate Webhooks? Only Agency Admins can create and manage webhooks.

How do I get access to Affiliate Webhooks? The feature is in beta. Find Affiliate Webhooks in Labs and turn it on.

Does an alert mean the subscription is already canceled? No. Payment Failure is sent after the 4th failed retry, before the final attempt. Cancellation Attempt means the customer started to cancel but didn't complete it. In both cases, there is still time to act.

Can I receive more than one Onboarding Pending alert for the same customer? Yes. HighLevel checks 2 days after signup and again 2 days after the first successful payment. If onboarding is still incomplete at each check, you receive an alert.

Can I get alerts for only one or two events? Yes. Each webhook is set up for one event type, so create webhooks only for the events you want.

What if I receive the same alert twice? Check the webhookId. If it matches an alert you've already received, it is a repeat and you can ignore it.

Why is a field empty in my alert? A field is left empty or missing when that information isn't available for the customer, for example no phone number on file.

What currency is planAmount in? All plan amounts are sent in US dollars (USD).

My test event didn't arrive in the workflow. What should I check? Make sure you copied the full URL from the Inbound Webhook trigger, pasted it into the Webhook URL field, and clicked Check for new requests after sending the test.

I triggered an event but nothing happened in my workflow. Why? Check that the webhook is live, its Event type matches the event, and the workflow is published.

Will more events be added? Yes. This is version 1 with three events. More are planned based on affiliate feedback.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article