This guide is for businesses in the on-demand space. It shows how Talon.One can be used to provide loyalty programs and discounts. There are always two steps to using Talon.One:
The decision of which effects to return for a given customer activity is controlled by the Talon.One Rule Engine.
We recommend you start with the SDKs. After the SDK has been installed & configured you will use the following API calls:
Below we show example API calls for different customer activities: viewing restaurants, updating an order, and entering a promotional code.
Track a custom
map event with a
postcode attribute whenever a user visits the home screen to book a ride:
This allows campaigns to offer promotions specific to the postcode and/or the time. For example, a response may contain the following effect:
Send a session update with details about the current trip when a user orders a ride:
This allows campaigns in the Rule Engine to trigger effects based on the trip details. For example, we can create a campaign that gives a 10% discount when the
postcode starts with
Send a session update whenever a user enters a promo code:
The Rule Engine will validate the code, and return an
acceptCoupon effect (and
potential other effects), or a
rejectCoupon effect indicating that the
coupon is invalid.
The Rule Engine will send back discounts and other actions to take in the form of effects. These are handled in your integration by registering effect handlers: