Programme Step - Assign Code

This step assigns a code from a discount code list to a customer. The configuration for the step is as shown:

Configuring the Assign Code Step

List:

Choose the list of discount codes that can be assigned to the customer. This should be uploaded beforehand.

Assign Multiple Codes for Customer:

If set, the step will assign a new code to the customer. If not set and the customer already has a discount code assigned to them from that list, then a new code will not be assigned.

Effect of Step

Following execution of this step, the code will be entered into the programme data in the variable "DiscountCode" :

{
    "__trigger": {},
    "DiscountCode": "CODE"
}

Still need help? Contact Us Contact Us