LoyaltyLion

Updated 5 days ago by Yohan Loyer

LoyaltyLion is a digital loyalty framework that gives e-commerce stores innovative ways to engage and retain customers.

If you're using LoyaltyLion for your loyalty program, you can connect it to Gorgias to display information next to support tickets. 

Benefits of integrating LoyaltyLion

  • When a customer contacts you, display their profile from LoyaltyLion
  • Award points to customers using macros*
  • Insert the referral URL as a variable in a macro*

*These require custom actions to be created using HTTP Webhooks in a Macro. For more information please see this article.

Installation instructions

You'll need the following details to complete the integration:

  • Header Generator
  1. In your LoyaltyLion account, click Manage --> under Configuration click Settings
  2. Scroll down to find your API token and API secret (both should look like this: 12345a67a8bbb90ccd00)
  3. Go to this website to open a header generator, and enter the Loyalty Lion API tokens as follows:
    Token = Username
    Secret = Password
  4. Click Generate Header. This will generate a unique code that starts with the word that should look like this: Basic xBkHfGk6ugDyf7FGjgLK8Uhhgr467DerFf75J=
  5. In Gorgias, navigate to Settings -> Integrations -> HTTP -> Add new HTTP integration
  6. Copy the Integration Information from the block below, and paste into the 'Integration name' and 'URL' fields in Gorgias
  7. Integration name: LoyaltyLion
    URL: https://api.loyaltylion.com/v2/customers?email={{ticket.customer.email}}
  8. Ensure only 'Ticket Created' and 'Ticket message created' are enabled (not 'Ticket updated')
  9. Click on Add header
  10. Copy the Authorization details from the Header Generator and paste this into the field provided
  11. Click Add integration -> Save changes

Nice! You've added the integration. Now, Gorgias will pull the LoyaltyLion data every time there's a new message.

Widget setup instructions

Now head to a ticket that has a messages sent after you've completed the steps above, to configure the LoyaltyLion widget.

  1. Go to a ticket from a customer who has a LoyaltyLion balance
  2. Click the ⚙ at the top right hand corner of the screen
  3. Scroll down or search for 'LoyaltyLion' to find your LoyaltyLion integration widget
  4. Drag this integration widget into the sidebar
  5. Customize your which data is shown by dragging and dropping available variables

Here is an example of a customized widget:

Please note, this integration is available to all customers but will only be supported for Advanced and Enterprise plan customers.
While any plan can set up the integration following the instructions, due to the manual work it requires on our end, if you are on the Basic or Pro plan we will not be able to provide support in setting it up or fixing any issues with it should they arise.


How did we do?


Powered by HelpDocs (opens in a new tab)