Fine-Tune Engagement Scoring in Marketing Cloud Next with Score Reset and Custom Decay

Tips from the Trenches #028
Learn how to reset engagement scores in Marketing Cloud Next, then reuse your native scoring rules to build a custom score that decays over time.
On this page

A contact earns 40 engagement points during our annual customer conference. Thirty days later, we’re deciding whom to invite to a follow-up workshop. How much should those 40 points count when we build the invitation list?

If we want to base invitations on what people do after the conference, we can run the Reset Score action when the event ends. Introduced in Winter ’27, this Marketing Cloud Next action sets the contact’s raw engagement balance to zero. The cutoff applies to all activity counted by the model up to that moment, including activity outside the conference. A click on the workshop agenda the following week can earn fresh points.

If we want the conference activity to carry less weight over time, we can build a custom engagement score that decays. Suppose the conference was the contact’s first recorded engagement and their native balance is still 40 points. With a deduction of one point per day since that first engagement, their adjusted score is 10 points when we build the invitation list. We’ll calculate that score separately using the points from our existing model, so marketers can keep managing their engagement rules in one place.

How a People Scoring Model Turns Rules into Scores

Where did our conference contact’s 40 points come from? In Marketing Cloud Next, we define engagement rules in the scoring UI. For each rule, we choose which activity counts and how many points it adds or subtracts. We also define fit rules and decide how much engagement and fit each contribute to the overall people score. We cover the setup in our scoring model deep dive.

In this example, a form submission adds 10 engagement points, and engagement carries 75% of the overall score.

We’ll follow four Calculated Insights in Data 360. Individual Engagement Score calculates engagement points for each source Individual. Marketing Engagement Score gives us the raw and normalized engagement scores at the Unified Individual level. We use its raw score as the starting balance for decay.

For each Unified Individual, the Overall Marketing Score Calculated Insight provides the engagement score, the fit score, and the combined people score.
Calculated InsightScoring levelWhat it gives us
Individual Engagement ScoreSource IndividualRaw engagement points and a normalized engagement score for each source record.
Marketing Engagement ScoreUnified IndividualThe raw and normalized engagement scores for each Unified Individual. The raw score is our starting balance for decay.
Marketing Fit ScoreUnified IndividualA fit score that shows how closely the person matches the profile defined by our fit rules.
Overall Marketing ScoreUnified IndividualThe engagement score, the fit score, and the overall people score that combines them using the weights we set in the model.

Our conference contact earned 40 raw points. Is that high enough to put them near the top of our workshop invitation list? Their normalized engagement score shows how those 40 points rank across the scored population.

What Does a Normalized Engagement Score of 50 Mean?

A normalized engagement score of 50 means the person’s raw point balance holds the middle rank among the distinct balances in the scored population. The scoring model uses DENSE_RANK to put those balances in order. People with the same balance share a rank, and the next distinct balance takes the next rank.

Suppose four people have 5, 20, 20, and 80 raw points. Their ranks are 1, 2, 2, and 3. On a scale from 0 to 100, their normalized scores are 0, 50, 50, and 100. The two people with 20 points both score 50 because 20 is the middle of the three distinct balances.

The model combines the normalized engagement score with the fit score to calculate the overall people score. In our custom calculation, we’ll apply decay to each person’s raw points first, then rank the adjusted balances.

Reset Engagement Scores in Marketing Cloud Next

With the engagement score reset introduced in Winter ’27, we can set a cutoff for a person’s engagement history. When the model recalculates the score, it excludes activity at or before that cutoff. Suppose a prospect returns for a new buying cycle. We can reset their engagement score so that last year’s conference attendance no longer counts, while a demo request submitted after the reset earns points under the same scoring rules.

How the Data Model Records the Reset

When we reset the engagement score for a lead or contact, Salesforce creates a Lead Score Adjustment or Contact Score Adjustment record. In Data 360, the corresponding data lake objects both map to the Individual Score Adjustment data model object (IndividualScoreAdjustment_std__dlm). This gives the scoring model a common way to read a reset for either type of record.

The adjustment identifies the lead or contact and the scoring model. For a reset, ScoreDimensionType is ENGAGEMENT, AdjustmentType is SET_TO, and AdjustmentNumber is 0. The field that matters for recency is EffectiveDateTime. It records when the reset took effect and gives the model the cutoff it uses on its next calculation.

