Auto Archive Products

Topic summary

A user seeks to create a weekly Shopify Flow automation that archives products meeting two conditions:

  1. Sold out across all variants in all locations
  2. No sales within the past 90 days

Current Challenge:
The user cannot determine how to add a condition in Shopify Flow to check sales history over the 90-day period.

Attempted Solutions:

  • Tried using the Mechanic App but deleted it after being unable to write the necessary code
  • Received general guidance to verify inventory levels and review order history, but lacks specific implementation steps

Status: The discussion remains open with the user requesting detailed instructions on configuring the sales-checking condition within Shopify Flow.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

How do I create a flow that would auto archive a product if (1) sold-out across all variants in all locations AND (2) if there were no sales within 90 days? This flow should run once a week.

1 Like

Create a Shopify Flow automation that runs once a week, checks if a product is sold out across all variants in all locations by verifying inventory levels, then checks if the product has had no sales in the last 90 days by reviewing order history, and if both conditions are met, automatically archives the product to keep the store organized and free of inactive listings.

Have you installed Install Mechanic App already?

Yes and deleted it. I couldn’t figure out how to write the code to create this flow.

I can’t figure out how to add the condition in Shopify flow to check sales. Would you kindly provide instructions?