---
schema_version: "1"
id: 28104426e3685f19e72b20ede9bbbcddafcf4e53399a9d97c0695e8fc47fbbe3
title: Get a List of Promotions Applicable for a Member
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/loyalty_promotion_action_cdp.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.loyalty_promotion_action_cdp.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 08644217e49ce9f804a310eac7f432f7f3cc2692d33a23e86fad3d4593610a9c
description: Use the Get Loyalty Promotions for Data Cloud action to determine the promotions applicable to a member based on the member's Data Cloud market segment. The action provides a list of promotions that are associated with the market segment a member belongs to.
products:
  - Loyalty Management
release: "264"
---
# Get a List of Promotions Applicable for a Member

Use the Get Loyalty Promotions for Data Cloud action to determine the promotions applicable to a member based on the member's Data Cloud market segment. The action provides a list of promotions that are associated with the market segment a member belongs to.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in&nbsp;<strong>Enterprise</strong>,&nbsp;<strong>Performance</strong>, <strong>Developer</strong>, and&nbsp;<strong>Unlimited</strong>&nbsp;Editions.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Orgs that have the B2C - Loyalty, B2C - Loyalty Plus, B2B - Loyalty, Loyalty Management - Growth, or Loyalty Management - Advanced license, and Data Cloud enabled.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d73765e72">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d73765e72 ">To create a flow:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d73765e72 ">Manage Flows</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d73765e72 ">To access Loyalty Management actions in Flows:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d73765e72 ">Loyalty Management</td>

          </tr>
        </tbody>
      </table>

Before you use this action, make sure that you create market segments for members and associate the segments with promotions.

To provide a list of promotions that are applicable for a member, provide these inputs:

 
| Input | Description |
| --- | --- |
| Member ID | ID of the member you want to determine the applicable promotions for. |
| Promotion Records | Optional. Promotion records to filter the promotions that are applicable to the member's market segment. |

![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-loyalty_management-264-0-0-production-enus/0590ce3e-5a09-45ab-8e5e-68f359c35886/images/icon_tip.png)

Tip Use the Get Loyalty Promotions for Customer Data Platform action after the Get Loyalty Promotions for Transactions action in a flow. This sequence allows you to provide a filtered set of eligible Promotion records for the Get Loyalty Promotions for Customer Data Platform action to work with.

![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-loyalty_management-264-0-0-production-enus/0590ce3e-5a09-45ab-8e5e-68f359c35886/images/icon_warning.png)

Warning Ensure that there aren't any pending DML transactions in the flow when the Get Loyalty Promotions for Customer Data Platform action is invoked. Use a screen or a Pause element between DML transactions and the action to ensure that the action is invoked after the DML transactions are complete. Also, ensure that your flow doesn't access data in external systems when a transaction journal is being processed.

The action is able to provide a list of promotions that a member is eligible for only when the member’s associated Data Cloud segment:

- Last publish status is Success
- Last publish date is closest to the segment’s last processed date
- Isn’t being refreshed

1. From Setup, in the Quick Find box, enter Flows, and then select **Flows**.
2. Click **New Flow**.
3. Select a flow type, and then click **Next**.
4. Select a layout.
5. Click +.
6. Select **Action**.
7. In the Category section, select **Loyalty**.
8. Search and select the **Get Loyalty Promotions for Customer Data Platform** action.
9. Enter a name and an API name for the action.
10. In the MemberId field, either enter the member's record ID or use a resource to populate Loyalty Program Member IDs.
11. If you want to specify Promotion records, include Promotion Records and use a resource to specify the records.
12. Click **Done**.
13. Save your changes, and then activate the flow.

When you run the action, you receive the Promotion records that are associated with the market segment that the member is a part of.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-loyalty_management-264-0-0-production-enus/0590ce3e-5a09-45ab-8e5e-68f359c35886/images/icon_example.png)

Example When using a flow to decide which promotions to provide a member for a transaction:

- Use the Get Loyalty Promotions for Transactions action to determine which promotions are eligible for the promotion.
- As inputs for the Get Loyalty Promotions for Customer Data Platform action, use the output and the member ID from the Get Loyalty Promotions for Transactions action.