Inkit has partnered with Customer.io! Using Inkit plus Customer.io, you can send targeted emails, push notifications, SMS, and now direct mail to lower churn, create stronger relationships, and drive subscriptions. With this integration, Customer.io now enables Inkit to seamlessly send direct mailers to your users. The Inkit webhook can be added as long as you have a pre-existing Customer.io account.

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

  • Create a New workflow item...
  • Select Webhook
  • Name your webhook
  • Select Add Request

Next log into Inkit

  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. 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": "[email protected]",
    "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.

The webhook request should look similar to below screenshot:

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

Did this answer your question?