Most "AI in marketing" advice stops at "use ChatGPT to write emails." That's table stakes, and it doesn't move pipeline.
The real leverage is in systems: predictive scoring, enrichment pipelines, and personalization that runs without a human babysitting it. Here are seven you can actually build, with the engineering angle for each.
1. Predictive Lead Scoring That Learns
Rule-based scoring (+10 for opening an email) rots fast. Predictive scoring uses your closed-won and closed-lost history to weight signals automatically.
Start simple. Pull your CRM history, featurize it, and train a classifier. You don't need a deep net for this.
import pandas as pd
from sklearn.ensemble import GradientBoostingClassifier
from sklearn.model_selection import train_test_split
df = pd.read_csv("crm_export.csv")
features = ["company_size", "pages_viewed", "demo_requested",
"email_domain_is_business", "days_since_first_touch"]
X = df[features]
y = df["became_customer"]
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
model = GradientBoostingClassifier().fit(X_train, y_train)
# Score a new lead 0-1
lead = pd.DataFrame([{
"company_size": 250, "pages_viewed": 8, "demo_requested": 1,
"email_domain_is_business": 1, "days_since_first_touch": 3
}])
print(f"Conversion probability: {model.predict_proba(lead)[0][1]:.2f}")
Push that score back into your CRM and let sales sort by it. The model retrains monthly as new deals close.
2. Automated Lead Enrichment
A form capture gives you an email. An enrichment pipeline turns it into a full profile: company size, tech stack, funding, headcount growth.
Wire an enrichment API (Clearbit, Apollo, or People Data Labs) into your intake webhook. In n8n or a Lambda, the flow is: form submit → enrich → score → route.
The payoff isn't the data itself. It's that your scoring model in step 1 now has richer features to work with, and your reps stop wasting time on unqualified traffic.
3. Intent Signal Aggregation
Buyers research before they ever fill a form. Third-party intent data (Bombora, G2 buyer intent) tells you which accounts are spiking on topics you care about.
The engineering job is deduplication and decay. An account that spiked three weeks ago is colder than one spiking today. Store signals with timestamps and apply a decay function:
import math
def intent_score(signal_strength, days_ago, half_life=7):
decay = math.exp(-math.log(2) * days_ago / half_life)
return round(signal_strength * decay, 2)
print(intent_score(90, 2)) # 76.61 - still hot
print(intent_score(90, 21)) # 11.25 - going cold
Feed the decayed score into your routing logic so SDRs hit accounts while they're actually in-market.
4. Personalization at the Segment Level
Forget one-to-one personalization tokens. Real personalization means the content changes based on who's reading.
Use an LLM to generate variant copy per segment, then A/B test. Give the model your ICP definitions and a base message, and have it rewrite for each persona's priorities (a CFO cares about payback period; a CTO cares about integration effort).
The key is constraining output. Pass a strict schema and validate before anything ships. Never let raw model output go straight to a send queue.
5. Conversational Qualification Agents
A chatbot that answers FAQs is a deflection tool. A qualification agent is a pipeline tool.
Build an agent with function calling so it can check calendar availability, look up account data, and book meetings mid-conversation. The difference between a toy and a system is tool access.
const tools = [
{
name: "book_meeting",
description: "Book a demo when lead is qualified",
parameters: {
type: "object",
properties: {
email: { type: "string" },
preferred_time: { type: "string" },
pain_point: { type: "string" }
},
required: ["email", "pain_point"]
}
}
];
// The model decides when to call book_meeting based on
// its qualifying conversation - not a rigid decision tree.
The agent qualifies naturally, then acts. No form, no delay, no lead going cold overnight.
6. Churn and Expansion Prediction
B2B growth isn't only new logos. The same modeling approach from step 1 works for existing accounts: predict which customers are at risk and which are ready to expand.
Features shift to product usage, support ticket volume, and login frequency. A drop in weekly active seats is often a churn signal months before renewal. Surface it to CS before it's a fire drill.
7. Content Gap Analysis
Use embeddings to map what you've published against what your prospects actually search. Vectorize your content library and your keyword targets, then find the clusters with no coverage.
This turns content strategy from guesswork into a measurable gap map. You write the pages that fill holes in the buyer journey, not the ones that felt fun to write.
Where to Start
Don't build all seven at once. Pick the bottleneck.
If reps waste time on bad leads, build scoring and enrichment first. If good leads slip through overnight, build the qualification agent. If you're drowning in traffic that never converts, start with content gaps and personalization.
The teams winning with AI aren't the ones with the fanciest models. They're the ones who wired a decent model into a workflow that runs every day without anyone thinking about it. Systems beat tools.
Originally published at getmichaelai.com
Top comments (0)