Skip to main content

Reward: custom reward

Written by Success team
Updated over a week ago

In this article:


What are custom rewards?

You can create custom rewards to perform actions or provide rewards that don’t fit into the standard LoyaltyLion reward types. These rewards can be fulfilled in one of two ways: manually or via a webhook.


Manual fulfillment

This feature allows you to create a bespoke reward with any title - for example, you may want to reward your customer with an item that you do not sell in your store.

For example - An uplifting poem for you:

You will be able to see once this reward has been claimed by a customer in your LoyaltyLion merchant account, under the 'View fulfillments' page.

When you see someone has claimed the reward, you can then take the steps necessary for the customer to receive the reward.

Once this has been completed, you can return to the fulfillment page, select any customer's rewards that have been fulfilled, and Approve them in the top right.

The tick box will then disappear and you will now see a completed date at the end of the line:


Webhook fulfillment

Learn how to Use webhooks to fulfill custom rewards in our developer documentation.


What is a webhook?

Webhooks are the more advanced (developer) option for getting an update.

You’ll need to set up an endpoint on your site that can receive and respond to requests. This endpoint can trigger any action your system supports—such as creating an order, adding an internal note to a customer profile, or notifying your support team.

Once configured, provide this endpoint as your webhook URL. When a customer redeems the reward, we’ll send a request to that URL so your system can handle fulfillment automatically.

Each Custom Reward using webhook fulfillment must have its own unique webhook URL.


How to use webhooks to populate a customer list on your Trello board using Zapier?

Please note that this tutorial is just an example explaining some of the functionality that is possible using our webhooks. It is your responsibility to connect webhooks on your side and debug them further. If you do not feel comfortable setting this up by yourself, please make sure to include your developers in the process.

In the Fulfillment section of a Custom reward, select the Automatic fulfillment method:

  1. Log in to your automation app. The following example is using Zapier.

  2. Click on Make a zap on the left

3. Select a trigger to start the workflow. In this case, select Webhook

7. Select a trigger event. We're trying to get the information from LoyaltyLion, when a customer claims a custom reward, so we'll go with Catch Hook

8. On the next screen copy the Custom Webhook URL and paste it in LoyaltyLion in the Webhook URL section.

9. Check if you receive a 2xx response by clicking on the Test button in LoyaltyLion. If successful, Create your reward.

10. Test the trigger in Zapier and move forward if everything works correctly.

11. In Zapier, create an action, so our flow knows what to do after receiving the webhook. I want my customers to appear on the Trello board I created, so I'll go with Trello.

13. Follow the steps of the Trello set-up. You'll be asked to authenticate your accounts (if you haven't connected Trello and Zapier before) or select your Trello account from the drop-down menu. Then follow the set-up steps: select which board you want to use, to what list should card be added, and what will be the name of the card. I like to use customer email and reward identifier fields in the Name, so I see straight away who claimed what reward without the need to click on the card.

14. Test the action! Check your Trello to see if the card was created.

15. Click Turn on Zap and wait for your customers to claim the custom reward in their panel.

Don’t have a developer? Hire one here!


FAQ

Q. How will I know that my manual reward has been triggered?

Each time a custom reward is claimed, we will note it in the Program > Rewards > [Custom reward] > View fulfillment page. There you'll see all customers that triggered the reward.

In addition to that, we'll send you an email from hello@loyaltylion.com letting you know which customer claimed the reward and what reward was it. Please see an example below:

Don’t have a developer? Hire one here!

Did this answer your question?