Unlock the power of SMS marketing: Connect Talon.One to Pendula with ease
Webhooks can be used in Talon.One applications to send promotions to your customers through Pendula's messaging channels.
As Talon.One webhooks are available to any application, you can create them once and then use them in as many campaigns as you want, in any linked application.
For example, if you would like to send coupons to customers via SMS, you can create one Talon.One webhook and one Pendula SMS flow, and then use these any time you want to send coupons via SMS as part of a campaign.
There are two steps to enable this in your Talon.One instance:
- Create a Talon.One webhook and link it to your Pendula flow
- Select the webhook as an Effect in a campaign rule
Let's step through the process.
Creating a Talon.One webhook to Pendula
In your Talon.One tenant:
- Navigate to Account > Tools > Webhooks and click Create Webhook.
- Enter a Webhook title that describes the Pendula flow you are sending to.
- Select the Applications you want to use the webhook in (note that you can update this list at any time).
- Add a parameter with the Param name of
api
- Enter a Param description for the api key.
- Select
POST
as the Request Verb, and paste the URL of your Pendula webhook into the URL field. - Paste the text
Authorization: ${$api}
into the first Header field.
- In the Request payload field, paste the JSON for the Talon.One attributes you want to send to Pendula. These will depend on your available data. An example payload for some data that is useful for Pendula flows is shown below.
{
"name": "${$Profile.Attributes.Name}",
"email": "${$Profile.Attributes.Email}",
"phone": "${$Profile.Attributes.Phone}",
"customerID": "${$Profile.IntegrationId}"
} - Click Save.
You can now select the webhook as a Rule Effect in any of the applications you have linked.
Selecting the webhook as a Rule Effect
Now that you've created a webhook and linked it to a Pendula flow, you can enable this as an Effect in any Campaign Rule, for any active Campaign that is part of the linked applications.
After selecting a webhook, paste the API key for your Pendula tenant into the provided field, using the format Basic <key>
, then click Done to apply the key.
The webhook is active as soon as you Save your changes, so you can quickly start sending promotions to your customers through Pendula.