Introduction
Wyng makes it easy to build interactive digital experiences (that is, quizzes, preference centers, promotions) that engage consumers at the right moments, collect preferences and other zero-party data, and personalize in real-time.MoEngage × Wyng
The MoEngage and Wyng integration allows you to leverage zero-party data earned via Wyng experiences to personalize interactions in MoEngage Campaigns and Flows. Wyng can also power a preference center, so consumers can control the data and preferences (including communication preferences) they share with your brand.Integration
PrerequisitesEnsure you have access to your Wyng account
Step 1: Get your MoEngage endpoint
Speak to your MoEngage Customer Success Manager to help you get a dedicated endpoint. You can define your own mapper using MoEngage Connected Sources.Step 2: Set up the webhook in Wyng
Follow the steps to create a webhook in Wyng. Refer to the Wyng document for more details. On your Wyng dashboard:- Go to More >> Integrations
- Click Add Integrations

- Click Webhooks

- Enter the webhook details:
Field Description Webhook name Enter the webhook name, you can name it MoEngage Data source Select one your existing data sources in Wyng Data destination Select URL endpoint as the destination Choose experience Select one of the existing forms/experience data that you want to share with MoEngage URL Enter the MoEngage Endpoint provided to you by your Customer Success Manager Custom Headers Add the following custom headers:
Content-Type:application/json
Authorization: Get your Basic Token by going to any online Basic Auth Header Generator tool. Enter your Workspace ID as username and Data API Key as password. Your final token should look like this (MoEngage Dashboard >> Settings >> APIs):Basic Qk5CR1NNNUR4eHh4eHhWQ1hSRFJEWTdSOlFsWHVoTHVaeHh4eHh4QWQrQnBYUEotNw==Paste this as the value here.Request Body Define your request body. Add the fields that you want to send to MoEngage as user or event attributes. 
- Click on “Save” to add the webhook.