View the fields on Individual Score Adjustment
Field API nameWhat it tells us
AdjustmentType__cFor a reset, SET_TO tells the model to start from a new raw score balance.
AdjustmentNumber__cThe new balance. A reset sets it to 0.
EffectiveDateTime__cThe cutoff. The model excludes engagement that occurred at or before this timestamp.
ScoringModelIdentifier__cWhich scoring model the reset applies to.
ScoreDimensionType__cWhich part of the model the reset affects. For an engagement reset, the value is ENGAGEMENT.
SourceRecordType__c
SourceRecordIdentifier__c
The source record type (LEAD or CONTACT) and the ID of that lead or contact.
AdjustmentSourceType__c
SourceFlowIdentifier__c
Why the adjustment was recorded and, if a flow created it, which flow did so.
ContextObjectType__c
ContextObjectIdentifier__c
Optional business context, such as the opportunity that prompted the reset. Linking an opportunity here does not limit the reset to its activity.
Id__c
KQ_Id__c
KQ_SourceRecordIdentifier__c
The adjustment’s own ID and the key qualifiers Data 360 uses to distinguish identifiers across sources.
DataSourceId__c
DataSourceObjectId__c
InternalOrganizationId__c
cdp_sys_record_currency__c
System metadata for the data source, source object, organization, and currency.

Use a Marketing Flow to Reset Engagement Scores

Before we build the flow, we republish the scoring model. This updates its Calculated Insights so they take resets into account, even if we keep every scoring rule as it is. To use the Reset Score action in Flow Builder, we need the ManageAdHocScoring permission.

For our conference example, we use an automation event-triggered flow. The Get Attendees element retrieves the campaign members who attended. We loop through those records and add each attendee’s lead or contact ID to the ConferenceAttendees collection.

After the loop, we map ConferenceAttendees to recordIds. We use scoreDimension to target engagement, scoringModelIdentifier to identify our published scoring model, and adjustmentSourceType to record that the reset came from a flow.

The cutoff is the moment the action runs. If the action runs a week after the conference ends, the reset also excludes engagement from that intervening week. To verify the result, we check one attendee’s score adjustment record for the effective timestamp, then check their raw engagement balance after the related Calculated Insights recalculate.

Build a Custom Engagement Score That Decays over Time

How much should our conference contact’s 40 points count toward a workshop invitation a month later? We’ll build a custom Calculated Insight that starts with the native raw engagement score and deducts one point per day from the person’s first recorded email or website engagement. If their first engagement was a link click 30 days ago and their native balance is still 40, their adjusted score is 10. A later form submission can add points under the existing scoring rules while the decay clock continues from that first click.

Reuse the Raw Engagement Points from the Scoring Model

In Data 360, open the Marketing Engagement Score Calculated Insight for your people scoring model and select the Output tab. We’ll use two fields. Unified_Individual__c identifies the person, and Raw_Engagement_Score__c gives us their balance in points under the model’s engagement rules. For our conference contact, that’s the 40-point starting balance.

The highlighted fields identify each person and give us their raw engagement balance before decay.

Reusing this field keeps the rules in one place. If we change the value of a form submission in the scoring model, the native calculation picks up that change when it recalculates. Our custom insight can then use the updated balance without duplicating the form rule in SQL. The only input we still need is the date from which to count the days.

For each Unified Individual, we find the earliest event recorded in the Email Engagement and Website Engagement DMOs across all Individuals linked to that person. Every event type counts, including an email send. The event that starts the decay clock can therefore be different from the first event that earns points.

Suppose the conference invitation is recorded as sent on June 1, the contact clicks the agenda on June 3, and they submit the registration form on June 5. If the send is their earliest recorded event, decay starts on June 1. The click and form submission can still earn points under the model’s scoring rules.

Choose How Quickly Engagement Points Decay

In the Calculated Insight we’ll build next, we use linear decay. We deduct one point from the native raw engagement balance for each day since the person’s first recorded email or website engagement. If our conference contact’s native balance stays at 40 points, their adjusted score is 30 after 10 days, 10 after 30 days, and zero after 40 days.

We can adapt the rate to our buying cycle. Deducting one point every two days would leave the same contact with 25 points after 30 days. Another option is a 30-day half-life, where the balance declines gradually by half every 30 days. Starting from 40 points, the contact would have 20 after 30 days and 10 after 60.

Build the Calculated Insight and Normalize the Adjusted Score

Create a Calculated Insight using Legacy SQL and paste the query below. This walkthrough uses Legacy SQL because Calculated Insights created with Data 360 SQL don’t appear to be available for selection in a Data Graph. Before saving, replace every occurrence of MODEL in Marketing_Engagement_Score_MODEL__cio with your scoring model’s identifier. For example, model IZ05 uses Marketing_Engagement_Score_IZ05__cio.

