Introduction
Talon.One provides personalized incentives for your mobile marketing CRM and allows you to launch contextual 1-to-1 coupon, referral, discount, and loyalty campaigns quickly and efficiently.
MoEngage <> Talon.One
The MoEngage and Talon.One integration can help take your loyalty or coupon program to the next level by sending codes generated by Talon.One to your audience through MoEngage campaigns.
The following Talon.One functionalities are supported:
Integration
| library_add_check |
Prerequisites
|
Step 1: Generate authentication key on Talon.one
- Open your Talon.One Application in the Campaign Manager and click Settings > Developer settings.
- Click Create API Key
- Select Yes for Do you want to use this API Key with a 3rd party service?
- Select Customer Engagement from the dropdown.
- Select and expiry date and click Create API Key.
- Copy it for later use. Use the key in the
Authorizationheader of each of these endpoints:Example:
Authorization: ApiKey-v1 dbc644d33aa74d582bd9479c59e16f970fe13bf3
Step 2: Define Talon.one content API on MoEngage
Use MoEngage content APIs to add Talon.One as one of your endpoints.
On your MoEngage dashboard:
- Navigate to Settings -> Advanced settings -> Content API. Click + Add content API at the top right corner of the Content API screen.
- Add your Talon.One subdomain to the endpoint URL.
Headers
Parameter Description Example Authorization*Required. API authorization key ApiKey-v1 <TOKEN>customer-engagement-platform-name*Required. Enter MoEngage here <MoEngage>destination-hostname*Required. The base URL of your Talon.One deployment. https://mycompany.europe-west1.talon.one/X-DRY-RUNIndicates whether to persist the changes. Changes are ignored when dry=truetruePath parameters
Parameter Description Example campaignId*Required. The ID of the campaign in Talon.One where the coupon will be created. 34applicationId*Required. The ID of the Application in Talon.One. 12externalCampaignId*Required. The external campaign id that should be referenced abc123recipientIntegrationIDThe integration ID of the only customer that can use the generated coupon code. Leave blank to allow any user to use the coupon. abc123discountLimitThe discount amount the coupon is worth. Can be blank if for example the coupon provides a 10% discount or something other than a set value of discounts. 1.23startDateTime when the coupon starts becomes valid. 2020-12-31T13:00:00ZexpiryDateTime when the coupon stops being valid. 2021-12-31T13:00:00ZAttributesObject containing all the coupon attributes to set on the coupon. To set a custom attribute, add the attribute name and value as an extra query parameter prefixed with a
.. For example, if you have anemailattribute, set it with:&.email=john.doe@example.com. -
URL
https://integration.talon.one/customer_engagement/referralHeaders
Parameter Description Example Authorization*Required. API authorization key ApiKey-v1 <TOKEN>customer-engagement-platform-name*Required. Enter MoEngage here <MoEngage>destination-hostname*Required. The base URL of your Talon.One deployment. https://mycompany.europe-west1.talon.one/X-DRY-RUNIndicates whether to persist the changes. Changes are ignored when dry=truetruePath parameters
Parameter Description Example campaignIdRequired. The ID of the campaign in Talon.One where the referral code will be created. 34externalCampaignIdRequired. The external campaign id that should be referenced abc123advocateprofileintegrationidRequired. The integration ID of the advocate abc123friendprofileintegrationidThe profile ID of the referred customer. abc123usagelimitNumber of times a referral code can be used. This can be set to 0 for no limit, but any campaign usage limits will still apply. 1.23startDateDate when the referral code can be used. 2020-12-31T13:00:00ZexpiryDateDate when the referral code can't be used anymore. 2020-12-31T13:00:00ZAttributesObject containing all the coupon attributes to set on the coupon. -
Fetch loyalty ledger
URL
GET loyalty
https://integration.talon.one/customer_engagement/loyaltyHeaders
Parameter Description Example AuthorizationRequired. API authorization key. ApiKey-v1 TOKENcustomer-engagement-platform-nameRequired. Enter MoEngage here <MoEngage>destination-hostnameRequired. The base URL of your Talon.One deployment.. https://mycompany.europe-west1.talon.one/Path parameters
Parameter Description Example profileIntegrationIDRequired. The integration ID of the customer profile in Talon.One. abc123loyaltyProgramIDRequired. The ID of the loyalty program in Talon.One. 34projectionEndDateRequired. The end date to query the projected loyalty balances. You can project results up to 31 days from today. 2020-12-31T13:00:00Z -
Click Save. And you will see your Talon.One API added in MoEngage
Step 3: Using Talon.One's content in MoEngage campaigns
You can now use these content APIs in your campaigns. Read here to know more.
-
-
- On step 2 of your campaign creation, enter @.
- In the pop-up, select the Content API configured in Step 2.
- You can use MoEngage templating language to parse through the API response and use the content in your campaigns. Read about the Talon.One API responses in the following links: Create coupon , Create referral , Fetch loyalty ledger
-