--- title: "Rule - Integration Guide for Yotpo Loyalty & Referrals" slug: "rule-integration-guide-for-yotpo-loyalty-referrals" tags: ["Loyalty and Referrals", "Adobe Commerce (Magento)", "WooCommerce", "Custom", "Shopify Plus", "Shopify"] updated: 2024-04-02T12:19:47Z published: 2024-04-02T12:19:47Z canonical: "support.yotpo.com/rule-integration-guide-for-yotpo-loyalty-referrals" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.yotpo.com/llms.txt > Use this file to discover all available pages before exploring further. # Rule - Integration Guide for Yotpo Loyalty & Referrals Products Loyalty & Referrals ###### Supported plans Premium, Enterprise ###### eCommerce Platform Shopify, Shopify Plus, Adobe Commerce (Magento), WooCommerce, Custom Yotpo’s integration with [Rule](https://www.rule.io/) allows merchants to set up automatic triggers based on almost all Loyalty & Referral events to create personalized emails using Rules' advanced template builders. ## About Rule Rule is a digital communication platform that maximizes the power of customer data to help brands increase engagement at every touchpoint. ## Integrating Yotpo with Rule To integrate Yotpo Loyalty & Referrals with Rule, follow these steps: 1. Log into Yotpo Loyalty & Referrals. 2. Go to the **Settings** tab. 3. Select **General Settings.** 4. Scroll to the bottom of the page to the Webhook section. 5. In the **Webhook URL** field**,** enter the following URL: https://ix.rule.io/yotpo ![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/3ff57e94-a0f7-404d-b430-08c0a2a8f2c6.png?sv=2026-02-06&spr=https&st=2026-11-12T22%3A50%3A46Z&se=2026-11-12T23%3A50%3A46Z&sr=c&sp=r&sig=qelmot9tbHSj9RU5bb0G8X45lXlvhvZa8u6%2BseaHP7s%3D) 6. Click **Save.** 7. In the **Webhook Authentication** field, enter your Rule API key. You can create a new rule API key from the [Rule developer side](https://app.rule.io/#/settings/developer) You've now successfully linked your Yotpo Loyalty & Referrals and Rule accounts. Events and data from Yotpo will now be sent to your Rule account. ## Events you can enable with this integration Here’s a detailed list of Yotpo Loyalty & Referral events you can enable in Rule: ![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/8e26d9ad-04ed-493d-a955-1b830c900844.png?sv=2026-02-06&spr=https&st=2026-11-12T22%3A50%3A46Z&se=2026-11-12T23%3A50%3A46Z&sr=c&sp=r&sig=qelmot9tbHSj9RU5bb0G8X45lXlvhvZa8u6%2BseaHP7s%3D)![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/5641d2f7-5870-42b9-af0d-8e445871273c.png?sv=2026-02-06&spr=https&st=2026-11-12T22%3A50%3A46Z&se=2026-11-12T23%3A50%3A46Z&sr=c&sp=r&sig=qelmot9tbHSj9RU5bb0G8X45lXlvhvZa8u6%2BseaHP7s%3D)![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/047f4c52-8a69-4e2a-9d1d-2e12a556f836.png?sv=2026-02-06&spr=https&st=2026-11-12T22%3A50%3A46Z&se=2026-11-12T23%3A50%3A46Z&sr=c&sp=r&sig=qelmot9tbHSj9RU5bb0G8X45lXlvhvZa8u6%2BseaHP7s%3D)![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/f2de458f-349e-4c1b-b6b9-4b04c51908da.png?sv=2026-02-06&spr=https&st=2026-11-12T22%3A50%3A46Z&se=2026-11-12T23%3A50%3A46Z&sr=c&sp=r&sig=qelmot9tbHSj9RU5bb0G8X45lXlvhvZa8u6%2BseaHP7s%3D)![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/184b5bf2-385c-4585-bc4b-a5c70b50a858.png?sv=2026-02-06&spr=https&st=2026-11-12T22%3A50%3A46Z&se=2026-11-12T23%3A50%3A46Z&sr=c&sp=r&sig=qelmot9tbHSj9RU5bb0G8X45lXlvhvZa8u6%2BseaHP7s%3D)![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/eccb6107-ab66-4389-9f26-ebe60a9d8c5c.png?sv=2026-02-06&spr=https&st=2026-11-12T22%3A50%3A46Z&se=2026-11-12T23%3A50%3A46Z&sr=c&sp=r&sig=qelmot9tbHSj9RU5bb0G8X45lXlvhvZa8u6%2BseaHP7s%3D)![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/1d9a15e6-defc-4d8e-959d-293842eb438f.png?sv=2026-02-06&spr=https&st=2026-11-12T22%3A50%3A46Z&se=2026-11-12T23%3A50%3A46Z&sr=c&sp=r&sig=qelmot9tbHSj9RU5bb0G8X45lXlvhvZa8u6%2BseaHP7s%3D)![](https://cdn.document360.io/f3c2ab59-fe4c-4f93-9614-2872f40e8aa7/Images/Documentation/7a53b325-9e65-44c1-a011-385cb655c2ae.png?sv=2026-02-06&spr=https&st=2026-11-12T22%3A50%3A46Z&se=2026-11-12T23%3A50%3A46Z&sr=c&sp=r&sig=qelmot9tbHSj9RU5bb0G8X45lXlvhvZa8u6%2BseaHP7s%3D) Please note: All events will also have a Yotpo tag on the subscriber. [Learn more about Loyalty & Referral events you can enable](https://loyaltyapi.yotpo.com/reference/reference-getting-started) ## List of data fields Here’s a list of data fields that are applied to all events in Rule by data group: Yotpo.StoreName #### **Customer** Subscriber.FirstName Subscriber.LastName Yotpo.TotalSpendCents Yotpo.TotalPurchases Yotpo.LastPurchaseAt (datetime) Yotpo.PerksRedeemed Yotpo.PointsEarned Yotpo.PointsBalance Yotpo.PointsExpireAt (datetime)| Yotpo.LastSeenAt (datetime) Yotpo.IsMember (boolean) #### **Reward** Yotpo.RedemptionRewardText Yotpo.RedemptionName Yotpo.RedemptionDescription Yotpo.RedemptionAmount #### **Perk** Yotpo.PerkID Yotpo.PerkCampaignID Yotpo.PerkRewardPoints Yotpo.PerkHistoryTitle #### **Birthday** Subscriber.Birthday (date) #### **Anniversary** Subscriber.Anniversary (date) #### **OptIn** Yotpo.OptIn (boolean) Yotpo.OptInDate (datetime) #### **PointsReminder** Yotpo.RedemptionPointsNeeded #### **ReferralShare** Yotpo.ReferredByEmail Yotpo.ReferredByFirstName Yotpo.ReferredByLastName Yotpo.ReferredByReferralLink #### **ProductReferralShare** Yotpo.ProductReferredByEmail Yotpo.ProductReferredByFirstName Yotpo.ProductReferredByLastName Yotpo.ProductReferralLink Yotpo.ProductID Yotpo.ProductName Yotpo.ProductImageURL #### **ReferralCompleted** Yotpo.ReferredToEmail Yotpo.ReferredToFirstName Yotpo.ReferredToLastName #### **Tier** Yotpo.NewTierID Yotpo.NewTierName Yotpo.NewTierDescription Yotpo.NewTierPointsEarned Yotpo.NewTierAmountSpentCents Yotpo.NewTierPurchasesMade Yotpo.NewTierPointsMultiplier Yotpo.NewTierRank Yotpo.OldTierID Yotpo.OldTierName Yotpo.OldTierDescription Yotpo.OldTierPointsEarned Yotpo.OldTierAmountSpentCents Yotpo.OldTierPurchasesMade Yotpo.OldTierPointsMultiplier Yotpo.OldTierRank #### **TierStats** Yotpo.TierStatsCurrentPoints Yotpo.TierStatsCurrentAmountCents Yotpo.TierStatsCurrentPurchases Yotpo.TierStatsCurrentReferrals Yotpo.TierStatsNeededMaintainPoints Yotpo.TierStatsNeededMaintainAmountCents Yotpo.TierStatsNeededMaintainPurchases Yotpo.TierStatsNeededMaintainReferrals Yotpo.TierStatsNeededNextPoints Yotpo.TierStatsNeededNextAmountCents Yotpo.TierStatsNeededNextPurchases Yotpo.TierStatsNeededNextReferrals Having issues with the integration? Contact Rule support at [support@rule.se](mailto:support@rule.se)