{"id":15920,"date":"2025-10-10T16:00:00","date_gmt":"2025-10-10T16:00:00","guid":{"rendered":"https:\/\/www.getmesa.com/blog\/?p=15920"},"modified":"2025-12-22T22:48:48","modified_gmt":"2025-12-22T22:48:48","slug":"auto-archive-sold-out-shopify-products-after-30-days","status":"publish","type":"post","link":"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/","title":{"rendered":"How to Auto-Archive Sold Out Products in Shopify After 30 Days"},"content":{"rendered":"\n<p>Your Shopify store catalog tells a story, but not every chapter needs to stay on display. Products that have been sold out for weeks create digital clutter that confuses customers and makes your active inventory harder to find.<\/p>\n\n\n\n<p>Most store owners face the same dilemma: manually checking which products have been out of stock for 30 days or more can take hours every month. You end up with a catalog full of unavailable items that frustrate shoppers and dilute your brand&#8217;s appeal.<\/p>\n\n\n\n<p>The good news is that you can automate this entire process, keeping your storefront clean without manual work. By setting up automatic archiving for products that have been sold out for 30 days, you maintain a focused catalog that showcases only what customers can buy.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-dots\"\/>\n\n\n\n<p class=\"has-text-align-center\"><strong>TL;DR: Skip the manual setup<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-center\">Get this two-part automation working in minutes.<\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>shopify-archive-out-of-stock-products<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"shopify-archive-out-of-stock-products\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\t\t<style>.mesa-template-backend {\n    background: rgba(139, 139, 150, 0.1);\n    padding: 22px;\n}\n\n.mesa-template-backend h5,\n.mesa-template-backend p {\n    margin: 0 0 5px;\n}\n\n.mesa-template-backend p {\n    font-size: 16px;\n}\n\n.mesa-template-backend p:last-child {\n    display: inline-block;\n    background: #fff;\n    padding: 5px 10px;\n}\n\n.mesa-template-backend p strong {\n    font-size: 12px;\n}<\/style>\n\t\t\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">In this article:<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#Step-by-step-guide-How-to-automatically-archive-Shopify-products-that-have-been-sold-out-for-30-days\" >Step-by-step guide: How to automatically archive Shopify products that have been sold out for 30 days<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#Tips-on-archiving-sold-out-products-on-Shopify\" >Tips on archiving sold-out products on Shopify<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#1-Set-the-right-time-threshold-for-your-business\" >1. Set the right time threshold for your business<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#2-Create-clear-archive-criteria-beyond-just-sold-out-status\" >2. Create clear archive criteria beyond just sold-out status<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#3-Preserve-SEO-value-by-redirecting-archived-product-URLs\" >3. Preserve SEO value by redirecting archived product URLs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#4-Send-notifications-before-archiving-high-value-product-items\" >4. Send notifications before archiving high-value product items<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#5-Maintain-archived-product-data-for-reportingreactivation\" >5. Maintain archived product data for reporting\/reactivation<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#Why-automatically-archive-sold-out-products-in-Shopify\" >Why automatically archive sold-out products in Shopify<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#Keep-your-bestsellers-visible\" >Keep your bestsellers visible<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#Prevent-customer-disappointment-loops\" >Prevent customer disappointment loops<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#Reduce-decision-fatigue-for-seasonal-businesses\" >Reduce decision fatigue for seasonal businesses<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#Maintain-clean-analytics-and-reporting\" >Maintain clean analytics and reporting<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#Improve-site-search-functionality\" >Improve site search functionality<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#Signal-fresh-inventory-to-return-visitors\" >Signal fresh inventory to return visitors<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.getmesa.com/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#Frequently-asked-questions\" >Frequently asked questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-step-by-step-guide-how-to-automatically-archive-shopify-products-that-have-been-sold-out-for-30-days\"><span class=\"ez-toc-section\" id=\"Step-by-step-guide-How-to-automatically-archive-Shopify-products-that-have-been-sold-out-for-30-days\"><\/span>Step-by-step guide: How to automatically archive Shopify products that have been sold out for 30 days<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-how-to wp-block-yoast-how-to-block\"><p class=\"schema-how-to-total-time\"><span class=\"schema-how-to-duration-time-text\">Time needed:&nbsp;<\/span>10 minutes<\/p><p class=\"schema-how-to-description\">This <a href=\"https:\/\/www.getmesa.com\/apps\/shopify\/integrate\">Shopify automation<\/a> consists of two connected workflows that work together to monitor your Shopify store and automatically archive products that remain sold out for 30 consecutive days. The first workflow captures sold-out events in real-time, while the second workflow runs daily to check durations and handle archiving.<br><br><strong>Important:<\/strong> You need both workflows active for this system to work properly. The data collection workflow creates the tracking database that the archiving workflow depends on.<\/p> <ol class=\"schema-how-to-steps\"><li class=\"schema-how-to-step\" id=\"how-to-step-1759187114648\"><strong class=\"schema-how-to-step-name\">Set up the data collection workflow trigger<\/strong> <p class=\"schema-how-to-step-text\">Configure the first workflow to trigger whenever any product variant goes out of stock in your Shopify store. The real-time trigger captures every sold-out event immediately.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"344\" class=\"wp-image-15921\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-346.png\" alt=\"Set up the data collection workflow trigger\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-346.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-346-300x67.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-346-1024x229.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-346-768x172.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759187286811\"><strong class=\"schema-how-to-step-name\">Retrieve product and shop details<\/strong> <p class=\"schema-how-to-step-text\">When a variant goes out of stock, the workflow fetches the complete product information from Shopify and retrieves your shop details. You need the shop information to construct proper admin links for easy product management later.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"1462\" class=\"wp-image-15922\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-347.png\" alt=\"Retrieve product and shop details\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-347.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-347-300x286.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-347-1024x975.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-347-768x731.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759187432782\"><strong class=\"schema-how-to-step-name\">Calculate total product inventory<\/strong> <p class=\"schema-how-to-step-text\">Next, use the Loop built-in tool to sum up inventory quantities across all variants of the affected product to determine if the entire product is truly out of stock. This prevents archiving products that still have available variants in different sizes, colors, or configurations.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"976\" class=\"wp-image-15923\" alt=\"Calculate total product inventory\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-348.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-348.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-348-300x191.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-348-1024x651.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-348-768x488.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759187486183\"><strong class=\"schema-how-to-step-name\">Filter for completely sold-out products<\/strong> <p class=\"schema-how-to-step-text\">Only products with zero total inventory across all variants proceed to the tracking database. This filter ensures you&#8217;re only monitoring products that are completely unavailable, not just individual variants.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"916\" class=\"wp-image-15924\" alt=\"Filter for completely sold-out products\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-349.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-349.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-349-300x179.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-349-1024x611.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-349-768x458.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759187571534\"><strong class=\"schema-how-to-step-name\">Create tracking database record<\/strong> <p class=\"schema-how-to-step-text\">For qualifying sold-out products, the workflow creates or updates a record in the &#8220;Sold Out Shopify Product Tracker&#8221; database. This record includes the product ID, title, inventory quantity (0), sold-out start date, day counter (starting at 0), status (Active), and a direct admin link.<img loading=\"lazy\" decoding=\"async\" width=\"887\" height=\"1600\" class=\"wp-image-15925\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-350.png\" alt=\"Create tracking database record\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-350.png 887w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-350-166x300.png 166w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-350-568x1024.png 568w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-350-768x1385.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-350-852x1536.png 852w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759187630650\"><strong class=\"schema-how-to-step-name\">Turn on this tracking workflow<\/strong> <p class=\"schema-how-to-step-text\">Be sure to turn this \u201cOn\u201d so any out-of-stock event starts tracking.<img loading=\"lazy\" decoding=\"async\" width=\"1260\" height=\"1600\" class=\"wp-image-15926\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-351.png\" alt=\"Turn on to auto-archive sold out products in Shopify after 30 days\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-351.png 1260w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-351-236x300.png 236w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-351-806x1024.png 806w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-351-768x975.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-351-1210x1536.png 1210w\" sizes=\"auto, (max-width: 1260px) 100vw, 1260px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759187725842\"><strong class=\"schema-how-to-step-name\">Set up daily monitoring schedule<\/strong> <p class=\"schema-how-to-step-text\">This is the trigger for the second workflow for this solution to work. Configure this step to run every day at midnight using a schedule trigger.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"344\" class=\"wp-image-15927\" alt=\"Set up daily monitoring schedule\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-352.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-352.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-352-300x67.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-352-1024x229.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-352-768x172.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759187796794\"><strong class=\"schema-how-to-step-name\">Process active tracking records<\/strong> <p class=\"schema-how-to-step-text\">Next, use the built-in Data tool and choose the Query action to search for products with &#8220;Active&#8221; status in order to process each one individually. Use the built-in Filter tool to check for products.<img loading=\"lazy\" decoding=\"async\" width=\"1316\" height=\"1600\" class=\"wp-image-15928\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-353.png\" alt=\"Process active tracking records\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-353.png 1316w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-353-247x300.png 247w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-353-842x1024.png 842w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-353-768x934.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-353-1263x1536.png 1263w\" sizes=\"auto, (max-width: 1316px) 100vw, 1316px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759187860020\"><strong class=\"schema-how-to-step-name\">Loop through all products to update the tracking counter<\/strong> <p class=\"schema-how-to-step-text\">For each active product, get the product details, then calculate the total inventory quantities.<br\/><br\/>This ensures the workflow only archives products that have been continuously sold out for 30 days, not products that have been intermittently out of stock. If a product gets restocked even once during the 30-day period, the counter resets and the countdown starts over.<img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"1600\" class=\"wp-image-15929\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-354.png\" alt=\"Loop through all products to update the tracking counter\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-354.png 802w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-354-150x300.png 150w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-354-513x1024.png 513w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-354-768x1532.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-354-770x1536.png 770w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759187917650\"><strong class=\"schema-how-to-step-name\">Define the rules to increment the counter values<\/strong> <p class=\"schema-how-to-step-text\">Next, use the built-in Paths tool to create conditional logic for incrementing the tracking counter.<br\/><br\/>For products still at zero inventory, it increments the day counter. For products back in stock, it resets the tracking data.<img loading=\"lazy\" decoding=\"async\" width=\"808\" height=\"1080\" class=\"wp-image-15940\" alt=\"Define the rules to increment the counter values\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/Screenshot-2025-09-29-at-4.52.31-PM.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/Screenshot-2025-09-29-at-4.52.31-PM.png 808w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/Screenshot-2025-09-29-at-4.52.31-PM-224x300.png 224w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/Screenshot-2025-09-29-at-4.52.31-PM-766x1024.png 766w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/Screenshot-2025-09-29-at-4.52.31-PM-768x1027.png 768w\" sizes=\"auto, (max-width: 808px) 100vw, 808px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759188103863\"><strong class=\"schema-how-to-step-name\">Identify 30-day candidates<\/strong> <p class=\"schema-how-to-step-text\">After updating all counters, use the Data built-in tool and the Query action to find products that have reached exactly 30 days of being sold out. These products meet your archiving criteria and will be automatically removed from your active catalog.<img loading=\"lazy\" decoding=\"async\" width=\"1005\" height=\"1600\" class=\"wp-image-15930\" alt=\"Identify 30-day candidates\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-355.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-355.png 1005w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-355-188x300.png 188w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-355-643x1024.png 643w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-355-768x1223.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-355-965x1536.png 965w\" sizes=\"auto, (max-width: 1005px) 100vw, 1005px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759188160758\"><strong class=\"schema-how-to-step-name\">Archive products in Shopify<\/strong> <p class=\"schema-how-to-step-text\">For each product sold out for the full 30-day period, the workflow changes the product status to &#8220;archived&#8221; in your Shopify store. This removes products from customer view while preserving all data for potential future reactivation.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"1374\" class=\"wp-image-15931\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-356.png\" alt=\"Archive products in Shopify\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-356.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-356-300x268.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-356-1024x916.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-356-768x687.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759188205562\"><strong class=\"schema-how-to-step-name\">Update tracking records<\/strong> <p class=\"schema-how-to-step-text\">The final step marks archived products in your tracking database with an &#8220;Archived&#8221; status and records the exact archiving timestamp. This maintains a complete audit trail of your automated inventory management decisions.<img loading=\"lazy\" decoding=\"async\" width=\"937\" height=\"1600\" class=\"wp-image-15932\" alt=\"Update tracking records\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-357.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-357.png 937w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-357-176x300.png 176w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-357-600x1024.png 600w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-357-768x1311.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-357-900x1536.png 900w\" sizes=\"auto, (max-width: 937px) 100vw, 937px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1759188295356\"><strong class=\"schema-how-to-step-name\">Activate both workflows and test<\/strong> <p class=\"schema-how-to-step-text\">Turn this workflow On in MESA and test the workflows. First, manually mark a product as out of stock to verify the data collection workflow creates proper tracking records. Then run the daily workflow manually to confirm it processes records correctly before letting both run.<img loading=\"lazy\" decoding=\"async\" width=\"693\" height=\"1600\" class=\"wp-image-15933\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-358.png\" alt=\"Activate both workflows and test\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-358.png 693w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-358-130x300.png 130w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-358-444x1024.png 444w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-358-665x1536.png 665w\" sizes=\"auto, (max-width: 693px) 100vw, 693px\" \/><\/p> <\/li><\/ol><\/div>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-dots\"\/>\n\n\n\n<p class=\"has-text-align-center\">Ready to implement this inventory management workflow?<\/p>\n\n\n\n<p class=\"has-text-align-center\">Use this pre-built template instead of building everything from scratch:<\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>shopify-archive-out-of-stock-products<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"shopify-archive-out-of-stock-products\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-tips-on-archiving-sold-out-products-on-shopify\"><span class=\"ez-toc-section\" id=\"Tips-on-archiving-sold-out-products-on-Shopify\"><\/span>Tips on archiving sold-out products on Shopify<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-set-the-right-time-threshold-for-your-business\"><span class=\"ez-toc-section\" id=\"1-Set-the-right-time-threshold-for-your-business\"><\/span>1. Set the right time threshold for your business<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Choose your archival timeframe based on your restocking patterns and customer expectations. Fashion retailers might archive after 14 days since trends move quickly, while specialty equipment stores may wait 60-90 days for seasonal restocks. The 30-day standard works well for most general merchandise, but align your timeline with your actual inventory cycles.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-create-clear-archive-criteria-beyond-just-sold-out-status\"><span class=\"ez-toc-section\" id=\"2-Create-clear-archive-criteria-beyond-just-sold-out-status\"><\/span>2. Create clear archive criteria beyond just sold-out status<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Don&#8217;t archive every sold-out item automatically. Set up your automation to check multiple conditions like zero inventory, no incoming purchase orders, and specific product tags or collections. This prevents accidentally archiving limited-edition items you&#8217;re planning to restock or seasonal products that should return next year.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3-Preserve-SEO-value-by-redirecting-archived-product-URLs\"><\/span>3. Preserve SEO value by redirecting archived product URLs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>When you archive products that had strong search rankings or inbound links, set up automatic 301 redirects to similar active products or relevant collection pages. This maintains your SEO equity and prevents customers from hitting dead ends when they click old bookmarks or search results.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-4-send-notifications-before-archiving-high-value-product-items\"><span class=\"ez-toc-section\" id=\"4-Send-notifications-before-archiving-high-value-product-items\"><\/span>4. Send notifications before archiving high-value product items<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Configure your automation to alert you before archiving products above a certain price threshold or those with significant sales history. This gives you a chance to manually review valuable items and decide whether to reorder, find alternative suppliers, or create backorder options instead of archiving.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-5-maintain-archived-product-data-for-reporting-reactivation\"><span class=\"ez-toc-section\" id=\"5-Maintain-archived-product-data-for-reportingreactivation\"><\/span>5. Maintain archived product data for reporting\/reactivation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Keep detailed records of archived products, including sales history, profit margins, and supplier information. This makes it easy to unarchive and restock successful items later while maintaining historical data for business analysis and tax purposes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-automatically-archive-sold-out-products-in-shopify\"><span class=\"ez-toc-section\" id=\"Why-automatically-archive-sold-out-products-in-Shopify\"><\/span>Why automatically archive sold-out products in Shopify<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Keep-your-bestsellers-visible\"><\/span>Keep your bestsellers visible<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>When sold-out products crowd your collections, customers struggle to find what they can actually buy. A cluttered catalog buries your top performers under unavailable inventory. By automatically removing products that have been out of stock for 30 days, you highlight items customers can purchase right now.<\/p>\n\n\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prevent-customer-disappointment-loops\"><\/span>Prevent customer disappointment loops<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Nothing frustrates shoppers more than browsing through products only to discover they&#8217;re unavailable at checkout. This creates negative shopping experiences that stick with customers long after they leave your store. Auto-archiving eliminates these dead-end product pages before they become conversion killers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Reduce-decision-fatigue-for-seasonal-businesses\"><\/span>Reduce decision fatigue for seasonal businesses<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>If you run a seasonal business or sell limited-edition items, old sold-out products can create confusion. Customers spend mental energy evaluating products that aren&#8217;t even available, making it harder for them to focus on your active inventory. This is especially problematic during peak shopping seasons when quick decisions matter most.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Maintain-clean-analytics-and-reporting\"><\/span>Maintain clean analytics and reporting<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Sold-out products skew your product performance reports and search analytics. When unavailable items appear in your top-viewed products, you get false signals about what customers actually want. Auto-archiving after 30 days ensures your data reflects real customer interest in purchasable products.<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Try this related workflow template:&nbsp;<\/strong><\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>remove-shopify-draft-orders-after-30-days<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"remove-shopify-draft-orders-after-30-days\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Improve-site-search-functionality\"><\/span>Improve site search functionality<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Your internal search becomes less effective when it returns mostly sold-out results. Customers lose confidence in your search feature and may abandon their shopping session entirely. Removing long-term out-of-stock items keeps search results relevant and actionable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Signal-fresh-inventory-to-return-visitors\"><\/span>Signal fresh inventory to return visitors<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Repeat customers notice when your product catalog stays static with unavailable items. Auto-archiving creates the impression of active inventory management and regular restocking, even when you&#8217;re not adding new products. This subtle signal suggests your business is thriving and well-maintained.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently-asked-questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1759188696125\"><strong class=\"schema-faq-question\"><strong>Does Shopify have a feature to auto-archive sold-out products?<\/strong>\u00a0<\/strong> <p class=\"schema-faq-answer\">No, Shopify doesn&#8217;t offer a native feature to automatically archive products after they&#8217;ve been sold out. While you can manually archive products, you&#8217;ll need a third-party solution like MESA to create time-based automation that monitors inventory levels and automatically archives products that have been sold out for 30 days or longer.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1759188705639\"><strong class=\"schema-faq-question\"><strong>Can I track how long a product has been out of stock in Shopify?<\/strong>\u00a0<\/strong> <p class=\"schema-faq-answer\">Shopify doesn&#8217;t provide built-in tracking for out-of-stock duration. The platform shows current inventory levels but doesn&#8217;t maintain a log of when products went out of stock or how long they&#8217;ve remained unavailable. To track this information and trigger automated actions based on out-of-stock duration, you&#8217;ll need an automation platform like MESA that can monitor inventory changes over time and execute workflows based on specific timeframes.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1759188715300\"><strong class=\"schema-faq-question\"><strong>What&#8217;s the difference between archiving\/deleting Shopify products?<\/strong>\u00a0<\/strong> <p class=\"schema-faq-answer\">Archiving products in Shopify removes them from your storefront and search results while preserving all product data, including order history, analytics, and SEO settings. Archived products can be easily restored if inventory becomes available again. Deleting products permanently removes all data and cannot be undone. For sold-out items that might return to stock, archiving is the safer choice since it maintains your product&#8217;s search rankings and historical data while keeping your active catalog clean.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1759188731096\"><strong class=\"schema-faq-question\"><strong>How often should I clean up sold-out products from my Shopify store?<\/strong>\u00a0<\/strong> <p class=\"schema-faq-answer\">Most successful store owners archive products after they&#8217;ve been sold out for 30 days. This timeframe gives you enough opportunity to restock popular items while preventing your catalog from becoming cluttered with unavailable products. Some businesses prefer 14 days for fast-moving inventory or 60 days for seasonal items. The key is consistency\u2014manual cleanup becomes overwhelming, which is why automated archiving through tools like MESA helps maintain a professional storefront without constant manual intervention.<\/p> <\/div> <\/div>\n\n\n\n<div class=\"card-next-steps\">\n\t<div class=\"card__content\">\n\t\t<h4>What to do next&#8230;<\/h4>\n<p>The fastest way to see automation working in your store is to start with a single workflow.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.getmesa.com\/pricing\"><strong>Try MESA free<\/strong><\/a> \u2014 start a 7-day free trial and get your first workflow running.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/templates\"><strong>Browse the template library<\/strong><\/a> \u2014 pre-built workflows for the most common Shopify automation tasks.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/yedric\"><strong>Talk to Yedric<\/strong><\/a> \u2014 describe what you want to automate, and let our AI assistant build it for you.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/support\"><strong>Get free workflow setup<\/strong><\/a> \u2014 MESA&#8217;s team will build your first workflow at no cost.<\/li>\n<\/ol>\n\t<\/div><!-- \/.card__content -->\n\n\t\n<div class=\"socials card__socials\">\n\t<ul>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/twitter.com\/getmesa\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/twitter-icon.svg\" class=\"attachment-small size-small\" alt=\"icon: twitter\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/www.youtube.com\/@getmesa\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/youtube-icon.svg\" class=\"attachment-small size-small\" alt=\"icon: youtube\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/www.linkedin.com\/company\/9754608\/\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/linkedin-icon.svg\" class=\"attachment-small size-small\" alt=\"linkedin icon\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t<\/ul>\n<\/div><!-- \/.socials -->\n<\/div><!-- \/.card-next-steps -->\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your Shopify store catalog tells a story, but not every chapter needs to stay on display. Products that have been&#8230;<\/p>\n","protected":false},"author":1,"featured_media":15934,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[48],"tags":[286,66],"class_list":["post-15920","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-workflow-tutorials","tag-data","tag-shopify"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How To Auto-Archive Sold Out Products Shopify After 30 Days<\/title>\n<meta name=\"description\" content=\"Archive sold-out Shopify products after 30 days with automation. Keep your store clean without manual work. Free setup included.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Auto-Archive Sold Out Products in Shopify After 30 Days\" \/>\n<meta property=\"og:description\" content=\"Your Shopify store catalog tells a story, but not every chapter needs to stay on display. Products that have been sold out for weeks create digital\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/\" \/>\n<meta property=\"og:site_name\" content=\"MESA\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/mesabyshoppad\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-10T16:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-22T22:48:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-359.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ryan ODonnell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@getmesa\" \/>\n<meta name=\"twitter:site\" content=\"@getmesa\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ryan ODonnell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"21 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/\"},\"author\":{\"name\":\"Ryan ODonnell\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/5ed8ee9c6f19090c4d5acb4f45efacb4\"},\"headline\":\"How to Auto-Archive Sold Out Products in Shopify After 30 Days\",\"datePublished\":\"2025-10-10T16:00:00+00:00\",\"dateModified\":\"2025-12-22T22:48:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/\"},\"wordCount\":1704,\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/image-359.png\",\"keywords\":[\"data\",\"shopify\"],\"articleSection\":[\"Workflow Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/\",\"name\":\"How To Auto-Archive Sold Out Products Shopify After 30 Days\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/image-359.png\",\"datePublished\":\"2025-10-10T16:00:00+00:00\",\"dateModified\":\"2025-12-22T22:48:48+00:00\",\"description\":\"Archive sold-out Shopify products after 30 days with automation. Keep your store clean without manual work. Free setup included.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188696125\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188705639\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188715300\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188731096\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/image-359.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/image-359.png\",\"width\":1280,\"height\":720,\"caption\":\"How to Auto-Archive Sold Out Products in Shopify After 30 Days\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Auto-Archive Sold Out Products in Shopify After 30 Days\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\",\"name\":\"MESA\",\"description\":\"Discover how to automate your Shopify growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\",\"name\":\"MESA - AI automation Platform\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/mesa-shoppad.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/mesa-shoppad.jpeg\",\"width\":225,\"height\":225,\"caption\":\"MESA - AI automation Platform\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/web.facebook.com\\\/mesabyshoppad\\\/\",\"https:\\\/\\\/x.com\\\/getmesa\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/shoppad\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCqsf_WhcGEsZMvms1idivyw\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/5ed8ee9c6f19090c4d5acb4f45efacb4\",\"name\":\"Ryan ODonnell\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"caption\":\"Ryan ODonnell\"},\"sameAs\":[\"https:\\\/\\\/www.getmesa.com\"],\"jobTitle\":\"Director of Marketing\",\"worksFor\":\"MESA\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188696125\",\"position\":1,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188696125\",\"name\":\"Does Shopify have a feature to auto-archive sold-out products?\u00a0\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No, Shopify doesn't offer a native feature to automatically archive products after they've been sold out. While you can manually archive products, you'll need a third-party solution like MESA to create time-based automation that monitors inventory levels and automatically archives products that have been sold out for 30 days or longer.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188705639\",\"position\":2,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188705639\",\"name\":\"Can I track how long a product has been out of stock in Shopify?\u00a0\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Shopify doesn't provide built-in tracking for out-of-stock duration. The platform shows current inventory levels but doesn't maintain a log of when products went out of stock or how long they've remained unavailable. To track this information and trigger automated actions based on out-of-stock duration, you'll need an automation platform like MESA that can monitor inventory changes over time and execute workflows based on specific timeframes.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188715300\",\"position\":3,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188715300\",\"name\":\"What's the difference between archiving\\\/deleting Shopify products?\u00a0\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Archiving products in Shopify removes them from your storefront and search results while preserving all product data, including order history, analytics, and SEO settings. Archived products can be easily restored if inventory becomes available again. Deleting products permanently removes all data and cannot be undone. For sold-out items that might return to stock, archiving is the safer choice since it maintains your product's search rankings and historical data while keeping your active catalog clean.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188731096\",\"position\":4,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#faq-question-1759188731096\",\"name\":\"How often should I clean up sold-out products from my Shopify store?\u00a0\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Most successful store owners archive products after they've been sold out for 30 days. This timeframe gives you enough opportunity to restock popular items while preventing your catalog from becoming cluttered with unavailable products. Some businesses prefer 14 days for fast-moving inventory or 60 days for seasonal items. The key is consistency\u2014manual cleanup becomes overwhelming, which is why automated archiving through tools like MESA helps maintain a professional storefront without constant manual intervention.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"HowTo\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#howto-1\",\"name\":\"How to Auto-Archive Sold Out Products in Shopify After 30 Days\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#article\"},\"description\":\"This &lt;a href=\\\"https:\\\/\\\/www.getmesa.com\\\/apps\\\/shopify\\\/integrate\\\">Shopify automation&lt;\\\/a> consists of two connected workflows that work together to monitor your Shopify store and automatically archive products that remain sold out for 30 consecutive days. The first workflow captures sold-out events in real-time, while the second workflow runs daily to check durations and handle archiving.&lt;br>&lt;br>&lt;strong>Important:&lt;\\\/strong> You need both workflows active for this system to work properly. The data collection workflow creates the tracking database that the archiving workflow depends on.\",\"totalTime\":\"P0DT0H10M\",\"step\":[{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759187114648\",\"name\":\"Set up the data collection workflow trigger\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Configure the first workflow to trigger whenever any product variant goes out of stock in your Shopify store. The real-time trigger captures every sold-out event immediately.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-d37b35dbbfcb5d3cfb1b69b5acea368b\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-346.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-346.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759187286811\",\"name\":\"Retrieve product and shop details\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"When a variant goes out of stock, the workflow fetches the complete product information from Shopify and retrieves your shop details. You need the shop information to construct proper admin links for easy product management later.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-4d0d252e3d9c6fc55762fca0b8b22615\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-347.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-347.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759187432782\",\"name\":\"Calculate total product inventory\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Next, use the Loop built-in tool to sum up inventory quantities across all variants of the affected product to determine if the entire product is truly out of stock. This prevents archiving products that still have available variants in different sizes, colors, or configurations.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-cc896a04dad43ce0f5c1842870ecc0e1\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-348.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-348.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759187486183\",\"name\":\"Filter for completely sold-out products\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Only products with zero total inventory across all variants proceed to the tracking database. This filter ensures you're only monitoring products that are completely unavailable, not just individual variants.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-5c3d674ee4e364e163ef0460732c9715\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-349.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-349.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759187571534\",\"name\":\"Create tracking database record\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"For qualifying sold-out products, the workflow creates or updates a record in the \\\"Sold Out Shopify Product Tracker\\\" database. This record includes the product ID, title, inventory quantity (0), sold-out start date, day counter (starting at 0), status (Active), and a direct admin link.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-a2fa0c25bbf88a7090a4ba8eed4e16f2\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-350.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-350.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759187630650\",\"name\":\"Turn on this tracking workflow\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Be sure to turn this \u201cOn\u201d so any out-of-stock event starts tracking.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-ddc67e2dd40c28df2842cf262dcf785d\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-351.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-351.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759187725842\",\"name\":\"Set up daily monitoring schedule\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"This is the trigger for the second workflow for this solution to work. Configure this step to run every day at midnight using a schedule trigger.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-8a6b571f270f7947060df9753bca7eee\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-352.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-352.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759187796794\",\"name\":\"Process active tracking records\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Next, use the built-in Data tool and choose the Query action to search for products with \\\"Active\\\" status in order to process each one individually. Use the built-in Filter tool to check for products.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-a444dcfac725a9b86066796e86e07bce\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-353.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-353.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759187860020\",\"name\":\"Loop through all products to update the tracking counter\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"For each active product, get the product details, then calculate the total inventory quantities.This ensures the workflow only archives products that have been continuously sold out for 30 days, not products that have been intermittently out of stock. If a product gets restocked even once during the 30-day period, the counter resets and the countdown starts over.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-6ca65e1b1340fc8106490411a8ed4e99\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-354.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-354.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759187917650\",\"name\":\"Define the rules to increment the counter values\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Next, use the built-in Paths tool to create conditional logic for incrementing the tracking counter.For products still at zero inventory, it increments the day counter. For products back in stock, it resets the tracking data.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-81222373bf137dda845274c2844e5ff3\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/Screenshot-2025-09-29-at-4.52.31-PM.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/Screenshot-2025-09-29-at-4.52.31-PM.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759188103863\",\"name\":\"Identify 30-day candidates\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"After updating all counters, use the Data built-in tool and the Query action to find products that have reached exactly 30 days of being sold out. These products meet your archiving criteria and will be automatically removed from your active catalog.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-1792a8e44a07a6b496c8b7fd526ac217\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-355.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-355.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759188160758\",\"name\":\"Archive products in Shopify\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"For each product sold out for the full 30-day period, the workflow changes the product status to \\\"archived\\\" in your Shopify store. This removes products from customer view while preserving all data for potential future reactivation.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-6273fd370e665f11002ab354f93c5015\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-356.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-356.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759188205562\",\"name\":\"Update tracking records\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"The final step marks archived products in your tracking database with an \\\"Archived\\\" status and records the exact archiving timestamp. This maintains a complete audit trail of your automated inventory management decisions.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-7cb9fcb58b85ff8c43d550d7aae15774\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-357.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-357.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#how-to-step-1759188295356\",\"name\":\"Activate both workflows and test\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Turn this workflow On in MESA and test the workflows. First, manually mark a product as out of stock to verify the data collection workflow creates proper tracking records. Then run the daily workflow manually to confirm it processes records correctly before letting both run.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/auto-archive-sold-out-shopify-products-after-30-days\\\/#schema-image-71fb1d0ad6537b1563ff2b4fc4959835\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-358.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-358.png\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Auto-Archive Sold Out Products Shopify After 30 Days","description":"Archive sold-out Shopify products after 30 days with automation. Keep your store clean without manual work. Free setup included.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/","og_locale":"en_US","og_type":"article","og_title":"How to Auto-Archive Sold Out Products in Shopify After 30 Days","og_description":"Your Shopify store catalog tells a story, but not every chapter needs to stay on display. Products that have been sold out for weeks create digital","og_url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/","og_site_name":"MESA","article_publisher":"https:\/\/web.facebook.com\/mesabyshoppad\/","article_published_time":"2025-10-10T16:00:00+00:00","article_modified_time":"2025-12-22T22:48:48+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-359.png","type":"image\/png"}],"author":"Ryan ODonnell","twitter_card":"summary_large_image","twitter_creator":"@getmesa","twitter_site":"@getmesa","twitter_misc":{"Written by":"Ryan ODonnell","Est. reading time":"21 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#article","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/"},"author":{"name":"Ryan ODonnell","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/5ed8ee9c6f19090c4d5acb4f45efacb4"},"headline":"How to Auto-Archive Sold Out Products in Shopify After 30 Days","datePublished":"2025-10-10T16:00:00+00:00","dateModified":"2025-12-22T22:48:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/"},"wordCount":1704,"publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-359.png","keywords":["data","shopify"],"articleSection":["Workflow Tutorials"],"inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/","name":"How To Auto-Archive Sold Out Products Shopify After 30 Days","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#primaryimage"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-359.png","datePublished":"2025-10-10T16:00:00+00:00","dateModified":"2025-12-22T22:48:48+00:00","description":"Archive sold-out Shopify products after 30 days with automation. Keep your store clean without manual work. Free setup included.","breadcrumb":{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188696125"},{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188705639"},{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188715300"},{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188731096"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#primaryimage","url":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-359.png","contentUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-359.png","width":1280,"height":720,"caption":"How to Auto-Archive Sold Out Products in Shopify After 30 Days"},{"@type":"BreadcrumbList","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.getmesa.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Auto-Archive Sold Out Products in Shopify After 30 Days"}]},{"@type":"WebSite","@id":"https:\/\/www.getmesa.com\/blog\/#website","url":"https:\/\/www.getmesa.com\/blog\/","name":"MESA","description":"Discover how to automate your Shopify growth","publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.getmesa.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.getmesa.com\/blog\/#organization","name":"MESA - AI automation Platform","url":"https:\/\/www.getmesa.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/mesa-shoppad.jpeg","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/mesa-shoppad.jpeg","width":225,"height":225,"caption":"MESA - AI automation Platform"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/mesabyshoppad\/","https:\/\/x.com\/getmesa","https:\/\/www.linkedin.com\/company\/shoppad\/","https:\/\/www.youtube.com\/channel\/UCqsf_WhcGEsZMvms1idivyw"]},{"@type":"Person","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/5ed8ee9c6f19090c4d5acb4f45efacb4","name":"Ryan ODonnell","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","caption":"Ryan ODonnell"},"sameAs":["https:\/\/www.getmesa.com"],"jobTitle":"Director of Marketing","worksFor":"MESA"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188696125","position":1,"url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188696125","name":"Does Shopify have a feature to auto-archive sold-out products?\u00a0","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"No, Shopify doesn't offer a native feature to automatically archive products after they've been sold out. While you can manually archive products, you'll need a third-party solution like MESA to create time-based automation that monitors inventory levels and automatically archives products that have been sold out for 30 days or longer.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188705639","position":2,"url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188705639","name":"Can I track how long a product has been out of stock in Shopify?\u00a0","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Shopify doesn't provide built-in tracking for out-of-stock duration. The platform shows current inventory levels but doesn't maintain a log of when products went out of stock or how long they've remained unavailable. To track this information and trigger automated actions based on out-of-stock duration, you'll need an automation platform like MESA that can monitor inventory changes over time and execute workflows based on specific timeframes.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188715300","position":3,"url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188715300","name":"What's the difference between archiving\/deleting Shopify products?\u00a0","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Archiving products in Shopify removes them from your storefront and search results while preserving all product data, including order history, analytics, and SEO settings. Archived products can be easily restored if inventory becomes available again. Deleting products permanently removes all data and cannot be undone. For sold-out items that might return to stock, archiving is the safer choice since it maintains your product's search rankings and historical data while keeping your active catalog clean.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188731096","position":4,"url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#faq-question-1759188731096","name":"How often should I clean up sold-out products from my Shopify store?\u00a0","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Most successful store owners archive products after they've been sold out for 30 days. This timeframe gives you enough opportunity to restock popular items while preventing your catalog from becoming cluttered with unavailable products. Some businesses prefer 14 days for fast-moving inventory or 60 days for seasonal items. The key is consistency\u2014manual cleanup becomes overwhelming, which is why automated archiving through tools like MESA helps maintain a professional storefront without constant manual intervention.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"HowTo","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#howto-1","name":"How to Auto-Archive Sold Out Products in Shopify After 30 Days","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#article"},"description":"This &lt;a href=\"https:\/\/www.getmesa.com\/apps\/shopify\/integrate\">Shopify automation&lt;\/a> consists of two connected workflows that work together to monitor your Shopify store and automatically archive products that remain sold out for 30 consecutive days. The first workflow captures sold-out events in real-time, while the second workflow runs daily to check durations and handle archiving.&lt;br>&lt;br>&lt;strong>Important:&lt;\/strong> You need both workflows active for this system to work properly. The data collection workflow creates the tracking database that the archiving workflow depends on.","totalTime":"P0DT0H10M","step":[{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759187114648","name":"Set up the data collection workflow trigger","itemListElement":[{"@type":"HowToDirection","text":"Configure the first workflow to trigger whenever any product variant goes out of stock in your Shopify store. The real-time trigger captures every sold-out event immediately."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-d37b35dbbfcb5d3cfb1b69b5acea368b","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-346.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-346.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759187286811","name":"Retrieve product and shop details","itemListElement":[{"@type":"HowToDirection","text":"When a variant goes out of stock, the workflow fetches the complete product information from Shopify and retrieves your shop details. You need the shop information to construct proper admin links for easy product management later."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-4d0d252e3d9c6fc55762fca0b8b22615","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-347.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-347.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759187432782","name":"Calculate total product inventory","itemListElement":[{"@type":"HowToDirection","text":"Next, use the Loop built-in tool to sum up inventory quantities across all variants of the affected product to determine if the entire product is truly out of stock. This prevents archiving products that still have available variants in different sizes, colors, or configurations."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-cc896a04dad43ce0f5c1842870ecc0e1","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-348.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-348.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759187486183","name":"Filter for completely sold-out products","itemListElement":[{"@type":"HowToDirection","text":"Only products with zero total inventory across all variants proceed to the tracking database. This filter ensures you're only monitoring products that are completely unavailable, not just individual variants."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-5c3d674ee4e364e163ef0460732c9715","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-349.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-349.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759187571534","name":"Create tracking database record","itemListElement":[{"@type":"HowToDirection","text":"For qualifying sold-out products, the workflow creates or updates a record in the \"Sold Out Shopify Product Tracker\" database. This record includes the product ID, title, inventory quantity (0), sold-out start date, day counter (starting at 0), status (Active), and a direct admin link."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-a2fa0c25bbf88a7090a4ba8eed4e16f2","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-350.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-350.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759187630650","name":"Turn on this tracking workflow","itemListElement":[{"@type":"HowToDirection","text":"Be sure to turn this \u201cOn\u201d so any out-of-stock event starts tracking."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-ddc67e2dd40c28df2842cf262dcf785d","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-351.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-351.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759187725842","name":"Set up daily monitoring schedule","itemListElement":[{"@type":"HowToDirection","text":"This is the trigger for the second workflow for this solution to work. Configure this step to run every day at midnight using a schedule trigger."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-8a6b571f270f7947060df9753bca7eee","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-352.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-352.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759187796794","name":"Process active tracking records","itemListElement":[{"@type":"HowToDirection","text":"Next, use the built-in Data tool and choose the Query action to search for products with \"Active\" status in order to process each one individually. Use the built-in Filter tool to check for products."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-a444dcfac725a9b86066796e86e07bce","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-353.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-353.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759187860020","name":"Loop through all products to update the tracking counter","itemListElement":[{"@type":"HowToDirection","text":"For each active product, get the product details, then calculate the total inventory quantities.This ensures the workflow only archives products that have been continuously sold out for 30 days, not products that have been intermittently out of stock. If a product gets restocked even once during the 30-day period, the counter resets and the countdown starts over."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-6ca65e1b1340fc8106490411a8ed4e99","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-354.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-354.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759187917650","name":"Define the rules to increment the counter values","itemListElement":[{"@type":"HowToDirection","text":"Next, use the built-in Paths tool to create conditional logic for incrementing the tracking counter.For products still at zero inventory, it increments the day counter. For products back in stock, it resets the tracking data."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-81222373bf137dda845274c2844e5ff3","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/Screenshot-2025-09-29-at-4.52.31-PM.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/Screenshot-2025-09-29-at-4.52.31-PM.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759188103863","name":"Identify 30-day candidates","itemListElement":[{"@type":"HowToDirection","text":"After updating all counters, use the Data built-in tool and the Query action to find products that have reached exactly 30 days of being sold out. These products meet your archiving criteria and will be automatically removed from your active catalog."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-1792a8e44a07a6b496c8b7fd526ac217","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-355.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-355.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759188160758","name":"Archive products in Shopify","itemListElement":[{"@type":"HowToDirection","text":"For each product sold out for the full 30-day period, the workflow changes the product status to \"archived\" in your Shopify store. This removes products from customer view while preserving all data for potential future reactivation."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-6273fd370e665f11002ab354f93c5015","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-356.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-356.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759188205562","name":"Update tracking records","itemListElement":[{"@type":"HowToDirection","text":"The final step marks archived products in your tracking database with an \"Archived\" status and records the exact archiving timestamp. This maintains a complete audit trail of your automated inventory management decisions."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-7cb9fcb58b85ff8c43d550d7aae15774","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-357.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-357.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#how-to-step-1759188295356","name":"Activate both workflows and test","itemListElement":[{"@type":"HowToDirection","text":"Turn this workflow On in MESA and test the workflows. First, manually mark a product as out of stock to verify the data collection workflow creates proper tracking records. Then run the daily workflow manually to confirm it processes records correctly before letting both run."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/auto-archive-sold-out-shopify-products-after-30-days\/#schema-image-71fb1d0ad6537b1563ff2b4fc4959835","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-358.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-358.png"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/15920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/comments?post=15920"}],"version-history":[{"count":21,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/15920\/revisions"}],"predecessor-version":[{"id":17281,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/15920\/revisions\/17281"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media\/15934"}],"wp:attachment":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media?parent=15920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/categories?post=15920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/tags?post=15920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}