---
schema_version: "1"
id: 7d63c6a25d733f3718d08cbc476d915ddb08cfba09ae2df217f341001c675653
title: Create Context Definitions for Global Promotions Management in Loyalty Management
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/loyalty_gpm_custom_context_definitions.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.loyalty_gpm_custom_context_definitions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ca32a735f247de13ee94098b5ebfe0afa82d096f61a5c9dab46b6d8312ce7ec3
description: Global Promotions Management uses the capabilities of Context Service to enable marketing managers to design pricing promotions tailored to each company's unique requirements. A standard context definition is used to design pricing promotions for most use cases. You can also create custom context definitions for your company’s promotions. If you’re creating a custom context definition for promotions, create additional Loyalty Management nodes based on your business needs.
products:
  - Loyalty Management
release: "264"
---
# Create Context Definitions for Global Promotions Management in Loyalty Management

Global Promotions Management uses the capabilities of Context Service to enable marketing managers to design pricing promotions tailored to each company's unique requirements. A standard context definition is used to design pricing promotions for most use cases. You can also create custom context definitions for your company’s promotions. If you’re creating a custom context definition for promotions, create additional Loyalty Management nodes based on your business needs.

### 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</td></tr></tbody></table>

[Create a context definition in Global Promotions Management](https://help.salesforce.com/s/articleView?id=mktg.global_promotions_management_setup_context_service.htm&type=5&language=en_US).

If you’re creating a custom context definition for promotions, create additional Loyalty Management nodes based on your business needs.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d49164e96">Business Requirement</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d49164e99">Required Node</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d49164e102">Required Node Attributes</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d49164e105">Required Context Tags</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Business Requirement" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e96 ">
              <p>The promotion belongs to a loyalty program.</p>
              <p style="margin-bottom:0;">If you’re creating loyalty
                promotions, instead of the contact node attributes, map this node and these context
                tags.</p>
            </td>

            <td data-label="Required Node" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e99 ">A node that represents loyalty program attributes.</td>

            <td data-label="Required Node Attributes" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e102 ">
              <ul>
                <li>LoyaltyProgramId or LoyaltyProgramName</li>

                <li>LoyaltyProgramMemberId or MembershipNumber</li>

              </ul>
            </td>

            <td data-label="Required Context Tags" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e105 ">A set of context tags that map to each attribute.</td>

          </tr>
          <tr class="">
            <td data-label="Business Requirement" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e96 ">The promotion is eligible for loyalty program members who belong to a specific
              tier</td>

            <td data-label="Required Node" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e99 ">
              <ul>
                <li>Parent node: LoyaltyMember</li>

                <li>Child node: LoyaltyMemberTier</li>

              </ul>
            </td>

            <td data-label="Required Node Attributes" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e102 ">
              <ul>
                <li>TierGroupId</li>

                <li>TierId</li>

              </ul>
            </td>

            <td data-label="Required Context Tags" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e105 ">
              <ul>
                <li>Node tag: loyaltyMemberTier</li>

                <li>Attribute tags:<ul>
                    <li>tierGroupId</li>

                    <li>tierId</li>

                  </ul>
                </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Business Requirement" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e96 ">The promotion is eligible for loyalty program members only on their birthday, birth
              week, or birth month</td>

            <td data-label="Required Node" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e99 ">LoyaltyMember</td>

            <td data-label="Required Node Attributes" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e102 ">
              <ul>
                <li>IsLoyaltyMember</li>

                <li>IsNowAnniversaryDay</li>

                <li>IsNowAnniversaryWeek</li>

                <li>IsNowAnniversaryMonth</li>

                <li>IsNowBirthDay</li>

                <li>IsNowBirthWeek</li>

                <li>IsNowBirthMonth</li>

              </ul>
            </td>

            <td data-label="Required Context Tags" class="slds-cell-wrap" style="vertical-align:top;" headers="d49164e105 ">
              <ul>
                <li>Node tag: loyaltyMember</li>

                <li>Attribute tags:<ul>
                    <li>isLoyaltyMember</li>

                    <li>isNowAnniversaryDay</li>

                    <li>isNowAnniversaryWeek</li>

                    <li>isNowAnniversaryMonth</li>

                    <li>isNowBirthDay</li>

                    <li>isNowBirthWeek</li>

                    <li>isNowBirthMonth</li>

                  </ul>
                </li>

              </ul>
            </td>

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