WebEngage Integration
In this article we will show you how to set up the WebEngage 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 WebEngage in that section.
Click on Configure to open up the WebEngage integration page.
First to enable the integration, you need to get the license code, private API key and server prefix from your WebEngage dashboard.
Getting your license code and 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 that Under Choose Common property, select Email as the mode of communication
Finally, click on Initialize button to 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.
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 WebEngage 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 WebEngage 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
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.
Setting up the journeys on WebEngage
After you are done setting up events to be sent to WebEngage from Nector, you can create jounreys 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.
- 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.
Related Articles
Updated on: 21/05/2024
Thank you!