Hello,
After a Purchase event, we'd like to update the visitor's "Loyalty Points" by taking the existing value in the Profile and adding the Purchase amount to it. For example, if the existing Loyalty Points value in the Person dataset is "100" and they purchase something for "59.99", we want to write "160" (rounded up) back to the Profile Dataset.
In the Update Profile action, we select Loyalty Points but that value missing in the Expression dialog prevents us from using the appropriate Math function. Is this because the Update Profile action only updates values under the OOTB Persons Fieldgroup - meaning it can't update any custom values? If not, what could be the issue here?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Would also suggest taking a look at computed attributes as an automated way to take purchase amounts and additive create a new profile field for something like loyalty points.
@MktgCloudUser, Ensure you have enabled the fields under Configurations -> Data sources -> Experience platform -> ProfileFieldGroup -> Select the loyalty points attribute. Once you enable refresh the journey and verify under update profile -> value (advanced mode).
Would also suggest taking a look at computed attributes as an automated way to take purchase amounts and additive create a new profile field for something like loyalty points.