Get a List of Promotions Applicable for a Transaction

The Get Loyalty Promotions for Transactions action lists promotions that you can offer for a transaction. The action uses predefined filter criteria to decide eligible promotions.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions with Loyalty Management - Growth or Loyalty Management - Advanced
User Permissions Needed
To create a flow: Manage Flows
To access Loyalty Management actions in Flows: Loyalty Management

Criteria to determine eligible promotions:

  • Promotion and transaction journal is associated with the same loyalty program.
  • Promotion is active.
  • Transaction journal's activity date is within the lifetime of the promotion.
  • Transaction journal's journal type is Accrual or Redemption.
  • Member associated with the transaction journal has enrolled for the promotion, if necessary.
  • (Optional) Product or the product category associated with the promotion and the transaction journal matches one of these criteria:
    • The product and the product category associated with the transaction journal and the promotion are the same.
    • The product associated with the transaction journal and the promotion is the same.
    • The product category associated with the transaction journal and the promotion is the same.
    • A product or product category is associated with the transaction journal, and no product or product category is associated with the promotion.
    • The product associated with the transaction journal is part of the product category associated with the promotion.
    • A promotion with no product or product category associated when the transaction journal isn't associated with a product or product category.
    • A promotion with no product or product category associated when the transaction journal is associated with either a product or a product category.
  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. From the Category section, select Loyalty.
  8. Search and select the Get Loyalty Promotions for Transactions action.
  9. Provide a name and an API name for the action.
  10. In the JournalId field, either enter the ID of an Accrual or Redemption type Transaction Journal record or use a resource to populate Transaction Journal IDs.
  11. Click Done.
  12. Save your changes, and then activate the flow.

When you run the action, the Promotion records eligible for the transaction are provided as output. Use the Promotion records later in the flow to decide and assign the best-suited promotions.

Tip
Tip If Data Cloud is used to segment your member audience, use the Get Loyalty Promotions for Transactions action before the Get Loyalty Promotions for Customer Data Platform action. This sequence allows the flow to first filter promotions based on the transaction and then filter promotions based on the member's associated market segment.