Home/HighLevel/Features/Workflows/HighLevel workflow action to assign leads under an affiliate

Workflows and Automation

HighLevel workflow action to assign leads under an affiliate

In short

The Add Leads Under an Affiliate action connects your lead capture process with the Affiliate Manager. When a workflow runs, it assigns each new contact to a selected campaign and affiliate, ensuring the lead is tracked for reporting and commission purposes while reducing manual steps.

AreaWorkflows · Section
Used forFitness studio, SaaS startup, Ecommerce store
Setup steps21 steps in 8 tasks
Last updatedNovember 17, 2026

01Who this is for

  • Affiliate managers, they can automate crediting leads to the right affiliate without manual entry.
  • Marketing teams, they can ensure form submissions are tied to the correct affiliate campaign for accurate attribution.

02Add leads under an affiliate, explained

The action sits inside the workflow builder under the Affiliate section. After a trigger fires, the block assigns the contact to a campaign and an affiliate based on the mapping method you choose. It works for manual selections, attribution links, or custom field mapping.

The action can be placed in any workflow that already has a trigger, such as a form submission or tag addition. Once configured, the workflow runs in real time, adding the lead to the affiliate manager system and recording the association for later reporting.

03How businesses use add leads under an affiliate

  • Fitness studio. When a new client fills out the membership sign up form, the studio's workflow uses Manual Assignment to place the lead under a specific promotional affiliate, guaranteeing the affiliate receives credit for the referral.
  • SaaS startup. The startup embeds affiliate tracking links in its ads. Leads arriving via those links trigger the Auto Track via Attribution method, which reads the am_id in the URL and automatically assigns the lead to the corresponding affiliate.
  • Ecommerce store. The store receives affiliate IDs through an API and stores them in a custom contact field. The workflow uses Custom Mapping to read that field and assign the lead to the correct affiliate without extra manual steps.

04The numbers and rules that matter

  • A lead can be assigned to only one affiliate per campaign.

05Before you start

  • A workflow trigger must be defined before adding the Add Leads Under an Affiliate action.

06How to set up and use add leads under an affiliate in HighLevel

Access the Workflow Builder

  1. Open Automation > Workflows in the left hand menu.
  2. Click Create Workflow in the upper right corner.
  3. Choose a recipe, template, or start from scratch to open the builder.

Add a Workflow Trigger

  1. Add a trigger block such as Form Submitted or Tag Added.
  2. Save the trigger; without a trigger no leads enter the workflow and the action will not run.

Add the Affiliate Action

  1. Click the + Add button inside the builder and select Add Action.
  2. Scroll to the Affiliate section and choose Add Leads Under an Affiliate.
  3. The action block appears ready for configuration.

Select the Action Type

  1. After the action appears, open its settings to choose an assignment method.

Configure Manual Assignment

  1. Select Manual under Choose Action Mapping.
  2. Pick a campaign from the dropdown, then select an affiliate from the list that appears.
  3. Save the configuration; all new leads will be assigned to this affiliate.

Configure Auto Track via Attribution

  1. Select Auto Track Affiliate via Attribution under Choose Action Mapping.
  2. Choose the Attribution Source, First Attribution or Latest Attribution.
  3. Save the configuration; leads arriving with an am_id in the URL are automatically credited.

Configure Custom Mapping

  1. Select Custom Mapping under Choose Action Mapping.
  2. Enter the source, a custom contact field (e.g., {{contact.custom_field.am_id}}) or a workflow variable (e.g., {{workflow.am_id}}).
  3. Save the configuration; the system matches the ID to the correct affiliate.

Test and Publish

  1. Click Test Workflow in the top right corner to simulate a lead entry.
  2. Review the Execution Logs to confirm correct affiliate assignment.
  3. Toggle the workflow status from Draft to Publish to activate it.

07What it looks like in HighLevel

08Settings that matter

  • Choose Action Mapping. Determines which method is used to assign the lead to an affiliate.
  • Manual. Lets you pick a specific campaign and affiliate for every incoming lead.
  • Auto, Track Affiliate via Attribution. Assigns leads based on the am_id present in the inbound URL.
  • Custom Mapping. Uses a custom contact field or workflow variable to match an affiliate ID.
  • Attribution Source. Selects whether the first or latest affiliate interaction receives credit.
  • First Attribution. Credits the affiliate who first referred the contact.
  • Latest Attribution. Credits the most recent affiliate interaction before the lead enters the workflow.

09Things to know before you rely on it

  • A lead can be assigned to only one affiliate per campaign.
  • If the supplied am_id does not match an existing affiliate, the workflow finishes without assigning the lead.

10If something goes wrong

  • No matching affiliate is found for the am_id. Verify that the am_id in the URL corresponds to an affiliate that exists in the selected campaign.
  • Need to change an automatically assigned affiliate. Reassign the lead manually from within the Affiliate Manager after the workflow runs.

11How it connects to the rest of HighLevel

Michael's take

Michael Reimer
Michael ReimerFounder of CRM Pros, HighLevel Commander and Certified Admin

Wondering how to keep affiliate crediting honest without chasing every lead? The Add Leads Under an Affiliate action ties your lead capture straight into the Affiliate Manager so each contact lands under the right partner as soon as it enters your workflow. It wipes out the copy and paste step and lets you trust the data for payouts and reporting.

If I were setting this up, I’d start with a simple manual assignment to confirm the flow works, then experiment with autotrack attribution for the traffic that comes from affiliate links. Run a few test submissions, watch the execution log, and make sure the right affiliate shows up before you push it live.

Get More InformationOpens on HighLevelPublished November 2, 2026 · Updated November 17, 2026

Common questions

Common questions about add leads under an affiliate.

What happens if the am_id does not match any affiliate?

The workflow completes without assigning the lead. Check that the am_id belongs to a valid affiliate in the campaign.

Can I manually change the affiliate after the workflow runs?

Yes. You can open the Affiliate Manager and reassign the lead to a different affiliate if needed.

Do I need a sale or commission for the action to work?

No. Leads can be assigned to affiliates regardless of whether a commission or reward is attached.

Can a lead be linked to multiple affiliates in one campaign?

No. Only one affiliate can be assigned to a lead per campaign to keep tracking accurate.

How do I test the workflow before going live?

Use the Test Workflow button with sample data, then review the Execution Logs to ensure the correct affiliate is recorded.

Next step

Pick the features that matter. Then get the plan that unlocks them.

Explore the features you want, start with the five at the top, and upgrade through my link when you are ready. The bonuses and the team come with it.

The features directory explains every HighLevel feature in plain English. Browse it to see what the platform can do.

Back to the FeaturesSee the full details
⌃

Site preview

Explore the next page

This destination is reserved in the page inventory and is not built yet.