> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/yotpo-loyalty.md).

# Yotpo Loyalty

### Connection <a href="#connect" id="connect"></a>

When you're setting up your first workflow with Yotpo Loyalty & Rewards, you'll need to add your unique API Key and GUID so that Yotpo Loyalty & Referrals is a connected app within MESA.

<figure><img src="/files/YjxvhWmm4zLE2Z19mO1H" alt="Screenshot of the MESA connection setup for Yotpo Loyalty &#x26; Rewards where you add your unique API Key and GUID. Spotlight the API Key and GUID fields."><figcaption></figcaption></figure>

You can find both the API Key and GUID in your Yotpo Loyalty & Rewards app > Settings > [General](https://loyalty.yotpo.com/general-settings)**.**

<figure><img src="/files/OQ6AmYnZftO3cjOVfQhN" alt="Screenshot of the Yotpo Loyalty &#x26; Rewards app Settings General page where you find your API Key. Spotlight the API Key field."><figcaption></figcaption></figure>

<figure><img src="/files/CSanT1e9VnV7cpBsFeNK" alt="Screenshot of the Yotpo Loyalty &#x26; Rewards app Settings General page where you find your GUID. Spotlight the GUID field."><figcaption></figcaption></figure>

Add the API Key field to the Key field in the connection, and GUID value to the Secret field.

Lastly, in your MESA workflow, click on Add Connection and then you are all set.

### Configure <a href="#configuration" id="configuration"></a>

#### Triggers and Webhooks <a href="#yotpoloyalty-webhooks" id="yotpoloyalty-webhooks"></a>

{% hint style="info" %}
Starting a workflow with a Yotpo Loyalty trigger requires a Yotpo's Premium or Enterprise plans.
{% endhint %}

When you're setting up your first trigger for Yotpo Loyalty & Rewards, you'll need to add the Webhook URL to your Yotpo Loyalty & Rewards account, so updates are sent to MESA.

Create a workflow with a Yotpo Loyalty & Referrals [Trigger](https://docs.getmesa.com/workflow-builder). Copy the Webhook URL value under Configuration. If it's blank, save and/or refresh the workflow.

<figure><img src="/files/eCC41JLYQUd4YECyfXnZ" alt="Screenshot of a MESA workflow with a Yotpo Loyalty &#x26; Referrals trigger, copy the Webhook URL value under Configuration. Spotlight the Webhook URL field."><figcaption></figcaption></figure>

In your Yotpo Loyalty & Rewards app, go to Settings > General, then paste into the Webhook URL field and hit Save. If you already have value(s) in that field, add a **;** (semi-colon) before the pasted value, so that updates can be sent to MESA, in addition to your existing integrations.

<figure><img src="/files/s85EkvugB9gFbWjP7AXa" alt="Screenshot of the Yotpo Loyalty &#x26; Rewards app Settings General page, paste the MESA Webhook URL into the Webhook URL field. Spotlight the Webhook URL field and Save button."><figcaption></figcaption></figure>
