This activity enables you to create a rule to give points for any activity on your site.
Custom rules might require integration with LoyaltyLion's API, and it is your responsibility to track relevant activities to LoyaltyLion when they happen.
Read the relevant document which will help your development team to set this custom rule up.
How to create a custom rule?
Go to Manage and on the left side click on Create new rule
From the options choose Custom reward
3. Fill the required information:
Identifier - internal name for the rule. Especially important if you're using API to trigger the rule
Points to award
- Immediate - it rewards points immediately to the customer
- Trigger - points are rewarded in pending state. Manual approval from the merchant is required
Limit - how often the customer can receive points for the same rule (e.g. once a day, twice a month, etc)
Title of the rule
Notification text - this will be visible to the customer as an on-site notification
Description - additional description of how to get points. If the description is present, customer will see it after clicking on Learn more button in their customer UI.
4. Click Create the rule.
5. If you've decided to use the API route, instead of manually triggering the rule in the customer profile, please go to LoyaltyLion Activities API.
How are custom rules triggered?
When viewing a customer's page from the admin, you can manually trigger any custom rule for using the interface.
Once you know that a customer fulfilled the steps you outlined in the rule, go to Customers tab, and search for the customer.
Click on Actions, and select Complete activity:
From the list, select the rule that the customer should receive points for and click Submit
The points will appear in customer's history.
LoyaltyLion Activities API
Developer documentation for using the API for this can be found here: https://developers.loyaltylion.com/api/resources/activities/
When using API, customers receive points once we receive an API request from you, letting us know that a customer has completed an activity. Make sure that the rule identifier in LoyaltyLion and
name field in your requests is the same.
To authenticate your requests, go to
Manage -> Configuration -> Settings -> Token and Secret
Once your POST request has been received by LoyaltyLion, the points will be visible in the customer's profile.
Q. How are rule limits decreased?
The rule limits are calculated as a calendar interval. That means that if you set the rule limit to only give points once per month if a customer completes the rule on June 30th they can re-trigger the rule again on July 1st. They will get the points both times, but they would then need to wait until August 1st to be able to complete the activity again.
Q. Can I give points to my customers for social media engagement, for example, posting about my company on Instagram or following my company on TikTok?
You can use the Activity: Visit rule to set up this up!