Skip to main content

Offer Games to Members

Learning Objectives

After completing this unit, you’ll be able to:

  • Assign games to members.
  • Explain how participants receive rewards after playing a game.
  • Explore the end-user mobile experience.

Assign the Game to Eligible Members

Games are typically offered to customers on external systems such as mobile apps or shopping sites. Depending on your business requirements, you can offer the games to all members and customers, or only to the eligible ones.

Cloud Kicks wants to assign the game to its members on its ecommerce app and site only after they purchase Super Kicks shoes. When there are eligibility conditions such as this, select the Game Assignment Required checkbox in the game definition. Then you assign the game to members using Promotion Setup or Flows in Loyalty Management.

Mary designs a rule in Promotion Setup to make sure that games get assigned to members only when they purchase the shoes. Because games are assigned through the Game Participant and Game Participant Reward records, she uses two Create or Update Records actions to create the records.

The two Create or Update Record actions for the game assignment.

The use of the Game Participant Reward record is two-fold. When the record is first created, it stores member details with the reward status set to Yet To Reward. The expiration date, which is automatically calculated from the related game definition's expiration period, determines how long a member can play the game and win a reward. After a member plays the game, the reward details are updated in the record. If the member doesn’t play the game before the expiration date, the status changes to Expired.

When a relevant transaction journal is created, it triggers the rule within the process. The first action in the rule creates a Game Participant record specifying whom to assign the game to and which game to assign. The second action creates a Game Participant Reward record with participant details and the reward status.

Note

The rule for this process is associated with a Super Kicks promotion that’s already been set up. Creating a promotion is out of the scope of this module. To learn how to create a promotion, check out the Set Up a Loyalty Program Trailhead module.

Integrate Business APIs to Offer Games

Loyalty Management also offers an API that businesses can integrate with external systems. The Games business API checks for eligible games and lists them on the site where customers can view and play the games. The API then creates a Game Participant record and a Game Participant Reward record.

Here’s an example of a Game Participant record assigned to a member for the Super Spin Rewards game.

A Game Participant record with member and game details.

Here’s an example of a Game Participant Reward record assigned to a member for the Super Spin Rewards game. In this record, you find details of the participant, status, and expiry.

A Game Participant Reward record in the Yet To Reward status with participant details.

After the participant plays the game, the record is updated with the reward details.

Next, let’s understand what happens after the game has been assigned to a member.

Offer Rewards to Participants

The Game Reward business API, integrated with external systems, determines a reward based on the win probability and count of all the rewards that are part of the game. The API then updates the Game Participant Reward record with details of the reward, updates the reward status, and displays the eligible reward to the customer.

A Game Participant Reward record in the Rewarded status after the participant plays the game.

Let’s go through an example to find out how all of this works and what happens behind the scenes. Here’s a scenario in which a Cloud Kicks customer purchases Super Kicks shoes and is assigned the Spin the Wheel game.

The Scenario

Behind the Scenes

It’s almost Thanksgiving and Adria Darby, a Cloud Kicks member, purchases a pair of Super Kicks shoes.

Since Adria purchases Super Kicks shoes during the promotion, she fulfills the eligibility condition. This triggers the creation of Game Participant and Game Participant Reward records for Adria.

Soon after, Adria sees a Spin the Wheel game on the screen.

The Game Participant record assigns the game to Adria, so she gets a prompt to play.

Excited, Adria proceeds to play the game and waits for the spinning to stop. The pin finally lands on “10% off next purchase”.

The Game Reward business API decides the reward and updates the Game Participant Reward record.

Adria promptly finds a 10% off voucher in the rewards section.

The Game Reward business API displays the reward to Adria.

Extend the Game to a Mobile App

With the rise of mobile devices as primary tools for engagement, it's become increasingly important to ensure seamless experiences across platforms. Salesforce offers a Gamification Mobile Software Development Kit (SDK) for Android and iOS so you can build custom mobile applications with unique game reward experiences. Mary and her team use the mobile SDK to publish the game to a mobile app.

The SDK offers a game zone where members can view and play the games available to them, and view the rewards they’ve won for each game.

Let's review a few key mobile screens from a sample app. Click through the tabs using the Next and Previous buttons.

Conclusion

The Super Spin Rewards game is live on Cloud Kicks’s ecommerce site and mobile app and the team is thrilled to note increased traffic on the sites. There have been many game assignments, which means Super Kicks sales are also up. With the success of this promotion, Mary and the team set out to add more games to improve overall program engagement.

Use gamification to make routine tasks more engaging and rewarding for customers, and Salesforce’s mobile SDK to offer seamless experiences across platforms. Thanks to Loyalty Management, Cloud Kicks has gained a competitive edge.

Resources

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