This is a guide to integrating Iterable with Talon.One. This guide will walk you through setting up and using the Talon.One endpoint that Iterable uses to receive Loyalty Ledger information for a particular user.
After setup, Iterable will be able to automatically request user-specific loyalty ledger information directly from Talon.One. For example, you could send an email that dynamically populates the number of loyalty points each customer has accrued.
Let's generate a Talon.One API key that we will use for a 3rd-party service, in our case, Iterable.
- Navigate to the developer settings of your Talon.One Application.
- Click Create API Key
- For Do you want to use this API Key with a 3rd party service?, select Yes.
- Select Iterable from the dropdown.
- Select and expiry date and click Create API Key.
- Copy it for later use.
We will create a data feed in Iterable in the next section. The data feed relies on the Get loyalty points endpoint endpoint:
- deployment*: Your Talon.One deployment base URL.
For example, if your deployment URL is
- loyaltyProgramID*: The ID of the loyalty program you want to use.
- userID*: The ID of the user whose loyalty ledger balance you'd like to check. This must match the userID you send to Talon.One.
curl --location --request GET 'https://demo.talon.one/v1/loyalty_programs/123/profile/DemoUser \--header 'Authorization: ApiKey-v1 [YOUR_API_KEY]'
See the response in the API docs.
In Iterable, create a new data feed to pull in loyalty information:
- Choose a name, for example
- Using the URI generated in the previous section in the URL field and
set Format to
- In HTTP Headers, type APIKey-v1 and enter your the API generated earlier.
Create an Iterable template that will be used for your marketing campaign
In the Advanced Options tab, select your Talon.One data feed.
For more information about data feeds, see the Iterable docs.
Reference the loyalty information and/or entire response from Talon.One within the email template by using square brackets based on the endpoint response.
See the Iterable Docs.
Check the template and placement of the data feed response by using the
Preview with datatool.
Load template feedin order to bring in the data feed response data into the template.