Articles on: Integrations

Delightchat Integration

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

To enable the integration, you need to choose the primary selector, and get the API key from your Delightchat dashboard.

Primary Selector - This refers to the primary attribute used to map customers between Nector and Delightchat. You can choose mobile.


Getting your API key


Visit your Delightchat dashboard
Create an API based automation. See below on how create an automation.

Refer this article from Delightchat on how to create an automation on Delightchat: https://www.delightchat.io/help-center/custom-use-cases-with-whatsapp-marketing-api

After creating the automation, you will be able to get the API key on the automation page. See below image for reference (see the circled part)



Copy the API key shown on this page and paste it on nector dashboard


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




Sending Whatsapp Messages



Whatsapp messages can be sent to customers for various events that occur on Nector. For example: When a customer is rewarded with some wallet coins, you can send a whatsapp message via Wati.

The first step is to configure for which events you would like to send whatsapp messages to your customers.

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.




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 Delightchat 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 Delightchat 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 have created the events, you can now configure which whatsapp template to be used for each of the event that you created.

Once again, visit the Delightchat Integration Page on your nector dashboard. And switch to the Template Settings tab.

For each of the event that you created in the previous step, you will have to add a Automation Id (which can be obtained from your Delightchat dashboard, see below for more details) for the associated event on this page.


How to get the Automation Id from Delightchat dashboard


Visit your Delightchat dashboard
Create an API based automation. See below on how create an automation.

Refer this article from Delightchat on how to create an automation on Delightchat: https://www.delightchat.io/help-center/custom-use-cases-with-whatsapp-marketing-api

After creating the automation, you will be able to find the automation id on that page. See below image for reference.




Once you have added the automation id , you can also choose the variables/properties that you are using in your whatsapp template.

For example, if you are sending a whatsapp message when a customer is rewarded with wallet coins, you would use the following variables in your template:

amount: this refers to the number of wallet coins rewarded
user_balance: this refers to the total number of wallet coins that the customer has

So, your Template Settings would look something like this:

Updated on: 28/03/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!