Articles on: Integrations

WebEngage Integration

Visit the WebEngage Integration Page. You can also find it under Email & WhatsApp Marketing inside the Integrations page.

To enable the integration, you need to choose the primary selector, and get the license code, API key and the server prefix from your WebEngage dashboard.

Primary Selector - This refers to the primary attribute used to map customers between Nector and WebEngage. You can choose mobile if you use mobile number for primary communication with the customer else choose email.

Getting your license code, API key


Login to your WebEngage dashboard.
From the left side menu, go to Data Platform Integrations
Scroll down to find the REST API section, and click on View. See below image for reference




You will find your license code and API key on this page.
Copy the details on to your nector dashboard


Getting your server prefix


Open your WebEngage dashboard. If your WebEngage dashboard URL starts with dashboard.webengage.com, then it means you're using our Global Data Center. Select "api" as the server prefix.

If your WebEngage dashboard URL starts with dashboard.in.webengage.com, then it means you're using our India Data Center. Select "api.in" as the server prefix.


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




Sending Events To WebEngage



Events can be sent to WebEngage when certain things happen on Nector. You can then setup automations on WebEngage, 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 WebEngage, which in turn will trigger an automation that sends an email to the customer.

Visit the Events Page on your Nector dashboard.

As the first step enable the events by toggling the status button on that page. After enabling you will see the below view.




Add new event


Now switch to the Send Events tab and click on the Create button, a popup will open

Now select the event on which you want to notify the external integration, also select the WebEngage as the external integration that needs to be notified, and add any filters based on which event sending should be restricted

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 a WebEngage whenever wallet coins are rewarded to a customer on nector, you would create the event as shown below.




Once you have entered all the details, click on the Create button in the popup.

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

After you are done setting up events to be sent to WebEngage from Nector, you can create automations on WebEngage in response to the Events. For this, read the steps below:

Go to your Webengage dashboard. Look for Journeys and click on it.




Click on "+" to create a new Journey. Drag and Drop the Occurence of an Event into the flow.




Click on When user does an event. In this example since we have created an event for wallet reward, we will be choosing the "walletreward_create" trigger from the options.

Inorder to make the trigger available in your WebEngage dashboard, a sample event needs to be sent from nector. This sample event can be sent to WebEngage simply by adding some coins to an account on Nector. To reward coins manually refer to this article Manually reward coins to customers

If you would like to create Flows for a separate event, kindly contact the Nector team, by referring here




Click on Save. Drag and Drop the Send Email into the flow.





Click on Send Email and then fill up the email as necessary for your message. You can also add custom keywords in the message by clicking on the profile image and adding variables. Refer to the second example.







Finally click on Save & Continue. In the main page click on PUBLISH NOW.




Your journey will be successfully set as Live.


Updated on: 11/04/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!