Capillary

Introduction

Capillary Intelligent Loyalty platform delivers a comprehensive approach to customer loyalty solutions. The platform provides complete online, in-store, and social media-based loyalty to engage customers and positions your brand for efficient customer engagement.

MoEngage <> Capillary

The MoEngage and Capillary integration enables you to send dynamic coupon codes, and customer loyalty data such as points, loyalty levels, and programs inside of MoEngage campaigns.

Integration

library_add_check

Prerequisites

  • You would need your Capillary API keys to use their APIs.

Display customer rewards in MoEngage Campaigns

Using MoEngage's Content APIs, you can dynamically pull customers' reward points inside MoEngage campaigns for a more personalized experience.

Step 1: Set up a MoEngage Content API

info

Information

We've revamped our dashboard settings UI. Content API is now available in Settings -> Advanced Settings -> Content API in the revamped UI. For more information, refer to Summary of Changes - Settings UI Revamp.

  1. Revamped UI Old UI

    Navigate to Settings -> Advanced Settings -> Content API. Click + Add content API at the top right corner of the Content API screen.

    ContentAPI_Navogation.png

  2. Add your Capillary API to the endpoint URL. Depending on your use case, the endpoint will change. 

    To display your customers' rewards, use Capillary's Get Loyalty Details API.

    While setting up your content API, insert the following URL:

    https://{host}/v2/customers/{{UserAttribute['capillary_id']}}/loyaltyDetails

    Your host will depend on the server to which the API calls are made, usually the cluster URL.

    Under Headers, add the following:

    1. Authorization: Use an online tool to create your basic auth with username as a username and your MD5 hash of your password as a password:

      In the above example, the value of this header would be Basic dXNlcm5hbWU6Y0dGemMzZHZjbVE9
    2. Content-Type: application/json
    3. Accept: application/json
  3. Click on "Save" and then "Done" once you see a successful response.
  4. Note - You can also test your APIs. To test your APIs, from the Content API's action menu, click on "Test". You can your API response and validate it. 

Step 2: Display your customers' loyalty points inside MoEngage campaigns

To use this API in your MoEngage campaigns,

  1. On step 2 on your campaign creation, enter @. 
  2. In the pop up, you can select the Capillary Content API configured in Step 1.
  3. You can use MoEngage Templating Language to parse through the API response and use the content in your campaigns.
  4. You can click on the Preview tab to view your campaign in real-time personalization:
  5. Once you are ready, click on Publish to send the campaign.

Previous

Next

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?