---
schema_version: "1"
id: 3330f42dccd5e95dc5bacef9ee09e0269badb577910a292c9be02a6338ac5001
title: "Subagent: Promotion With Loyalty Accrual Rule"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/loyalty_agentforce_topic_loyalty_templates.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.loyalty_agentforce_topic_loyalty_templates.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 31c05f90a186fe193f667cfdfc0d4f45eeb0851796abf31b15328abcb82269ae
description: Marketing managers can use the Promotion With Loyalty Accrual Rule subagent to create and update promotions that reward loyalty program members for completing eligible accrual activities. They can also draft loyalty promotion emails for effective communication.
products:
  - Loyalty Management
release: "264"
---
# Subagent: Promotion With Loyalty Accrual Rule

Marketing managers can use the Promotion With Loyalty Accrual Rule subagent to create and update promotions that reward loyalty program members for completing eligible accrual activities. They can also draft loyalty promotion emails for effective communication.

### 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</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>,&nbsp;<strong>Performance</strong>, <strong>Unlimited</strong>, and&nbsp;<strong>Developer</strong>&nbsp;Editions with Loyalty Management, and Foundations or <strong>Agentforce 1</strong> Editions.</td></tr></tbody></table>

## Subagent Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">API Name</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">PromotionWithLoyaltyAccrualRule</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Included Agent Actions</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p><a href="https://help.salesforce.com/s/articleView?id=ai.agent_ref_loyalty_accrual_template.htm&amp;type=5&amp;language=en_US" target="_blank">Create or Update Promotion Using Accrual
                  Template</a></p>
              <p style="margin-bottom:0;"><a href="https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_draft_or_revise_email.htm&amp;type=5&amp;language=en_US" target="_blank">Draft or Revise Email</a></p>
            </td>

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

## Agent Action: Create or Update Promotion using Accrual Template

Gathers information about the loyalty accrual promotion that the marketing manager wants to create or update. The output includes the details of the promotion that was created or updated.

Here are a few example utterances for the action:

- Can you create a loyalty promotion for me called 'Cloud Kicks December Delights'? It should start on 2025-01-05, be part of the 'Cloud Kicks' program, and give 100 fixed 'Reward Points'. Customers need to buy at least 5 items and spend at least 100 to qualify.
- Set up a promotion named 'Summer Fun' for the 'Cloud Kicks Loyalty Program'. Members in the 'Gold Tier' should earn double points for purchases over $50.

## Agent Action: Generate Loyalty Promotion Email

Creates the subject and content of a draft launch email for a promotion.

Here are a few example utterances for the action:

- Generate an email for the promotion you just created.
- Generate an email for the promotion you just updated.

![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

A marketing manager at Cloud Kicks wants to create a loyalty promotion named 'Holiday Season Promotion' starting on March 1, 2025. This promotion is associated with the 'Cloud Kicks Insider' program and rewards 200 'Reward Points' for purchases above $250. The manager also wants to generate an email for the promotion.

The marketing manager launches Agentforce and enters the following utterance: Create a loyalty promotion with accrual rule type named 'Holiday Season Promotion' starting on March 1, 2025. This promotion is associated with the program named 'Cloud Kicks Insider' and rewards 200 'Reward Points' fixed points. It requires a minimum spend amount of $250. The promotion description is 'Get 200 Reward Points on all purchases above $250'. Generate an email for the promotion.

The agent generates the promotion with the specified details. The agent generates the content for the promotion's launch email, including the primary information and reward details.