---
title: "Assign Loyalty Level Based on Order Value and Send Email"
slug: "assign-loyalty-level-based-on-order-value-and-send-email"
updated: 2024-03-06T06:24:02Z
published: 2024-03-06T06:24:02Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Assign Loyalty Level Based on Order Value and Send Email

## Objective

Assign a loyalty level (e.g. Platinum, Gold, Silver, Bronze) to your contacts based on the value of their first order, and send them a follow-up email.

## Whiteboard

A customer makes their first purchase on your website and signs up to receive emails. They will be added to a group and sent on different journeys depending on the amount they spent on their first purchase.

- The automation will change the profile attribute of contacts who spent more than a certain amount on their first purchase to Loyalty Level Platinum, Gold, Silver, or Bronze.
- The steps can be adjusted to the needs of your campaigns. In our example, we have added a waiting period of 5 days in which no action will be taken.
- After 5 days, all contacts on the Whiteboard will receive an email message. For example, information about their loyalty status and a thank you note, or a promotional email.

The video below demonstrates how to build a Whiteboard for this scenario.

[use case cust journey](https://player.vimeo.com/video/812850636?h=f3375f8d12&amp;badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479)

**Show detailed configuration**

> For more information about the objects used in this configuration, see [List of Objects used in Example Configurations](/v1/docs/list-of-objects-used-in-example-configurations).

1. Create an Event-Based Whiteboard with **Enters Group** as the entry event. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/a878f347-0012-444b-add3-e1987f50100c.png)
2. Add the filter **Attribute Value** and create four paths within this filter. Rename the paths so that you can identify them easily. In this example, the paths are:
  - **> 2000**for contacts who spent more than 2000 on their first purchase,
  - **> 1000**for contacts who spent more than 1000 on their first purchase,
  - **> 500** for contacts who spent more than 500 on their first purchase,
  - **<= 500** for contacts who spent equal or less than 500 on their first purchase. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/5622dd6c-a230-44b7-9aab-e681910350a9.png)
3. Configure the paths:
  - **> 2000**:
    - **Attribute**: First_Purchase_Value
    - **Operator**: Is Greater Than
    - **Value**: 2000 ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/4a30eb84-fc5c-41f8-81cc-0b4ca114a883.png)
  - Repeat this step for the remaining three paths, changing the Value accordingly:
    - **< 1000**: set Value to Is Greater Than 1000
    - **> 500** set Value to 500 Is Greater Than 500
    - **<= 500** set Value to Is Less Than or Equals 500
4. Add job **Change Profile Attribute** to all four paths and configure:
  1. **Attribute** : Loyalty_Level,
  2. **Value** : Platinum, Gold, Silver and Bronze respectively ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/ad0ae41f-50cb-4a23-8f03-46ec500efc44.png)
5. Add a **Wait** step from the Time section to the **> 2000**path, and set it to 5 days. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/2d22aadd-0b63-4a7d-a04a-88ab72c07412.png)
6. Add job **Send Email** to the **> 2000**path and select the prepared email message. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/c09b24fd-624f-488a-ac2f-77c8c373ea7f.png)
7. Merge the remaining paths with the **Wait** step by dragging and dropping.

> The **Wait** and **Send Email** steps are the same for all paths, and it is not necessary to add them to each path individually. Instead, you can merge the paths and be more efficient.

![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/0eb4ff67-728c-4e39-85ad-23d0c48943cc.png) ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/e8fd35e9-bd18-4e31-86ce-170412b9970a.png) You can continue with more steps, add a goal to the whiteboard, and set it up as you need. This is just one of many possible scenarios.

## Related Topics

[Whiteboard Components](/v1/docs/whiteboard-components)
