Search through more than a hundred articles on every aspect of

Aneta Koreba
Written by Aneta Koreba

Module guide: Change custom attribute Action

Add or subtract a number from a numerical attribute value

What does it do?

When triggered, this module will change the value of a particular custom attribute in a given person's user profile. This module adds or subtracts a number to/from the current value of a given numerical attribute. It can prove quite useful when it comes to your scoring strategy.

Before you start

You need to create the custom attribute in app settings.

How to use it

From the dropdown list, simply, choose the attribute you want to change; with Action: add or subtract then the Amount.

Case study

When running an online shop, you may want to count the amount of purchases a particular customer has made. Create an attribute "number_of_purchases" and add "1" each time the purchase event is performed.

Related articles