Detect the sale
The flow starts when a sale is created in Lightspeed Retail X and prepares its details.
About this template
When a gift card is spent in store, the online balance stays the same unless someone adjusts it, which allows the same value to be spent twice. This template starts on each Lightspeed Retail X sale, finds the linked Shopify card through an Airtable record, debits the amount, deactivates cards with no balance left and alerts Microsoft Teams if the update fails.
Key benefits
Inside the flow
Triggered on a Lightspeed Retail X sale, the flow reads the gift card used, finds its Shopify twin in Airtable, debits the Shopify card and deactivates it if empty, alerting Microsoft Teams on failure.
The flow starts when a sale is created in Lightspeed Retail X and prepares its details.
The gift card used in the sale is fetched from Lightspeed Retail X with the amount spent.
The Airtable record linking the two cards is looked up, then the Shopify card and its balance are fetched.
If the card is not valid, the flow stops and leaves it untouched.
The amount is debited from the Shopify card, and a card left at zero is deactivated.
On success the Airtable record is updated; on failure a message goes to a Microsoft Teams chat group.
Keep gift card balances the same in store and online
01
Customers see one balance online and at the till.
02
The Shopify balance drops when the in-store sale is rung up.
03
Fully spent cards are deactivated without anyone remembering to.
04
Store and support teams stop adjusting balances in Shopify.
05
Each successful debit updates the Airtable link record for finance.
01
Customers see one balance online and at the till.
02
The Shopify balance drops when the in-store sale is rung up.
03
Fully spent cards are deactivated without anyone remembering to.
04
Store and support teams stop adjusting balances in Shopify.
05
Each successful debit updates the Airtable link record for finance.
Keep exploring
Every repetitive process between your ERP, CRM, and business apps has a template. Find yours, customize it, and go live today.
Customize the flow
Every trigger and action this template uses is available in the appse ai builder, so the same flow can be rebuilt with your own routing, thresholds and destinations.
Questions & answers
Everything you need to know about this template before you deploy it.
Discover how appse ai has helped businesses automate processes and achieve growth through our users' success stories.
Start free — no credit card, no setup calls required. Use this template as-is or customize every step inside the appse ai no-code builder and go live today.