For each Unified Individual, the query finds the earliest recorded event across the Email Engagement and Website Engagement DMOs. It deducts one point per elapsed day from a positive raw engagement score, down to zero, and preserves negative raw scores. It then ranks the adjusted scores across the model population to produce a normalized score from 0 to 100.

				
					SELECT
    UnifiedIndividual__dlm.ssot__Id__c AS Unified_Individual__c,
    MIN(ranked.First_Event__c) AS First_Engagement_Date__c,
    MAX(ranked.Raw_Points__c) AS Raw_Engagement_Score__c,
    MAX(ranked.Decayed_Points__c) AS Decayed_Raw_Engagement_Score__c,
    CASE
        WHEN MAX(ranked.Rank_Asc__c) + MAX(ranked.Rank_Desc__c) = 2
            THEN 100
        ELSE ROUND(
            100.0 * (MAX(ranked.Rank_Asc__c) - 1)
            / (MAX(ranked.Rank_Asc__c) + MAX(ranked.Rank_Desc__c) - 2),
            0
        )
    END AS Decayed_Engagement_Score__c
FROM UnifiedIndividual__dlm
INNER JOIN (
    SELECT
        decayed.Person_Id__c AS Person_Id__c,
        MIN(decayed.First_Event__c) AS First_Event__c,
        MAX(decayed.Raw_Points__c) AS Raw_Points__c,
        MAX(decayed.Decayed_Points__c) AS Decayed_Points__c,
        DENSE_RANK() OVER (
            ORDER BY MAX(decayed.Decayed_Points__c) ASC
        ) AS Rank_Asc__c,
        DENSE_RANK() OVER (
            ORDER BY MAX(decayed.Decayed_Points__c) DESC
        ) AS Rank_Desc__c
    FROM (
        SELECT
            base.Person_Id__c AS Person_Id__c,
            MIN(base.First_Event__c) AS First_Event__c,
            MAX(base.Raw_Points__c) AS Raw_Points__c,
            CASE
                WHEN MAX(base.Raw_Points__c) IS NULL THEN 0
                WHEN MAX(base.Raw_Points__c) <= 0
                    THEN MAX(base.Raw_Points__c)
                WHEN MIN(base.First_Event__c) IS NULL THEN 0
                WHEN DATEDIFF(NOW(), MIN(base.First_Event__c)) <= 0
                    THEN MAX(base.Raw_Points__c)
                WHEN DATEDIFF(NOW(), MIN(base.First_Event__c))
                     >= MAX(base.Raw_Points__c)
                    THEN 0
                ELSE MAX(base.Raw_Points__c)
                     - DATEDIFF(NOW(), MIN(base.First_Event__c))
            END AS Decayed_Points__c
        FROM (
            SELECT
                Marketing_Engagement_Score_MODEL__cio.Unified_Individual__c
                    AS Person_Id__c,
                MAX(Marketing_Engagement_Score_MODEL__cio.Raw_Engagement_Score__c)
                    AS Raw_Points__c,
                MIN(events.Event_Time__c) AS First_Event__c
            FROM Marketing_Engagement_Score_MODEL__cio
            LEFT JOIN IndividualIdentityLink__dlm
                ON Marketing_Engagement_Score_MODEL__cio.Unified_Individual__c
                 = IndividualIdentityLink__dlm.UnifiedRecordId__c
            LEFT JOIN (
                SELECT
                    ssot__EmailEngagement__dlm.ssot__IndividualId__c
                        AS Source_Person__c,
                    MIN(ssot__EmailEngagement__dlm.ssot__EngagementDateTm__c)
                        AS Event_Time__c
                FROM ssot__EmailEngagement__dlm
                GROUP BY ssot__EmailEngagement__dlm.ssot__IndividualId__c

                UNION ALL

                SELECT
                    ssot__WebsiteEngagement__dlm.ssot__IndividualId__c
                        AS Source_Person__c,
                    MIN(ssot__WebsiteEngagement__dlm.ssot__EngagementDateTm__c)
                        AS Event_Time__c
                FROM ssot__WebsiteEngagement__dlm
                GROUP BY ssot__WebsiteEngagement__dlm.ssot__IndividualId__c
            ) AS events
                ON IndividualIdentityLink__dlm.SourceRecordId__c
                 = events.Source_Person__c
            GROUP BY Marketing_Engagement_Score_MODEL__cio.Unified_Individual__c
        ) AS base
        GROUP BY base.Person_Id__c
    ) AS decayed
    GROUP BY decayed.Person_Id__c
) AS ranked
    ON UnifiedIndividual__dlm.ssot__Id__c = ranked.Person_Id__c
GROUP BY UnifiedIndividual__dlm.ssot__Id__c
				
			

Read the results

After the Calculated Insight runs, open your new Marketing Engagement Score – Decayed and select Output. In this example, the last run succeeded. The CI returns one row per Unified Individual, with the first engagement date, the native raw score, the decayed raw score, and the normalized decayed score. The Output tab also gives you the object’s API name for use in Query Editor: Marketing_Engagement_Score_Decayed__cio.

