How it works

Follow these 7 simple steps to automate this task automatically.

schedule icon

Schedule sale reset

Set a specific date and time to trigger the workflow, initiating the process to reset site-wide sale prices.
Time to complete: 1 minute

Retrieve list of products

Fetch all products from the Shopify store to prepare for price updates.
Time to complete: 1 minute

Loop through products

Iterate through each product in the Shopify catalog to access individual product details.
Time to complete: 1 minute

Loop through variants

Iterate through each variant of the current product to check and update variant-specific pricing.
Time to complete: 1 minute

Check if "Compare At" price exists

Filter to ensure that only variants with a non-empty "Compare At" price are processed for updates.
Time to complete: 1 minute

Execute custom logic

Run custom code (if needed) to handle additional conditions or logic for the sale reset.
Time to complete: 1 minute
Shopify logo icon

Update product variant pricing

Reset the variant price to the "Compare At" price and clear the "Compare At" field, completing the sale reset for each variant.
Time to complete: 1 minute

Make it your own

Customize this workflow even further:

Set custom delays
Schedule actions to trigger after a set time period, such as sending follow-up emails 3 days after an event.
Chain multiple actions
Connect several steps together in one workflow, like tagging data, updating records, and notifying your team simultaneously.
Store data in tables
Save order details, customer preferences, or custom metrics in your own database for reference and reporting.
Deploy AI agents for smart decisions
Let AI agents evaluate complex scenarios and choose the right action path based on your defined rules.

Frequently asked questions

What is a template?
Templates are pre-made workflows by our team of experts. Instead of building a workflow from scratch, these have all the steps needed to complete the task.
Can I personalize a template?
Yes! Every step can be customized to meet your exact requirements. Additionally, you can even add more steps and make it more sophisticated.
Are templates free?
Yes! Our entire library containing hundreds of templates are free to use and customize to your exact needs.

Ready to automate this task automatically?

Join thousands who've automated their work and saved an average of 3.5 hours every week.

Use this template — It's free
7-day free trial • 7 min setup • Cancel anytime