How it works
When Wysh reports that a shopper has purchased a product from one of their wishlists, Shopify Flow sends the customer's email address to LoyaltyLion and awards points to the matching member.
The downloaded workflow awards 150 points immediately. Its default reason is Purchased {{ product.title }} from Wishlist. It contains one trigger and one action, with no delay or additional condition.
Before you start
- Install and configure Wysh on your Shopify store.
- Install Shopify Flow.
- Install and configure LoyaltyLion, including the loyalty programme rules you want this reward to complement.
- Use a test customer whose Shopify email address matches a LoyaltyLion member.
Important: Confirm the points value with the person responsible for your loyalty programme before enabling the workflow.
Install the workflow
- Download the ZIP and extract
wysh_loyalty_lion_wishlist_item_purchased.flow. - In Shopify Flow, choose Import workflow.
- Select the extracted
.flowfile. - Open the LoyaltyLion action and review the points, reason and customer email fields.
- Save the workflow without switching it on.
Customise the workflow
- Points: the template starts at 150. Change this to match your loyalty programme's economics and promotion rules.
- Reason: the default reason includes the purchased product title. Edit the wording if your team uses a different label for loyalty transactions.
-
Customer email: keep the supplied
{{ customer.defaultEmailAddress.emailAddress }}variable so LoyaltyLion can match the reward to the correct member.
The workflow uses LoyaltyLion's Shopify Flow action. There is no API key field to complete inside this template.
Enable and test
- Use a test customer recognised by both Shopify and LoyaltyLion.
- Save a product to that customer's Wysh wishlist.
- Complete a test purchase for the saved product.
- Confirm that the correct LoyaltyLion member receives one 150-point award, or your revised value.
- Check the transaction reason, then leave the workflow enabled when the test passes.
What the workflow records
The LoyaltyLion action receives the customer's default email address, the number of points and the reward reason. With the default settings, the product title appears in the reason so the transaction can be traced back to the wishlist purchase.
Troubleshooting
- No points: confirm that the Shopify customer email matches the LoyaltyLion member and that the integration is active.
- Wrong points value: reopen the LoyaltyLion action and check the points field.
- Unclear transaction reason: review the reason field and keep the product title variable if you need product-level context.
- Duplicate rewards: check that only one copy of this workflow is enabled.