Build a workflow
Open Shopify Flow
Choose a trigger
Supercycle and select the event that starts the workflow, such as Return created, Cycle fulfillment overdue, Cycle receival overdue, or Payment collection failed.Add conditions and actions
Test and turn it on
Pause a subscription on return
Pause a customer’s subscription as soon as they start a return.Pausing subscriptions when returns are created.
Add the trigger
Add a loop
returnOrder.rentals, so each cycle in the return is handled on its own.Add a condition
Add the action
{{rentals.foreachitem.subscriptionId}} and Status to paused.Turn the workflow on
Notify the team on a failed payment
Tell your team when a subscription payment has failed several times.Add the trigger
Add a condition
Add the notification
Customer payment failed 3 times, and include paymentCollector.lastFailedPayment.errorMessage in the body.Cancel the subscription (optional)
paymentCollector.subscriptionContractId and set Status to cancelled.Turn the workflow on
Resolve item conflicts on a cycle
When a cycle’s allocated item is unavailable, for example because it’s still out on another cycle, let Supercycle pick a fresh one.Add the trigger
Add a condition
Add the action
{{rental.id}}.Turn the workflow on
Update an item’s condition after its first cycle
Downgrade an item’s condition once it has been out and come back, for example from New to Pre-loved.Add the trigger
Add a condition
New.New.Add the action
{{rental.item.id}} and Condition ID to the new condition’s ID, such as gid://supercycle/Condition/456. Use item.conditionId from an item that already has the condition.Turn the workflow on
Set the first charge and minimum term for a sale
A sale runs from December 3, 2026 to January 7, 2027. Every subscription ordered in that window should take its first recurring charge on February 1, 2027, and its minimum term should start that day.Add the trigger
Limit it to sale subscriptions
Set the next charge date
{{rental.subscriptionId}} and Next Charge Date to 2027-02-01. Leave Billing Start Date empty.Set the return after date
{{rental.id}} and Return After to the day the minimum term ends. A term that starts on February 1, 2027 and runs 3 months ends on May 1, 2027, so enter 2027-05-01.Turn the workflow on
Workflow FAQs
Can a single return include more than one rental?
Can a single return include more than one rental?
returnOrder.rentals with a For each loop rather than acting on the first one.Do all cycles have a subscription attached?
Do all cycles have a subscription attached?
subscriptionId exists in a condition before any action uses it, or the step fails on cycles without one.How do I validate a workflow before turning it on?
How do I validate a workflow before turning it on?
How do I know my workflows are still running correctly?
How do I know my workflows are still running correctly?