Introduction
LimeChat helps e-commerce brands sell, support, and market on WhatsApp. Limechat help reduce CAC, boost retention, and deliver amazing experiences through WhatsApp. Limechat offers
- GPT-powered Chatbots for Human-level Experiences
- 2-way WhatsApp Campaigns for 2x RoI without spamming
- AI-enabled CRM built for e-commerce.
MoEngage <> Limechat
The MoEngage and Limechat integration allows you to seamlessly orchestrate the end-to-end customer lifecycle from initial outreach, routed into a conversational experience, and through to omnichannel follow-up(s) via intelligent retargeting. With this integration, you can:
- Trigger Limechat campaigns from MoEngage
- Receive User behaviour events from Limechat to MoEngage
Integration
library_add_check |
Prerequisites
|
Trigger Limechat campaigns from MoEngage
Step 1: Get your Limechat account id and access token
Get your Limechat account id
On the Limechat Dashboard, copy the account id from your URL
Get your Limechat access token
On the Limechat Dashboard,
- Click on the profile picture at the extreme bottom left
- Click on Profile Settings
-
Scroll down to the bottom of this page and copy the Access Token
Step 2: Create a connector campaign on MoEngage
To create a connector campaign on MoEngage,
1. Navigate to Create Campaign >> Connectors >> Custom and choose delivery type most suitable to your needs
2. On step 2 of the campaign
- Select method as POST
- Add Webhook URL as :
https://app.limechat.ai/api/v1/accounts/{account_id}/store_notifications/create_notification_limekit/
Here {account_id} with the account ID copied in Step 1. - In Headers, add
- Content-Type as application/json
- api_access_token as your {Limechat access token} copied in Step 1.
- In Body, choose Raw and copy paste the code.
{
"phone": {{UserAttribute['Mobile Number (Standard)']}},
"template_id": "112",
"first_name": "{{UserAttribute['FirstName']}}",
"email": {{UserAttribute['email']}},
"template_attributes": [
"Akshay",
"[https://app.limechat.ai/](https://app.limechat.ai/)"
],
"status": "closed",
"additional_attributes": {},
"contact_additional_attributes": {},
"label": ""
}
3. At this point, your campaign should be ready to test and send. You can also test your connector configuration using the Test functionality available on Step 2 of Create Connector Campaign.
If your test user successfully receives the message, your set-up is good to go. You can go ahead and Publish the campaign.
Receive User Behavior events from Limechat
Step 1: Get your MoEngage endpoint
Speak to your MoEngage Customer Success Manager to help you get a dedicated endpoint for Limechat.
Step 2: Set up the webhook in Limechat
Provide this webhook along with the following information to your Limechat Customer Success Manager:
Field | Description | ||||||
---|---|---|---|---|---|---|---|
Webhook |
The MoEngage Endpoint provided to you by your Customer Success Manager. |
||||||
Headers |
Provide the following headers:
|
Step 3: See the events in MoEngage
Once the webhook is set up in Limechat, you should be able to see these events in your MoEngage dashboard.
Supported events
Event | Event Code | Description |
---|---|---|
Message Status Update Event |
lc_message_status |
Update message status for a specific flow and node. |
Button Interaction | lc_button_clicked | Notify a Button Interaction. |
Opt Out | lc_user_wa_opt_out | Notify when a user opts out from a brand. |
Conversational & Contact Tag by agents | lc_tag_added_by_agent | Link clicks will only work if LimeChat shortens them. |
Opt In | lc_user_wa_opt_in | Notify when a user opts in from a brand |