---
updatedAt: 2026-10-09T05:28:41.000Z
agentTools:
  siteIndex: https://documentation.bloomreach.com/llms.txt
  projectIndex: https://documentation.bloomreach.com/engagement/llms.txt
---

# Voucherify

Integration

The following is a guide on how to integrate [Voucherify](https://www.voucherify.io/) with Marketing.

Voucherify functions as a low-code Promotion Engine designed to execute high-impact promotions. It is fully capable of integration with Marketing. This guide explains how to set up the integration with Voucherify and provides two example use cases showing how you can use Voucherify to your advantage.

## How the integration works

The Voucherify integration allows for the flow of data from Voucherify to Bloomreach. Customer-related events from Voucherify are sent to Marketing and are associated with customers. These events can be used to update the customer’s parameters with additional information from Voucherify. It can also trigger event-based messaging.

This integration also enables you to update customer data in the Voucherify database for more personalized promotions. It also lets you initiate specific promotions from Bloomreach scenarios in real time.

## How to set it up

### 1. Authenticate the Webhook

In Marketing, set up the webhook authentication for Voucherify to ensure a secure data transfer in the webhook request. This webhook authentication will come into play when you create a scenario in a later step.

To configure the webhook authentication in Marketing:

1. Go to **Data & Assets > Integrations**.
2. Press **+Add new integration**.

<Image src="https://files.readme.io/b0f3c7766ca4c72b64572e63781271b8c8bb48527595ba30b8303b1a7864a317-Monosnap_Integrations__Docs_project__Bloomreach_2024-12-03_16-34-09.png" align="center" width="700px" border={true} />

3. Search for **HTTP Authentication Schemas** and press **+ Add integration**.

<Image src="https://files.readme.io/e6d1aa846c5b6f44c7291c66bfb66b91e3edc9b807e0e31c3ed1a7d35f06f202-Monosnap_Integrations__Docs_project__Bloomreach_2024-12-04_11-22-28.png" align="center" width="700px" border={true} />

4. In the Endpoint field, enter the Voucherify API base URL. The base URL differs based on your area.

* Use `<https://api.voucherify.io>` for Europe
* Use `<https://us1.api.voucherify.io/>` for USA
* Use `<https://as1.api.voucherify.io>` for Asia

4. Name the integration "*VoucherifyAuthenticationGeneral*" and press **Custom headers**.

<Image src="https://files.readme.io/6c5cd80-Monosnap_Integrations__Analytics_Templates_PROD__Bloomreach_2023-11-26_13-26-08.png" align="center" width="700px" border={true} />

5. Go to your Voucherify project.
6. Press Your **Project Name > Project Settings**. Scroll down to **Application Keys** and copy the **Application ID** and **Secret Key**.

<Image src="https://files.readme.io/42b1fa6-Monosnap_Dashboard__Voucherify.io_2023-11-26_13-30-17.png" align="center" width="700px" border={true} />

5. In Marketing, set the first key to `X-App-Id` and paste the **Application ID** value.
6. Press **Add header**.
7. Set the second key to `X-App-Token` and paste the **Secret Key** value.
8. Press **Test integration**. If the authentication is successful, press **Save integration**.

<Image src="https://files.readme.io/06bfe00-Monosnap_Integrations__Analytics_Templates_PROD__Bloomreach_2023-11-26_13-39-02.png" align="center" width="700px" border={true} />

### 2. Generate Bloomreach API keys

The integration moves data from Voucherify to Marketing. Marketing associates these events with customers. This association uses new Voucherify information to update customer parameters. It also initiates event-based messaging. Lastly, it improves Bloomreach's segmentation options.

To use Voucherify with Marketing you first need to generate API Keys.

1. In Marketing, go to **Settings > Project Settings**.

<Image src="https://files.readme.io/21ef60e-Monosnap_Integrations__Analytics_Templates_PROD__Bloomreach_2023-11-26_13-49-16.png" align="center" width="700px" border={true} />

2. Under **Project**, go to **Access management > API**.
3. Save your **Project Token** and **API Base URL**.

<Image src="https://files.readme.io/152adab-Monosnap_API__Analytics_Templates_PROD__Bloomreach_2023-11-26_13-53-44.png" align="center" width="700px" border={true} />

4. Create a new **API group** with **Private access**. Set the name which will help you distinguish this permission set, for example Voucherify.
5. Press **Create group**.

<Image src="https://files.readme.io/41fd7dd-Monosnap_API__Analytics_Templates_PROD__Bloomreach_2023-11-26_13-59-26.png" align="center" width="700px" border={true} />

6. Save your **API Secret Key**. You will not be able to see it again.
7. Save the **API Key ID** from the newly created group - usually named **Default**
8. Scroll down to **Group Permissions > Events**. Assign permission for events that you want to process through the API.

<Image src="https://files.readme.io/27c66f1-Monosnap_API__Analytics_Templates_PROD__Bloomreach_2023-11-26_16-10-10.png" align="center" width="700px" border={true} />

9. (Optional) If you don’t have defined events or you want to allow processing of all new events sent by Voucherify, check the **New Events** checkbox in the **Set** column
10. Press **Save Changes**.

### 3. Configure Marketing in Voucherify

To activate the integration between Bloomreach and Voucherify, provide specific details in Voucherify's integration section. Follow these steps to set up the integration:

1. In Voucherify, go to **Profile > Integrations**.

<Image src="https://files.readme.io/17d895b-Monosnap_Dashboard__Voucherify.io_2023-11-26_16-16-08.png" align="center" width="700px" border={true} />

2. Scroll to Marketing and press **Connect**.
3. The following items are displayed in the basic menu view:

<Image src="https://files.readme.io/c37c6b0-unnamed_14.png" align="center" border={true} />

* Marketing**&#x20;Main Hard ID** – Marketing customers use various IDs to identify customers. Select which Customer's Hard ID will serve as the source\_id in Voucherify
* **Send events** – This instructs Voucherify to send Voucherify events tied to customers to Marketing. If activated, provide Marketing API keys below
* **Sync Voucherify Customer's ID** – If enabled, the Voucherify Customer’s ID will be stored in Marketing as a Hard or Soft ID

The Marketing full menu view includes the following fields:

* Bloomreach**&#x20;Hard/Soft ID for storing Voucherify Customer's ID** – Access to this setting is available only when 'Sync Voucherify Customer's ID' is enabled. It defines the Hard or Soft ID that stores the Voucherify customer ID.
* Marketing**&#x20;API keys** – If 'Send events' or 'Sync Voucherify Customer's ID' is enabled, you must fill in these fields. Use the Project Token, API base URL, API Key ID, and API Key Secret you created in the previous step in Bloomreach API.

Once the configuration is done, Marketing will receive all customer-related events from Voucherify.

### 4. Configure Webhook Authentication

Once configured, the webhook authentication allows the transfer of data from Bloomreach to Voucherify. To configure the Marketing webhook authentication:

1. Repeat steps 1-3 from the ‘[Authenticate the Webhook](https://documentation.bloomreach.com/engagement/docs/voucherify#1-authenticate-the-webhook)’ section.
2. Name the integration "*VoucherifyAuthenticationBloomreachEngagement*" and select **Custom headers**.

<Callout icon="🚧" theme="warn">
  ### Important

  The endpoint URLs are different than in the ‘[Authenticate the Webhook](https://documentation.bloomreach.com/engagement/docs/voucherify#1-authenticate-the-webhook)’ section.

  - Use `<https://bloomreach.voucherify.io>` for Europe
  - Use `<https://us1.bloomreach.voucherify.io>` for USA
  - Use `<https://as1.bloomreach.voucherify.io>` for Asia
</Callout>

3. In Voucherify, go to **Your project > Project Settings > General**.
4. Scroll down to **Integration Keys** and press **+**.

<Image src="https://files.readme.io/5189d8f-Monosnap_Dashboard__Voucherify.io_2023-11-26_16-38-09.png" align="center" width="700px" border={true} />

5. Choose a **Name** and select the **Role**.
6. Choose Marketing from the **Integration** drop-down list.

<Image src="https://files.readme.io/163e5ad-Monosnap_Dashboard__Voucherify.io_2023-12-03_20-49-30.png" align="center" width="700px" border={true} />

<Callout icon="🚧" theme="warn">
  ### Important

  The Marketing integration is different than Bloomreach.
</Callout>

7. Press **Create Integration API Key**.
8. In Marketing, set the first key to `application-id` and paste the **Application ID** value.
9. Set the second key to `secret-key` and paste the **Secret Key** value.
10. Press **Test integration**. If the authentication is successful, press **Save integration**.

<Image src="https://files.readme.io/0891330-Monosnap_VoucherifyAuthenticationBloomreachEngagement__Plug_and_Play_STAGE__Bloomreach_2023-11-28_17-48-10.png" align="center" width="700px" />

## Use Cases

### Assign New Voucher

<Callout icon="📘" theme="info">
  ### Note:

  This preset uses the `<https://api.voucherify.io/v1/publications>` endpoint.
</Callout>

The Voucherify API boosts marketing campaigns managed in Bloomreach Scenarios. It allows to send unique coupon codes, customer loyalty points, recent discounts, and more to each customer.

In this scenario, the abandoned cart email includes a Voucherify discount code. This coupon motivates the customer to complete the purchase by providing an extra perk. The scenario contains three parts:

* An **On event** trigger that will start the process
* A **Voucherify - Assign new Voucher** preset retrieves a unique customer coupon code from Voucherify
* An **email** action that sends a message with the allocated voucher code to the customer

<Image src="https://files.readme.io/b877213-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-19-43.png" align="center" width="700px" border={true} />

**Voucherify - Assign new Voucher** preset requires the following configuration:

1. In Marketing go to your Scenario.
2. On the left-hand side go to `Actions > Other > Voucherify - Assign new Voucher`.
3. Double-click on the Webhook (or click on the `Edit` button) and go to `Settings`.
4. Choose [VoucherifyAuthenticationGeneral](https://documentation.bloomreach.com/engagement/docs/voucherify#1-authenticate-the-webhook) in Authentication and select your consent category.

<Image src="https://files.readme.io/7150c4f-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-21-31.png" align="center" width="700px" border={true} />

5. In Voucherify, go to **Campaigns** and select the Campaign you want to use. Copy the **Campaign ID**.

<Image src="https://files.readme.io/227e6e8-Monosnap_Dashboard__Voucherify.io_2023-11-27_13-25-03.png" align="center" width="700px" border={true} />

6. Go to **Parameters** and paste your **Campaign ID**.

<Image src="https://files.readme.io/5874ec2-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-23-31.png" align="center" width="700px" border={true} />

When the preset becomes operational, you can use the returned values in marketing automation. The returned values can be implemented using Jinja tags, as seen here:

`{{ webhook['voucher.code'] }}`

<Image src="https://files.readme.io/10bcdeb-unnamed.png" align="center" border={true} />

### Update customer records

You can use the **Voucherify - Update Customer Records** preset to modify customer properties or add new customers.

Here's an example: If a new customer registers (triggering the 'registration' event), we also want to add that customer to Voucherify. This scenario includes two components:

* An **On event** trigger that will start the process
* A **Voucherify - Update Customer Records** preset that will communicate with Voucherify to transfer the customer data

<Image src="https://files.readme.io/2a83665-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-25-18.png" align="center" border={true} />

**Voucherify - Update Customer Records** preset requires the following configuration:

1. In Marketing go to your Scenario.
2. On the left-hand side go to **Actions > Other > Voucherify - Update Customer Records**.
3. Double-click on the Webhook (or press **Edit**) and go to **Settings**.
4. Choose [VoucherifyAuthenticationBloomreachEngagement](https://documentation.bloomreach.com/engagement/docs/voucherify#4-configure-webhook-authentication) in **Authentication** and select your consent category.

<Image src="https://files.readme.io/fec7475-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-26-16.png" align="center" width="700px" border={true} />

5. Go to **Parameters** and enter your campaign **Hard ID**.

<Callout icon="📘" theme="info">
  ### Note

  By default, the "registered" key in the Editor tab is Bloomreach's main hard ID. This ID needs to match the Main Hard ID set in Voucherify's Marketing configuration.
</Callout>

<Image src="https://files.readme.io/0040480-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-27-38.png" align="center" width="700px" border={true} />

6. Go to **Editor**, check **Batch Webhook**, and press **Turn on and reset template**.

<Image src="https://files.readme.io/a2b2fb6-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-28-13.png" align="center" width="700px" border={true} />

7. Paste this code into the root part:

```
[  
	{{ customers | join(",") }}  
]
```

<Image src="https://files.readme.io/3a7748d-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-29-33.png" align="center" width="700px" border={true} />

### Send Events

Use the **Voucherify - Send Events** preset to create and send events to Voucherify.

For example, when a voucher gets assigned to a customer (which triggers the 'voucher\_assigned' event), we also want to send this event to Voucherify. This scenario includes two components:

* An **On event** trigger that will start the process
* A **Voucherify - Send Events** preset that will communicate with Voucherify to transfer the event data

<Image src="https://files.readme.io/d8e0c85-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-32-08.png" align="center" border={true} />

**Voucherify - Send Events** preset requires the following configuration:

1. I&#x6E;*&#x20;*Marketing, go to your Scenario.
2. On the left-hand side go to `Actions > Other > Voucherify - Send Events`.
3. Double-click on the Webhook (or click on the `Edit` button) and go to `Settings`.
4. Choose [VoucherifyAuthenticationBloomreachEngagement](https://documentation.bloomreach.com/engagement/docs/voucherify#4-configure-webhook-authentication) in **Authentication** and select your consent category.

<Image src="https://files.readme.io/4c73163-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-33-02.png" align="center" width="700px" border={true} />

5. Go to **Parameters** and enter your campaign **Hard ID**.

<Callout icon="📘" theme="info">
  ### Note

  By default, the "registered" key in the Editor tab is Bloomreach's main hard ID. This ID needs to match the Main Hard ID set in the Voucherify's Marketing configuration.
</Callout>

<Image src="https://files.readme.io/ca0e209-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-34-37.png" align="center" width="700px" border={true} />

6. Go to **Editor**, check **Batch webhook**, and press **Turn on and reset template**.

<Image src="https://files.readme.io/9209d40-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-35-58.png" align="center" width="700px" border={true} />

7. Paste this code into the root part:

```
[  
	{{ customers | join(",") }}  
]
```

<Image src="https://files.readme.io/ebc9fae-Monosnap_Scenarios__Plug_and_Play_STAGE__Bloomreach_2023-12-01_14-37-06.png" align="center" width="700px" border={true} />