CRM Deal-Based Attribution: Connect HubSpot Deals to AffiliateWP Commissions
Your affiliate program drives great leads, but you can only track direct sales, not the leads that enter your B2B sales pipeline. This means valuable partners who source demo requests and qualified opportunities go unrewarded, leaving you unable to measure the true revenue impact of your affiliate marketing.
This playbook provides a complete solution to reward affiliates for real revenue. By leveraging a HubSpot webhook, you can trigger a Make.com automation the moment a deal is marked 'Won' in your CRM. Make.com then processes the data and instantly creates the corresponding referral in AffiliateWP. This aligns affiliate commissions directly with your sales success, making it perfect for service businesses and B2B companies with a defined sales cycle.
Expected Outcomes
- Accurately attribute closed-won deals and actual revenue to the correct affiliate partner.
- Automate your B2B commission payouts, saving hours of manual reconciliation.
- Incentivize and retain high-value affiliates who excel at driving qualified, sales-ready leads.
- Gain a true ROI for your affiliate program based on revenue, not just top-of-funnel metrics.
- Unlock scalable growth for your service or B2B affiliate program.
Core Tools in This Stack

HubSpot CRM
Visit websiteA comprehensive CRM platform that includes a suite of tools for marketing, sales, content management, and customer service, with a completely free CRM at its core to help businesses manage customer relationships and accelerate growth.
Key Features
- Contact & Lead Management
- Sales Pipeline Visualization
- Deal Tracking and Management
- Email Tracking and Templates
- Meeting Scheduling Tool
- Live Chat and Chatbots
- Reporting and Analytics Dashboards
- Task and Activity Automation
Ideal For
Company Size: Small, Medium
Industries: Technology & Software, Business & Professional Services, Retail & E-commerce, Creative & Media
Pricing
Model: Freemium, Subscription
Tier: Starter
Ease of Use
Very High

Make
Visit websiteMake is a visual platform that lets you design, build, and automate anything — from tasks and workflows to apps and systems — without needing to code. It allows users to connect various apps and services to automate repetitive processes.
Key Features
- Visual drag-and-drop workflow builder
- Extensive library of 1,500+ pre-built app integrations
- Advanced error handling and real-time execution monitoring
- Powerful data manipulation tools (routers, iterators, aggregators)
- Ability to create custom apps and connect to any public API
- Flexible scheduling and webhook triggers for instant execution
- Team collaboration features and user roles
Ideal For
Company Size: Micro, Small, Medium, Large
Industries: Technology & Software, Business & Professional Services, Retail & E-commerce, Creative & Media, Education & Non-Profit, Health & Wellness, Other
Pricing
Model: Free, Subscription
Tier: Low
Ease of Use
Easy
The Workflow
Integration Logic
-
HubSpot Deal Closer for AffiliateWP
When a deal's stage is updated to 'Closed Won' in HubSpot, a deal-based workflow triggers and sends a webhook to a Make scenario. The webhook payload includes a custom property containing the associated AffiliateWP referral ID. Make receives this data, then uses the WordPress REST API to connect to the AffiliateWP instance. It finds the specific referral by its ID and updates its status to 'Paid', closing the loop on the affiliate commission process automatically.
Reward Affiliates for Closed Deals
Learn to connect your CRM to automatically attribute B2B sales revenue back to the partners who earned it.