# Discount codes on member promotion

Generate a unique discount code when a member moves into a new loyalty tier.

Use this trigger when a tier promotion should unlock a discount code.

This works well as a celebration reward and as a nudge toward the member's next order.

### Where to find it

In Roadmap, open **Discounts / GWPs**, click **Create a new discount**, and choose **Discount Code Generator**.

### Choose the trigger

In **Trigger**, select **On member promotion**.

Use this when the reward should fire when a member moves into a qualifying tier.

### Strategic use cases

This trigger is strongest when the promotion itself is an important loyalty moment.

Use it for goals like these:

- celebrate a new tier with an immediate benefit
- encourage the next purchase soon after promotion
- make tier progression feel tangible, not only status-based

### Configure the discount

Set the reward details after the trigger:

- **Discount type** and **Discount value**
- **Code prefix**
- **Applies to**
- **Purchase Type**
- **Minimum spend**
- **Quantity limit**
- **Expires after**

A shorter expiry helps convert the promotion moment into the next order.

### Choose delivery

Start with **Trigger a Klaviyo event**.

This gives you more control over the congratulatory message and lets you align the reward with your loyalty flow design.

Use **Send mail via Roadmap** only when you want a simpler direct-send setup.

### Common pattern

A typical setup looks like this:

- Trigger: **On member promotion**
- Delivery: **Trigger a Klaviyo event**
- Discount: next-order incentive with a short expiry
- Eligibility: members in the intended tier path

### Related guides

- [Discount Code Generator](https://www.roadmap.so/docs/discounts-and-gwp/using-gwp-and-discounts/discount-code-generator)
- [How to integrate Roadmap with Klaviyo](https://www.roadmap.so/docs/reviews/integrations/klaviyo-review-integration/how-to-integrate-roadmap-with-klaviyo)
- [When to use Roadmap, Shopify, or Klaviyo for discounts](https://www.roadmap.so/docs/discounts-and-gwp/using-gwp-and-discounts/when-to-use-roadmap-shopify-or-klaviyo-for-discounts)
