Skip to main content

Introduction

Optilyz is a direct mail automation platform that enables you to run more customer-centric, sustainable, and profitable direct mail campaigns.

Use cases

Use the Optilyz and MoEngage connectors to send your customers direct mail such as letters, postcards, and self-mailers. Running direct mail like a digital channel means moving away from mass mailings and leveraging the channel as part of your (digital) customer journeys. The benefits of a modern approach to direct mail are:
  • Increased conversion rates via increased relevance, additional use cases, easier A/B testing, and cross-channel effects
  • Reduced effort via automation and an end-to-end solution
  • Reduced cost via frame contracts and cost transparency

Integration

Prerequisites
  1. Ensure you have access to your Optilyz dashboard.
  2. Ensure that you have your Optilyz API key. Your Optilyz customer success manager will provide you with your Optilyz API key.
  3. Ensure that you have your Optilyz Automation ID. The automation ID can be found in a box on the page header. Navigate to the automation (you want to send data into) on your Optilyz dashboard to. The automation must be activated for your account first.
To integrate with optilyz, use the optilyz API to send recipient data to the MoEngage connectors.

Step 1: Create connector campaign on MoEngage

To create a connector campaign on MoEngage,
  1. Navigate to Create Campaign >> Connectors >> Custom
Screenshot_2022-02-21_at_10.48.46_PM.png
  1. On step 2 of the campaign, select -

a) URL details

Screenshot_2022-02-28_at_1.51.23_PM.png
KeyValue
MethodPOST
Webhook URLhttps://www.optilyz.com/api/v2/automations/<OPTILYZ_AUTOMATION_ID>/recipient
URL params

b) Headers

Screenshot_2022-02-28_at_1.53.18_PM.png Add the following two headers
KeyValue
Authorization{{ '<OPTILYZ_API_KEY>:' | base64_encode }}
Content-Typeapplication/json

c) Request Body

In the following request body, you can use any personalization attributes and build a custom request template according to Optilyz’ API documentation . The variation field is optional and can define which design inside the automation should be used. If a variation is omitted, Optilyz will assign one of the defined variations randomly. Screenshot_2022-02-28_at_1.57.59_PM.png

Step 3: Test your configuration

At this point, your campaign should be ready to test and send. You can also test your connector configuration using the Test functionality available on Step 2 of Create Connector Campaign Screen_Shot_2022-02-22_at_11.12.42_AM.png Check the Optilyz dashboard once you test the configuration or trigger the campaign.