CPL creep is rarely dramatic — it's a slow bleed that shows up three weeks too late. By the time your monthly report surfaces a spike, you've already wasted two weeks of budget on campaigns that were misfiring from day one. This stack gives you a weekly CPL monitoring workflow: pull cost-per-lead data from Google Ads and LinkedIn Ads, cross-reference it with CRM lead quality, run it through a structured Claude anomaly detection prompt, and get a Slack alert before CPL drift becomes a budget problem you have to explain to leadership.
The Stack
The Prompt
This stack is built around the CPL Anomaly Detection Prompt. Here's the abbreviated version — the full prompt with all variables and usage notes is on its own page.
You are a B2B paid media analyst running a weekly CPL health check. Review the channel cost and lead quality data below. For each active campaign, calculate CPL for the current week vs. prior 4-week average. Flag any campaign where CPL has increased more than 20% week-over-week. Cross-check flagged campaigns against CRM lead quality — distinguish true cost increases from lead mix shifts that are inflating CPL without changing actual media efficiency.[ ... continued — see full prompt ]
The Workflow
-
Export CPL data by channel and campaign
Pull the last 7 days and prior 4-week average from Google Ads and LinkedIn Ads — spend, CPL, and conversion volume by campaign and audience. Export as CSV or pull via Ads API.
-
Pull CRM lead quality data
Export MQL-to-SQL conversion rate by source from Salesforce or HubSpot for the same period. This is what separates real CPL problems from lead mix noise.
-
Paste both datasets into the CPL Anomaly Detection prompt
Add any context you know upfront — budget changes mid-week, new campaigns launched, known tracking gaps. Claude needs the full picture to separate signal from noise.
-
Review Claude's variance analysis
Claude flags campaigns where CPL has spiked more than 20% week-over-week and cross-checks against lead quality to distinguish true cost increases from audience or lead mix shifts.
-
Send the alert report to Slack
Paste the formatted output into your paid media Slack channel. Tag the owner of each flagged campaign. Flag any item that needs a budget decision before the week is out.
What This Replaces
- Manual weekly CPL tracking in spreadsheets that nobody looks at until it's too late
- Delayed discovery of CPL spikes that have already burned two weeks of budget
- Confusing real cost increases with lead mix shifts that inflate CPL without changing media efficiency
Related Stacks
New stacks drop weekly.
Each one includes the tools, the Claude prompt, and the workflow logic. Free — built for in-house B2B demand gen managers.