Articles on: Integrations

MoEngage Integration

In this article we will show you how to set up the MoEngage Integration on your Nector dashboard.

Setting up the Integration



Visit the Integrations Page. Click on Email & WhatsApp Marketing in the side-bar. Scroll below to look for MoEngage in that section.




Click on Configure to open up the MoEngage integration page.




First to enable the integration, you need to get the App Id, API keys and server prefix from your MoEngage dashboard.

Getting your App Id & API Keys


Login to your MoEngage dashboard.
From the left side menu, click on Settings, and then click on APIs. See below image for reference.




First, copy the Data API Id shown on this page and paste it on the nector dashboard, under App Id.
Next, paste the same thing again on nector dashboard, under Public API Key.
Back on your MoEngage dashboard, copy the Data API Key and paste it on the nector dashboard, under Private API Key.

Getting your server prefix


Open your MoEngage dashboard. If your MoEngage dashboard URL starts with dashboard-01.moengage.com, then select api-01 as the server prefix.

Similarly, If your MoEngage dashboard URL starts with dashboard-02.moengage.com, select api-02 as the server prefix. And so on.


After that Under Choose Common property, select Email as the mode of communication

Choose Common Property - This refers to the user property of Nector which will be used when sending the event.

Finally, click on Initialize button to button to enable the integration. Once it is enabled, you will see the below view.




Sending Events To MoEngage



Events can be sent to MoEngage when certain things happen on Nector. You can then setup automations on MoEngage, which can be triggered when the event occurs on Nector. For example, when a customer is rewarded with wallet coins, an event can be sent to MoEngage, which in turn will trigger an automation that sends an email to the customer.

Add new event


Switch to the Events tab and click on Create An Event. It opens up to the Events page with the Send Events tab. Now you have to select the event on which you want to notify the external integration.

There are many events supported on Nector. If you don't know which to choose, here are the two events that are most relevant and commonly used:

Wallet Coins Rewarded: This event will be sent whenever wallet coins are rewarded on nector.
Coupon Is Created: This event will be sent whenever a customer uses his wallet coins to get a discount/coupon code on nector.

For example,
To send an Wallet Reward Event to MoEngage whenever wallet coins are rewarded to a customer on nector, you would create the event as shown below.

Click on "+" button to create an event.
For "Event" option, select Wallet Coins Rewarded
For "Send event to" option, by default MoEngage will be selected.




Once you have entered all the details, click on the Create button in the popup. The event will be created as below.




Sending Test Event


In order to make this event available in your MoEngage dashboard, you need to send a test event from Nector as shown below. After this, you can setup the flow on MoEngage using this event as the trigger.

Click on the Event you just created

You can send a test event by clicking on Send Test Event.

A popup opens, enter the email id where you want to send the test email.




Kindly note, the Email id of customer to whom email has to be sent needs to exist in the Customers database of your store.


Events can also be sent for other things like when a new customer is referred, for coin expiry notification, for review request, and more. To learn how to setup these events, look into those respective articles.

For a list of events and the data associated with each event, please refer this article for more info: https://nector.crisp.help/en/article/event-details-sent-to-external-integrations



Events

Event details sent to External Integrations

Updated on: 21/05/2024