The Calculated Insight returns the first engagement date and three scores for each Unified Individual: native raw, decayed raw, and normalized decayed.

To see how decay changes prioritization, open Query Editor and join the native Marketing Engagement Score to the decayed CI on Unified_Individual__c. The query below compares their normalized scores and sorts the results by decayed score, highest first.

Query Editor compares native and decayed normalized engagement scores for 545 Unified Individuals. One person’s score drops 14 points, from 87 to 73.

The drop from 87 to 73 shows how the person’s relative standing changed. To see how many engagement points decay removed, compare Raw_Engagement_Score__c with Decayed_Raw_Engagement_Score__c. Even the person who stayed at 100 may have lost raw points and still held the highest rank.

Use the decayed score in segments and flows

Schedule the Calculated Insight to run daily, ideally after the native Marketing Engagement Score refreshes. Segments and flows use the score from the last successful calculation. Data 360 can skip a scheduled run when its inputs haven’t changed, so check the run history if your audience depends on daily decay.

In a segment, use the CI’s output directly as a criterion on Unified Individual. For example, set Decayed Raw Engagement Score ≥ 30 to include people who still have at least 30 engagement points after decay.

In a segment-triggered flow, add the CI and its Decayed Raw Engagement Score output to the Data Graph used by the flow. Then use that field in a Decision element. For example, in a flow with a broader entry audience, route people with at least 30 points to sales follow-up and everyone else to nurture.

Choose a decay rate that fits your scoring model

One point per day is a starting point. To decide whether it fits your model, compare it with the points marketers award for a familiar action. If an email click earns 10 points, one click every 10 days offsets the deduction over that period. At two points per day, it takes one click every five days to keep pace.

To change the rate, update both uses of DATEDIFF(...) that calculate the deduction in the CASE expression: the comparison that checks whether the deduction has reached the raw balance, and the subtraction that calculates the remaining points. For two points per day, use 2 * DATEDIFF(...) in both places.

Before choosing a rate, look at a few long-standing contacts who engaged recently. This model counts from first engagement, so a click today earns its configured points while the original clock keeps running. If those contacts fall below your threshold sooner than you’d expect, a smaller daily deduction may better reflect how your team prioritizes them.

Final Thoughts

Reset or decay?

Use a reset when a business event should give someone a fresh scoring baseline. Use decay when you want time to influence how much their accumulated engagement counts today.

If you use both approaches, remember that resetting the native score does not restart this custom CI’s decay clock. The reset changes which activities contribute points. The CI still counts elapsed days from the earliest recorded email or website event.

Extend the model

We used the Email Engagement and Website Engagement DMOs to find each person’s first engagement. You could add SMS and WhatsApp events from Message Engagement to the same calculation. If a person engaged by SMS before they ever received an email, that earlier interaction would become their starting date.

This version scores people. To adapt it to accounts, use the native account engagement score as the baseline and decide which people’s interactions should start the account’s decay clock.

Like the native reset, our custom CI focuses on engagement. If you also want a decayed overall people score, create another CI that combines the normalized decayed engagement score with the native normalized fit score, using the engagement and fit weights from your scoring model.

First or latest engagement?

The same scoring rules can produce different results depending on which engagement date starts the decay clock. Suppose someone earns 50 points on day 0, then earns 10 points from a click on day 30.

MomentDecay since first engagementDecay since latest engagement
Day 0, after the first engagement5050
Day 30, before the click2020
Day 30, after the click3060

If you switch to latest engagement and keep every event type, even an outbound email send can restart the clock. If you want the clock to measure customer inactivity, choose which customer actions should restart it.

With first engagement, the click adds 10 points and the clock keeps running. With latest engagement, the click adds 10 points and clears the 30-point inactivity deduction. Choose first to measure whether engagement keeps pace over time, or latest if a fresh interaction should restore the accumulated score.

Give each engagement type its own decay rule

So far, we’ve applied one daily deduction to each person’s total engagement score. For more control, you could store a separate rule for each engagement type. The Calculated Insight would use each event’s age to determine how many points it contributes.
How an email click and a website page view lose value over time
Engagement typeDecay ruleDay 0Day 30When points reach zero
Email link clickStepwise. A click earns 10 points through day 10, then contributes 3 points from day 11 through three months.10 points3 pointsAfter three months
Website page viewLinear. A page view starts at 5 points and loses one-twelfth of a point per day until day 60.5 points2.5 pointsOn day 60
The Calculated Insight would sum those contributions for each Unified Individual. For example, an email click today and a page view 30 days ago would contribute 12.5 points: 10 for the click and 2.5 for the page view. Each event continues to age independently.

Be informed when we publish new content or have any questions? Join the TAM Slack workspace ↓

Share the Post:

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Join a vibrant 2,000+ member community

Your questions, answered.
Get our latest articles.