From retargeting to reactivation and beyond, the most successful campaigns often include direct mail and digital elements. Integrating Sailthru with Inkit empowers you to run true omnichannel marketing and retention campaigns. Once you connect your accounts, you’ll be able to access all your Sailthru lists right inside Inkit. That includes Sailthru’s dynamically generated smart lists—which means you can make your direct mail pieces every bit as targeted as your digital efforts.

The steps to get the webhook up and running are as follows:

  1. Find your API key and Template ID from the Inkit dashboard. Your API key is located here. The Template ID can be found within the URL for each template- for example: https://app.inkit.io/#/templates/design/bd9b0b8c-c47b-40ae-8787-80dd76f6d2bb
  2. In the tool or app you want to connect to Inkit, create a new webhook. The details of creating new webhooks vary between platforms. Reach out to your platform's support team to find out how to create a new webhook.
  3. Fill in the webhook with the following details:

Endpoint: https://internal.inkit.io/integrations/webhook

Add a HTTP Header for the Authorization key value pair, with your API key from Inkit.

Add the following mandatory fields to specify the recipient, using built-in and custom properties in your platform, and the template which should be sent out:

User Profile Fields

api_token (Your Inkit API key)
template_id (Template ID from Inkit’s end)
first_name
last_name
company (optional)
email
street
unit (optional)
city
state (must be a 2 character code, e.g. CA)
zip
country (must be a 2 character code, e.g. US)

Custom Data Fields
Custom data fields can be added into any request. Simply add the field name into the request and we'll add that key: value pair into that contact.

Example Webhook Request:

{
    "api_token": "xc02a5f2fbxc4db3a9xdx2axb396159x",
    "template_id": "8x4dx69x6xeex1d6x25x84cx4x1x1x9x",
    "first_name": "Richard",
    "last_name": "Hendricks",
    "company": "Pied Piper",
    "email": "richard@piedpiper.com",
    "street": "101 Unicorn Lane",
    "unit": "",
    "city": "San Francisco",
    "state": "CA",
    "zip": "94016",
    "country": "US",
    "promo_code": "HAPPY2019",
    "likes": "Tabs"
}

As you can see, promo_code and likes are extra fields added into the request. These fields can be used on your templates to dynamically deliver customized direct mail to your customers.

And that’s it! Now you’re ready to start automating direct mail through your connected platform based on any actions or events you like.

Did this answer your question?