How to track lead-to-MQL conversion rate by source and report weekly to Slack
Track HubSpot lead-to-MQL conversion rates by source and report weekly to Slack. Compare n8n, Make, code, and Claude Code approaches.

This recipe includes a downloadable n8n template and Claude Code skill.
Workflow
Why track conversion by source?
Marketing teams spend $10,000-50,000/month across channels without knowing which ones actually produce qualified pipeline. Your paid ads might generate 500 leads but only 10 MQLs (2% conversion), while organic search produces 50 leads and 15 MQLs (30% conversion). Without source-level conversion tracking, you're optimizing spend based on volume instead of quality.
The typical workflow — exporting from HubSpot, pivoting in a spreadsheet, pasting into Slack — takes 30-45 minutes and usually happens monthly at best. By then, an underperforming channel has burned through weeks of budget. A weekly automated report surfaces these gaps within days, not months.
How it works
Every approach in this guide follows the same pattern:
- Trigger on a weekly schedule (usually Monday morning)
- Query HubSpot for contacts created in the last 7 days, pulling
hs_analytics_sourceandlifecyclestageproperties - Run a second query filtered to contacts where
lifecyclestage = marketingqualifiedleadto isolate MQLs - Calculate conversion rates per source by comparing lead counts to MQL counts
- Post a formatted report to Slack with per-source breakdown and overall conversion rate
📈 Weekly Lead-to-MQL Conversion Report
Period: Feb 24 – Mar 2
Organic Search — 124 leads → 31 MQLs (25.0%)
Paid Ads — 487 leads → 34 MQLs (7.0%)
Referral — 38 leads → 14 MQLs (36.8%)
Webinar — 92 leads → 19 MQLs (20.7%)
Total: 741 leads → 98 MQLs (13.2%)
What you'll need
- HubSpot account with API access
- Lifecycle stages configured (at minimum: Lead, MQL)
- Lead source tracking in HubSpot (via UTM parameters or original source property)
- Slack workspace with bot access
Which approach should I use?
- Code + Cron if you want zero ongoing cost and full control over the query logic. Best for teams with a developer who can maintain the script. Runs on GitHub Actions for free.
- n8n if you want a visual workflow you can modify without code. Free self-hosted or $24/mo cloud. Good balance of flexibility and maintainability.
- Make if your team already uses Make for other automations. Requires Core plan ($29/mo) for the Code module needed to calculate percentages. Credit-efficient at ~20 credits/month.
- Claude Code if you want conversational flexibility — ask for different time windows, specific source breakdowns, or ad-hoc comparisons without changing any configuration. Best when you need on-demand reports during meetings or strategy sessions.
Select an approach below to see the full step-by-step guide.
Compare approaches
| Approach | Complexity | Cost | Latency | Code | Reliability |
|---|---|---|---|---|---|
n8n | medium | $0-24/mo | polling | low | 24/7 cloud |
Make | medium | $10-29/mo | polling | none | 24/7 cloud |
Code + Cron | medium | $0 | real-time | high | Self-hosted |
Claude Code | low | Usage-based | on-demand | none | On demand |
n8n
mediumMake
mediumCode + Cron
mediumClaude Code
lown8n
mediumSchedule → HubSpot search leads and MQLs → Code to calculate rates → Slack
Make
mediumScheduler → HubSpot searches → Aggregators for counts → Slack message
Code + Cron
mediumPython script to query HubSpot for lead/MQL counts by source and post to Slack
Claude Code
lowGuided Claude Code skill — ask Claude to generate a conversion report or analyze lead sources conversationally
Related Recipes
How to post a daily Slack leaderboard of rep activity from HubSpot
HubSpot + Slack
How to send a weekly Slack report on HubSpot sequence performance
HubSpot + Slack
How to automate a weekly pipeline report with HubSpot and Slack
HubSpot + Slack
How to automate a weekly pipeline report with Salesforce and Slack
Salesforce + Slack
Frequently Asked Questions
Looking to scale your AI operations?
We build and optimize automation systems for mid-market businesses. Let's discuss the right approach for your team.