Build a workflow
Open Shopify Flow
Choose a trigger
Supercycle and pick the event that starts the workflow, such as Return created, Cycle updated, Membership canceled, 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
Add the action
{{rental.item.id}} and Condition ID to the ID of the condition you want, such as gid://supercycle/Condition/456. Copy it from your item conditions settings, or from an item that already has that condition.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?