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




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  


2. 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 


Add the following two headers

Key Value 
Authorization {{ '<OPTILYZ_API_KEY>:' | base64_encode }}



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


Check the Optilyz dashboard once you test the configuration or trigger the campaign.



Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?