Skip to content

Inkit

Inkit and Braze empower organizations to securely generate and distribute documents - both digitally as well as via direct mail.

This integration is maintained by Inkit.

About the integration

The Braze and Inkit integration allows you to generate documents and mail them directly to Braze users with Braze webhooks.

Prerequisites

Integration

Step 1: Create an Inkit template

On the Inkit platform, create a template to be used in your Braze campaign in HTML, Word, PowerPoint, Excel or PDF. Check out Inkit documentation to learn more.

Step 2: Create your Braze webhook template

To create an Inkit webhook template to use in future campaigns or Canvases, navigate to Templates > Webhook Templates in the Braze platform.

If you would like to create a one-off Inkit webhook campaign or use an existing template, select Webhook in Braze when creating a new campaign.

템플릿 & 미디어 섹션의 웹훅 템플릿 탭에서 미리 디자인된 웹훅 템플릿을 선택할 수 있습니다.

Once you have selected the Inkit webhook template, you should see the following:

  • Webhook URL: Blank
  • Request Body: Raw Text

웹훅 URL 필드에 Inkit 웹훅 URL을 생성하고 입력합니다.

Braze 웹훅 빌더 작성 탭에 표시된 요청 본문 코드와 웹훅 URL.

요청 헤더 및 메서드

Inkit requires an HTTP Header for authorization, including your Inkit API key encoded in base 64. The following will already be included within the template as a key-value pair, but in the Settings tab, you must replace the <INKIT_API_TOKEN> with your Inkit API key.

  • HTTP Method: POST
  • Request Header:
    • Authorization: Basic {{ '<INKIT_API_TOKEN>' | base64_encode }}
    • Content-Type: application/json

Request body

Ensure that your Liquid matches the proper custom attributes associated with the following required and optional fields. You can also add custom data fields to any request.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "api_token": "<INKIT_API_TOKEN>",
  "template_id": "<INKIT_TEMPLATE_ID>",
  "first_name": "{{${first_name}}}",
  "last_name": "{{${last_name}}}",
  "email": "{{${email_address}}}",
  "company": "{{custom_attribute.${company_name}}}",
  "phone" : "{{${phone_number}}}",
  "address_line_1": "{{custom_attribute.${address}}}",
  "address_line_2": "{{custom_attribute.${address2}}}",
  "address_city": "{{${city}}}",
  "address_state": "{{custom_attribute.${state}}}",
  "address_zip": "{{custom_attribute.${zip}}}",
  "address_country": "{{${country}}}",
  "source" : "Braze"
}

Step 3: Preview your request

Your raw text will automatically highlight if it is an applicable Braze tag. street, unit, state, and zip must be set up as custom attributes to send this Webhook.

Preview your request in the Preview panel or navigate to the Test tab, where you can select a random user, an existing user, or customize your own to test your webhook.

New Stuff!