# MoEngage

Integrating Zigpoll with MoEngage lets you automatically push survey responses into MoEngage as user attributes and custom events. Use this data to build segments, trigger campaigns, and personalize messaging across email, SMS, and push based on real customer feedback.

***

### Step 1: Get Your MoEngage Data API Credentials

1. Log into your MoEngage Dashboard.
2. Navigate to **Settings > Account > APIs**.
3. Note your **Data API ID** (this is the same as your **Workspace ID**).
4. In the **API Keys > Data** section, copy your **Data API Key**.
5. Note your **Data Center** number — MoEngage routes API traffic through a numbered data center (e.g. `DC-03` → `api-03.moengage.com`). You can find it in your dashboard URL or on the same APIs settings page.

{% hint style="info" %}
Make sure you copy the **Data** API Key (used for the Data Import APIs), not a different API key type. The Data API ID and Data API Key are used together as Basic Auth credentials.
{% endhint %}

***

### Step 2: Enable the MoEngage Integration in Zigpoll

1. Log in to your Zigpoll Dashboard.
2. Navigate to **Integrations** from the left-hand menu.
3. Find **MoEngage** and toggle it on.
4. Enter your **Data API ID / Workspace ID** and **Data API Key**, and select your **Data Center**.
5. Press **Save**.

***

### Step 3: Configure Options

* **Send User Attributes** (on by default): Updates the MoEngage user profile with survey response data as user attributes each time a survey is submitted. Turn this off if you only want to track events.
* **Remove Prefixes**: By default, attributes are prefixed with "Zigpoll:" (e.g., `Zigpoll: How did you hear about us?`). Enable this to remove the prefix, which is useful if you want to match survey data with existing user attributes.

***

### What Data Gets Sent

Once enabled, every survey submission sends the following to MoEngage:

**Custom Event:**

* Event name: `Zigpoll Survey Completed`
* Event attributes include the survey title and all slide responses

**User Attributes** (if enabled):

* Each slide response is stored as a user attribute on the profile
* A `Zigpoll: Participant` attribute links back to the participant's detail page in Zigpoll
* Survey metadata (order ID, product info, etc.) is included if available

Users are matched by their participant ID as the `customer_id`. If an email address is available, it is also attached to the profile.

***

### Example Use Cases

* **Trigger a follow-up campaign** when a customer reports a negative experience.
* **Build segments** based on survey responses like attribution answers or product preferences.
* **Personalize messaging** across email, SMS, and push using user attributes from survey data.
* **Suppress or re-target** customers based on their survey answers.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zigpoll.com/integrations/moengage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
