Introduction
Attentive empowers leading brands and organizations to create meaningful interactions that inspire action through real-time, personalized mobile messaging.
MoEngage <> Attentive
The MoEngage and Attentive integration will help you to send Attentive SMSs and MMSs triggered directly from MoEngage's Campaigns. With this integration, you can trigger Attentive Messages using Attentive's Messages API with Connecter Campaigns.
Integration
PREREQUISITES
|
Step 1: Create a message in the Attentive Platform
Complete the steps to create a one-time message in Attentive. This is necessary for generating the message ID and using the Attentive short link to track clicks. Note the following for the campaign:
- Enter a unique Campaign Name—For example, a recognisable name like MoEngage Cart Checkout Message.
- Select an empty segment—You should select a segment with no existing subscribers. This ensures that the message will not be sent to existing subscribers.
- Add a short link—You should now have a blank message except for the short link.
After you send the campaign to the blank segment, you can save the message ID from Attentive’s platform.
Step 2: Create a Connector Campaign in MoEngage
To create a connector campaign on MoEngage,
- Navigate to Create Campaign >> Connectors >> Custom and choose delivery type most suitable to your needs
- On step 2 of the campaign,
- Select the method as POST
- Add Webhook URL as:
https://api.attentivemobile.com/v1/text/send
- In Headers, add
Authorization
:Bearer <token>
Content-Type
:application/json
- Leave the parameters empty.
- In Body, choose Raw and copy paste this code:
{ "to": "{{UserAttribute['Mobile Number (Standard)']}}", "body": "This is a test message.", "subscriptionType": "MARKETING", "useShortLinks": true, "messageName": "Test Message", "skipFatigue": false }
You can view the complete config here: Messages API.
- 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.