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
- Ensure you have access to your Optilyz dashboard.
- Ensure that you have your Optilyz API key. Your Optilyz customer success manager will provide you with your Optilyz API key.
- 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.
Step 1: Create connector campaign on MoEngage
To create a connector campaign on MoEngage,- Navigate to Create Campaign >> Connectors >> Custom

- On step 2 of the campaign, select -
a) URL details

| Key | Value |
|---|---|
| Method | POST |
| Webhook URL | https://www.optilyz.com/api/v2/automations/<OPTILYZ_AUTOMATION_ID>/recipient |
| URL params | — |
b) Headers

| Key | Value |
|---|---|
| Authorization | {{ '<OPTILYZ_API_KEY>:' | base64_encode }} |
| Content-Type | application/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 . Thevariation 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.
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