Start next best action as a short, ordered set of eligibility, suppression and priority rules that your lifecycle team can read, test and explain. Add a ranking model only when those rules are stable, your features match between training and serving, and you can measure what the model adds over the rules alone. Rules decide what's allowed, and a model only chooses between the allowed options.
Key Takeaways
- Build eligibility, suppression and priority rules before any ranking model.
- Databricks states that ranking offers is a modelling step and not a final offer decision.
- Add a model only when features match between training and serving, someone owns monitoring and a holdout test is ready.
- Let the rules narrow the options, so the model only ranks messages that are already allowed.
- Prove the model against the rules-only version, with complaint and opt-out rates as guardrails.
Why does next best action need rules before a model?
A model ranks options. It doesn't know which options you're permitted to show, and it can't decide whether a customer should be contacted at all. Databricks says this directly in its real-time recommender write-up: teams must implement eligibility, consent, suitability and suppression controls before production, because ranking offers is a modelling step and not a final offer decision.
That's the case for starting with rules. The rules layer is the part of next best action your team is accountable for, so it should be the first thing you build and the easiest thing to read. A ranking model is an optimisation you add once the foundations hold.
Our post on martech stratification draws the same line between the deterministic layers, such as consent, identity, audience rules and send limits, and the layer that chooses inside them. The ranking model sits in that second layer.
What does each layer of a next best action system do?
In practice the layers separate cleanly. Each has a different owner and a different way to test it.
| Layer | Question it answers | Typical owner | How you test it |
|---|---|---|---|
| Eligibility and consent | May this customer receive this message at all? | Data and privacy leads | Known test customers, including opted-out ones |
| Suppression and contact pressure | Have we contacted them enough already? | Lifecycle lead | Replay recent sends and check what would have been blocked |
| Priority | Which eligible message matters most right now? | Lifecycle lead with product | Walk named scenarios and agree the winner |
| Ranking model | Among equal-priority options, which will this person respond to? | Data science | Holdout test against the rules-only version |
Only the last row needs a data scientist. The first three need a clear owner and a written decision. Our martech strategy service covers how CRM, CDP, analytics and messaging tools should fit together, which helps when you're deciding which system owns eligibility and suppression.
How should you sequence the build?
Build the layers in table order. Don't start the next one until the previous one has a named owner and a test. Eligibility comes first because everything else depends on it, and a priority rule that ignores consent creates a compliance problem that no amount of model tuning will fix.
Keep the priority layer to a short, ordered list. A short list is easy to defend in a review, because someone can point at the rule that fired. When you can't explain why a customer received a message, you've lost the main benefit of the rules layer.
What does a model need before it earns a place?
Consistent data comes first, because a model that sees different features in production from those in testing will behave differently there. Databricks warns that features must be computed the same way during training and serving to avoid train/serve skew, which can degrade model accuracy. Snowflake's documentation says its feature store ensures consistency between training and inference to reduce training-serving skew.
Monitoring comes second. Snowflake documents tracking models in production with performance and drift metrics and alerts for performance thresholds. Decide who watches those alerts before launch, because a ranker nobody monitors will decline unnoticed behind the rules.
A small candidate set comes third. Databricks documents a recommendation funnel in which retrieval models handle large sets and reranking models refine them, and its accelerator scores all 40 offers directly with no candidate-narrowing step. We treat the rules layer as the narrowing step, so the model only ever ranks options that are already allowed.
What does a worked example look like?
Take a hypothetical subscription app. It's an illustration, not a client. The rules say to never message a customer who has opted out of marketing, to skip anyone already contacted today, and to put the upgrade offer first for anyone whose trial ends this week.
For one customer, two messages survive the first two rules: a feature tip and an upgrade offer. Their trial ends this week, so the priority rule picks the upgrade offer and the model is never consulted.
Later, the team sees that many customers whose trials aren't ending sit on a tie between several equal-priority tips. That's where a ranker earns its place. It orders the tied tips, the team holds back a group of customers on the rules-only version, and the comparison decides whether the model stays.
Which failure modes should you plan for?
Model first, rules later. The ranker offers messages to people who shouldn't receive them, and the team patches the gaps with ad hoc exclusions. Each exclusion is a rule nobody designed.
Rule sprawl. Every stakeholder adds a rule and nobody can predict the outcome of the set. Give each rule an owner and a reason, and retire any rule that never fires.
No baseline. The model launches with nothing to compare against, so nobody can say what it added. Keep the rules-only version running for a held-back group from the first day.
If your ranking layer includes an agent or a prompt, keep its instructions under version control. Our post on version control for agent instructions explains how a frozen version and a movable alias make rollback a single change.
How do you prove a model beats the rules?
Databricks suggests comparing the ranker against a simpler baseline using incremental accepted offers per eligible session and downstream contribution margin, with complaint and opt-out rates as guardrails. Its baseline was a batch-only model. Ours is the rules-only programme, because that's the version your team already runs.
Databricks also states that its accelerator uses synthetic data and doesn't claim a conversion uplift. Treat any vendor demo as a starting point for measurement and not as a forecast. Agree the stop conditions on complaints and opt-outs before the test begins.
Our post on natural-language analytics checks describes the same habit of agreeing an approved answer before you test. Our marketing analytics service covers the reporting layers behind a comparison like this.
Frequently Asked Questions
1. Do we need a data scientist to start next best action?
No. The first three layers need a lifecycle owner and reliable eligibility data. A data scientist joins when you add the ranking layer.
2. When is a model worth adding?
Add one when the rules leave frequent ties between eligible options, your features are consistent between training and serving, someone owns monitoring, and a holdout test is ready to run.
3. Can a model replace the suppression rules?
We'd keep them outside the model. Databricks lists eligibility, consent, suitability and suppression controls as work teams must implement before production, separate from ranking offers.
4. What should a test of the model measure?
Databricks suggests incremental accepted offers per eligible session and downstream contribution margin, with complaint and opt-out rates as guardrails. Compare against the rules-only version, not against nothing.
5. Does this advice change for real-time use?
The order stays the same. Databricks reports that a complete ranking request, including online feature retrieval and inference, fits within a 50 ms budget on the smallest endpoint size in its accelerator. That figure comes from a synthetic-data demo, so your results will depend on your own set-up.
Sources
- Databricks, Build a real-time next-best-offer recommender using Databricks Feature Views. Retrieved 04 Dec 2026.
- Databricks, Train recommender models. Retrieved 04 Dec 2026.
- Snowflake, Snowflake ML: End-to-End Agentic ML. Retrieved 04 Dec 2026.
- Written by CustomerIK.
CustomerIK works across martech strategy, marketing analytics and customer data management.
If you're deciding which rules should come before a ranking model, let's talk.




