Step 1: Connect Shopify to Swapt
Install the Swapt app from the Shopify App Store.
Open the Swapt Platform and go to the Integrations tab.
Connect via OAuth
Enter your Shopify store name, or
Use your Shopify API access token.
Once connected, your Shopify discounts will sync automatically with Swapt.
Step 2: Create Your Discount Campaign
There are two ways to create Shopify coupons for Swapt.
Method 1: Swapt Shopify App, accessed through your Shopify account
Open the Swapt app in Shopify.
In the Dashboard, click Create Campaign.
Enter a Campaign Title — this is for your internal reference only.
Choose your Discount Type:
Percentage Off
Fixed Amount Off
Buy One, Get One (BOGO)
Configure your code settings:
One-time use (recommended): Generates unique, single-use codes for each customer — best for fraud prevention.
Generic codes: Deactivate the “One-time use” toggle to create reusable codes for broader campaigns.
Enter the number of codes you need based on your QR quantity.
Set a Start Date and End Date:
Start date: Set to yesterday to begin testing immediately.
End date: At least one year ahead to ensure longevity.
Method 2: Swapt Platform
(method not recommended if you want to create a BOGO coupon)
Navigate to the promo codes tab on the Swapt platform.
Click Create Promo Code Campaign. From the dropdown, select Shopify Discount Codes.
Enter a Campaign Title — this is for your internal reference only.
Choose your Discount Type:
Percentage Off
Fixed Amount Off
Configure your code settings:
One-time use (recommended): Generates unique, single-use codes for each customer — best for fraud prevention.
Generic codes: Deactivate the “One-time use” toggle to create reusable codes for broader campaigns.
Enter the number of codes you need based on your QR quantity.
Set a Start Date and End Date:
Start date: Set to today to begin testing immediately.
End date: At least one year ahead to ensure longevity.
Step 3: Add Discount Codes to Your Flow
Once your codes are generated, you’ll need to distribute them through your automation flow.
Open your Flow.
Click Add a Node → choose Apply Promotion.
Select Apply specific promo code and pick the Shopify code you created.
Do not modify the usage limit.
Toggle Apply to order on.
Leave Send notification off — you’ll handle delivery in a later step.
💡 Tip: Ensure the discount node appears after the landing page/customer data capture form and before the success page in your Flow sequence.
Step 4: Deliver Codes to Customers
You can deliver codes to customers in two ways:
Option 1: Through Klaviyo or any ESP/SMS provider
On your Swapt success page, add: “Your reward is on its way to your inbox.”
Use your Klaviyo integration to insert the code dynamically into your email.
See this article for setup details.
Option 2: Auto-apply Discount Link
Add a button to your success page linking to your Shopify store:
https://yourstorename.com/discount/{promotion.promotionalCode.code}Replace yourstorename with your store details.
{promotion.promotionalCode.code} will pull in the customer's unique discount code.
When clicked, the code will auto-apply to the customer’s next order.
Don’t forget to save your success page after editing.
Step 5: Monitor Campaign Performance
Track your campaign’s performance from either platform:
In Swapt Platform → Promo Codes → Shopify Section, view code usage rates by campaign or over time.
In the Swapt Shopify App, you can view identical campaign analytics directly from your Shopify dashboard.