{"id":14412,"date":"2025-07-31T16:00:00","date_gmt":"2025-07-31T16:00:00","guid":{"rendered":"https:\/\/www.getmesa.com/blog\/?p=14412"},"modified":"2025-12-22T22:58:14","modified_gmt":"2025-12-22T22:58:14","slug":"how-to-use-metafield-date-to-schedule-shopify-collection-updates","status":"publish","type":"post","link":"https:\/\/www.getmesa.com/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/","title":{"rendered":"How to Schedule Collection Updates with Metafield Dates"},"content":{"rendered":"\n<p>Launching new products or prepping for a seasonal sale often means shuffling items between collections on Shopify. Timing these moves with precision can get tricky, especially if you\u2019re trying to keep up with marketing plans or keep things fresh for shoppers. Manual updates take time, and the risk of missing a date can throw things off.<\/p>\n\n\n\n<p>Plenty of store owners want a way to automate these collection changes so products show up in the right place at just the right moment. Using a scheduled date in a product\u2019s metafield unlocks a hands-off way to move items between collections. This makes your shop look polished and keeps things running smoothly behind the scenes.<\/p>\n\n\n\n<p>By the end of this article, you\u2019ll have a clear plan for setting up an automated workflow that moves products based on dates set in their metafields. In this guide, you\u2019ll learn how to handle each step, avoid common mistakes, and get tips for making your product launches and seasonal changes feel effortless.<\/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><strong>TL;DR: <\/strong>Don\u2019t want to build your own? Use our ready-made template for scheduled product collection changes and get started in seconds.<\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>scheduled-metafield-date-product-updates<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"scheduled-metafield-date-product-updates\"><\/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\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#Step-by-step-Schedule-product-collection-changes-by-metafield-date\" >Step-by-step: Schedule product collection changes by metafield date<\/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\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#Why-Schedule-collection-updates-with-metafield-dates\" >Why Schedule collection updates with metafield dates?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.getmesa.com/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#Tips-on-scheduling-collection-updates-with-metafield-dates\" >Tips on scheduling collection updates with metafield dates<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.getmesa.com/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#Use-a-consistent-date-format\" >Use a consistent date format<\/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\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#Plan-ahead\" >Plan ahead<\/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\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#Leverage-metafields-effectively\" >Leverage metafields effectively<\/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\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#Combine-with-other-automation\" >Combine with other automation<\/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\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#Frequently-asked-questions\" >Frequently asked questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-step-by-step-schedule-product-collection-changes-by-metafield-date\"><span class=\"ez-toc-section\" id=\"Step-by-step-Schedule-product-collection-changes-by-metafield-date\"><\/span><strong>Step-by-step: Schedule product collection changes by metafield date<\/strong><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>5 minutes<\/p><p class=\"schema-how-to-description\">This workflow automatically moves products between collections based on a scheduled date stored in a metafield. When the date matches today&#8217;s date, it removes the product from one collection (e.g., &#8220;Coming Soon&#8221;) and adds it to another (e.g., &#8220;New Arrivals&#8221;).<\/p> <ol class=\"schema-how-to-steps\"><li class=\"schema-how-to-step\" id=\"how-to-step-1753305897777\"><strong class=\"schema-how-to-step-name\"><strong>Configure Schedule trigger<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Set up a daily schedule trigger to check products for their scheduled move date.<img loading=\"lazy\" decoding=\"async\" width=\"791\" height=\"606\" class=\"wp-image-14413\" alt=\"Configure Schedule trigger\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-219.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-219.png 791w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-219-300x230.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-219-768x588.png 768w\" sizes=\"auto, (max-width: 791px) 100vw, 791px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753305970956\"><strong class=\"schema-how-to-step-name\"><strong>Get products from source collection<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Use the Shopify Collection Products step to retrieve products from your source collection (e.g., \u201cComing Soon\u201d). Set the limit to control how many products to retrieve\u2014by default, it\u2019s 50, but you can increase it up to 8,000 to fetch more products in a single request.<br\/><br\/>If your collection has more than 8,000 products, you\u2019ll need to implement pagination to get the full list.<img loading=\"lazy\" decoding=\"async\" width=\"792\" height=\"551\" class=\"wp-image-14414\" alt=\"Get products from source collection\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-220.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-220.png 792w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-220-300x209.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-220-768x534.png 768w\" sizes=\"auto, (max-width: 792px) 100vw, 792px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753306029291\"><strong class=\"schema-how-to-step-name\"><strong>Filter valid products<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Add a Filter step to check that the collection has at least one product in the source collection by checking that product IDs are not empty.<img loading=\"lazy\" decoding=\"async\" width=\"789\" height=\"477\" class=\"wp-image-14415\" alt=\"Filter valid products\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-221.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-221.png 789w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-221-300x181.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-221-768x464.png 768w\" sizes=\"auto, (max-width: 789px) 100vw, 789px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753306077171\"><strong class=\"schema-how-to-step-name\"><strong>Loop through products<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Set up a Loop to process each product from the filtered collection list.<img loading=\"lazy\" decoding=\"async\" width=\"828\" height=\"694\" class=\"wp-image-14416\" alt=\"Loop through products\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-222.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-222.png 828w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-222-300x251.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-222-768x644.png 768w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753306128747\"><strong class=\"schema-how-to-step-name\"><strong>Check product metafield<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Configure a <em>Shopify Product Metafield <\/em>step to retrieve the &#8220;publish_date&#8221; metafield from each product&#8217;s &#8220;custom&#8221; namespace.<img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"707\" class=\"wp-image-14417\" alt=\"Check product metafield\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-223.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-223.png 831w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-223-300x255.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-223-768x653.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753306185502\"><strong class=\"schema-how-to-step-name\"><strong>Filter products by date<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Add a Filter to only process products where:<br\/><br\/>&#8211; The metafield value is not empty<br\/>&#8211; The metafield date matches today&#8217;s date (format: YYYY-MM-DD)<br\/><br\/>First, add the MESA \u201cDate\u201d variable, then use the formatting options to achieve the required YYYY-MM-DD format.<\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753306224084\"><strong class=\"schema-how-to-step-name\"><strong>Clear product metafield<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Add a Transform step with the following JavaScript code to remove the publish_date metafield:<br\/><br\/><code>const Mesa = require('vendor\/Mesa.js');<br\/>const Transform = require('vendor\/Transform.js');<br\/>const ShopifyGraphql = require('vendor\/ShopifyGraphql.js');<br\/>module.exports = new class {<br\/>\u00a0\u00a0script = (payload, context) => {<br\/>\u00a0\u00a0\u00a0\u00a0const output = Transform.convert(context, payload);<br\/>\u00a0\u00a0\u00a0\u00a0const mutation = `mutation MetafieldsDelete($metafields: [MetafieldIdentifierInput!]!) {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0metafieldsDelete(metafields: $metafields) {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0deletedMetafields {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0key<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0namespace<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ownerId<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0userErrors {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0field<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0message<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0}`;<br\/>\u00a0\u00a0\u00a0\u00a0const response = ShopifyGraphql.send(<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0mutation,<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0metafields: [<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ownerId: `gid:\/\/shopify\/Product\/${output.product_id}`,<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0namespace: `${output.namespace}`,<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0key: `${output.key}`,<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0],<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0null<br\/>\u00a0\u00a0\u00a0\u00a0);<br\/>\u00a0\u00a0\u00a0\u00a0Mesa.output.next(response);<br\/>\u00a0\u00a0}<br\/>}<\/code><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753306289615\"><strong class=\"schema-how-to-step-name\"><strong>Get source Collection ID<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Retrieve the source Collection ID (e.g., &#8220;Coming Soon&#8221;) using the Shopify Custom Collections endpoint.<img loading=\"lazy\" decoding=\"async\" width=\"827\" height=\"540\" class=\"wp-image-14418\" alt=\"Get source Collection ID\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-224.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-224.png 827w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-224-300x196.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-224-768x501.png 768w\" sizes=\"auto, (max-width: 827px) 100vw, 827px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753306368848\"><strong class=\"schema-how-to-step-name\"><strong>Get collection relationship<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Get the Collection ID that links the product to the source collection using the Shopify Collects endpoint.<img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"638\" class=\"wp-image-14419\" alt=\"Get collection relationship\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-225.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-225.png 831w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-225-300x230.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-225-768x590.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753306402959\"><strong class=\"schema-how-to-step-name\"><strong>Remove from source collection<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Delete the Shopify Collects relationship to remove the product from the source collection.<img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"661\" class=\"wp-image-14420\" alt=\"Remove from source collection\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-226.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-226.png 831w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-226-300x239.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-226-768x611.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753306466898\"><strong class=\"schema-how-to-step-name\"><strong>Add to destination collection<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Create a new Shopify Collect relationship to add the product to the destination collection (e.g., &#8220;New Arrivals&#8221;).<img loading=\"lazy\" decoding=\"async\" width=\"825\" height=\"574\" class=\"wp-image-14421\" alt=\"Add to destination collection\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-227.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-227.png 825w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-227-300x209.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-227-768x534.png 768w\" sizes=\"auto, (max-width: 825px) 100vw, 825px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1753306514242\"><strong class=\"schema-how-to-step-name\"><strong>Turn workflow \u201cOn\u201d<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Turn the workflow on and run it once to ensure everything is configured correctly before letting it run automatically on the daily schedule.<img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"1600\" class=\"wp-image-14422\" alt=\"Turn workflow \u201cOn\u201d to schedule product collection changes by metafield date.\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-228.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-228.png 679w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-228-127x300.png 127w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-228-435x1024.png 435w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-228-652x1536.png 652w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/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><strong>Save yourself the setup. Use this template instead:<\/strong><\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>scheduled-metafield-date-product-updates<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"scheduled-metafield-date-product-updates\"><\/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-why-schedule-collection-updates-with-metafield-dates\"><span class=\"ez-toc-section\" id=\"Why-Schedule-collection-updates-with-metafield-dates\"><\/span><strong>Why Schedule collection updates with metafield dates?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Automating collection updates by metafield date gives you a ton of flexibility:<\/p>\n\n\n\n<p><strong>Prepare for product launches<\/strong>: Set your release date once, and products jump from \u201cComing Soon\u201d to \u201cNew Arrivals\u201d without lifting a finger. This keeps your launch on schedule and creates a sense of anticipation for shoppers.<\/p>\n\n\n\n<p><strong>Manage seasonal collections<\/strong>: Move summer products into the spotlight or tuck away holiday items automatically when the date hits. You don\u2019t need to remember to make the switch in the middle of a busy week.<\/p>\n\n\n\n<p><strong>Control product visibility<\/strong>: Keep items hidden until their release date, or shift them out of a featured spot when a sale ends. You set the date, and the system handles the rest.<\/p>\n\n\n\n<p><strong>Automate collection management<\/strong>: By using <a href=\"https:\/\/www.getmesa.com\/templates\/scheduled-metafield-date-product-updates\">scheduled metafield updates<\/a>, you can let the store handle these changes, which frees up your team for other priorities.<\/p>\n\n\n\n<p><strong>Enhance marketing strategies<\/strong>: By syncing product collection changes with your marketing push, everything appears seamless when the promotion goes live.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-tips-on-scheduling-collection-updates-with-metafield-dates\"><span class=\"ez-toc-section\" id=\"Tips-on-scheduling-collection-updates-with-metafield-dates\"><\/span><strong>Tips on scheduling collection updates with metafield dates<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-use-a-consistent-date-format\"><span class=\"ez-toc-section\" id=\"Use-a-consistent-date-format\"><\/span><strong>Use a consistent date format<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Pick a date format like YYYY-MM-DD and stick to it for all your metafield dates. This keeps things clear and prevents any mixups when the automation checks which items need to be moved.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-plan-ahead\"><span class=\"ez-toc-section\" id=\"Plan-ahead\"><\/span><strong>Plan ahead<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Set up your dates before the start of each season or a big launch. This will give you peace of mind that products will appear in the right collections at the right time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-leverage-metafields-effectively\"><span class=\"ez-toc-section\" id=\"Leverage-metafields-effectively\"><\/span><strong>Leverage metafields effectively<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Metafields can do much more than just store a date. Try using them for sale end dates, limited edition releases, or collection-specific notes. For more ideas, check out our <a href=\"https:\/\/www.getmesa.com\/blog\/shopify-metafields-guide\/\">Shopify metafields guide<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-combine-with-other-automation\"><span class=\"ez-toc-section\" id=\"Combine-with-other-automation\"><\/span><strong>Combine with other automation<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Mix scheduled collection changes with automations like product tagging or inventory updates. You\u2019ll build a smoother workflow and save yourself from repetitive tasks. Learn more ways to <a href=\"https:\/\/www.getmesa.com\/blog\/how-to-automate-shopify-metafields\/\">automate metafields<\/a> for extra flexibility.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-frequently-asked-questions\"><span class=\"ez-toc-section\" id=\"Frequently-asked-questions\"><\/span><strong>Frequently asked questions<\/strong><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-1753306617378\"><strong class=\"schema-faq-question\"><strong>Can I schedule multiple collection updates for a single product?<\/strong><\/strong> <p class=\"schema-faq-answer\">Yes. You can assign different metafield dates to move a product between collections at various times.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1753306626304\"><strong class=\"schema-faq-question\"><strong>What happens if a product doesn&#8217;t have a metafield date?<\/strong><\/strong> <p class=\"schema-faq-answer\">Products without a metafield date won\u2019t move automatically. They\u2019ll stay in their current collection until you add a date or move them yourself.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1753306635021\"><strong class=\"schema-faq-question\"><strong>Can I use this method to remove products from all collections?<\/strong><\/strong> <p class=\"schema-faq-answer\">Yes. Using a metafield date, you can set up a workflow that removes a product from its collection without adding it to a new one.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1753306644348\"><strong class=\"schema-faq-question\"><strong>How do I choose the correct date format for my metafields?<\/strong><\/strong> <p class=\"schema-faq-answer\">Go with something standard\u2014YYYY-MM-DD works well. It\u2019s easy to read and works for both you and any automated system checking the dates.<\/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","protected":false},"excerpt":{"rendered":"<p>Launching new products or prepping for a seasonal sale often means shuffling items between collections on Shopify. Timing these moves&#8230;<\/p>\n","protected":false},"author":1,"featured_media":15803,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[48],"tags":[66],"class_list":["post-14412","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-workflow-tutorials","tag-shopify"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Use Metafield Date to Schedule Shopify Collection Updates<\/title>\n<meta name=\"description\" content=\"Learn how to use metafield dates to schedule Shopify collection updates and automate product visibility based on custom timing.\" \/>\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\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Schedule Collection Updates with Metafield Dates\" \/>\n<meta property=\"og:description\" content=\"Launching new products or prepping for a seasonal sale often means shuffling items between collections on Shopify. Timing these moves with precision can\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/\" \/>\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-07-31T16:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-22T22:58:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/tutorial-schedule-collection.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=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/\"},\"author\":{\"name\":\"Ryan ODonnell\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/5ed8ee9c6f19090c4d5acb4f45efacb4\"},\"headline\":\"How to Schedule Collection Updates with Metafield Dates\",\"datePublished\":\"2025-07-31T16:00:00+00:00\",\"dateModified\":\"2025-12-22T22:58:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/\"},\"wordCount\":1037,\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/tutorial-schedule-collection.png\",\"keywords\":[\"shopify\"],\"articleSection\":[\"Workflow Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/\",\"name\":\"How to Use Metafield Date to Schedule Shopify Collection Updates\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/tutorial-schedule-collection.png\",\"datePublished\":\"2025-07-31T16:00:00+00:00\",\"dateModified\":\"2025-12-22T22:58:14+00:00\",\"description\":\"Learn how to use metafield dates to schedule Shopify collection updates and automate product visibility based on custom timing.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306617378\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306626304\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306635021\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306644348\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/tutorial-schedule-collection.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/tutorial-schedule-collection.png\",\"width\":1280,\"height\":720,\"caption\":\"schedule collection meta field\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Schedule Collection Updates with Metafield Dates\"}]},{\"@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\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306617378\",\"position\":1,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306617378\",\"name\":\"Can I schedule multiple collection updates for a single product?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. You can assign different metafield dates to move a product between collections at various times.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306626304\",\"position\":2,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306626304\",\"name\":\"What happens if a product doesn't have a metafield date?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Products without a metafield date won\u2019t move automatically. They\u2019ll stay in their current collection until you add a date or move them yourself.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306635021\",\"position\":3,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306635021\",\"name\":\"Can I use this method to remove products from all collections?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. Using a metafield date, you can set up a workflow that removes a product from its collection without adding it to a new one.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306644348\",\"position\":4,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#faq-question-1753306644348\",\"name\":\"How do I choose the correct date format for my metafields?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Go with something standard\u2014YYYY-MM-DD works well. It\u2019s easy to read and works for both you and any automated system checking the dates.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"HowTo\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#howto-1\",\"name\":\"How to Schedule Collection Updates with Metafield Dates\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#article\"},\"description\":\"This workflow automatically moves products between collections based on a scheduled date stored in a metafield. When the date matches today's date, it removes the product from one collection (e.g., \\\"Coming Soon\\\") and adds it to another (e.g., \\\"New Arrivals\\\").\",\"totalTime\":\"P0DT0H5M\",\"step\":[{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753305897777\",\"name\":\"Configure Schedule trigger\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Set up a daily schedule trigger to check products for their scheduled move date.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#schema-image-33da8a90e62aa2aacf8945b860bec475\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-219.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-219.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753305970956\",\"name\":\"Get products from source collection\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Use the Shopify Collection Products step to retrieve products from your source collection (e.g., \u201cComing Soon\u201d). Set the limit to control how many products to retrieve\u2014by default, it\u2019s 50, but you can increase it up to 8,000 to fetch more products in a single request.If your collection has more than 8,000 products, you\u2019ll need to implement pagination to get the full list.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#schema-image-dd7c6e9b9fc039f0f71d740554500a2b\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-220.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-220.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753306029291\",\"name\":\"Filter valid products\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Add a Filter step to check that the collection has at least one product in the source collection by checking that product IDs are not empty.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#schema-image-0175de90ffdf7185622c8ae88c457134\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-221.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-221.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753306077171\",\"name\":\"Loop through products\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Set up a Loop to process each product from the filtered collection list.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#schema-image-6406bd0d1a1048babc7819e9c78dc6b8\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-222.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-222.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753306128747\",\"name\":\"Check product metafield\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Configure a Shopify Product Metafield step to retrieve the \\\"publish_date\\\" metafield from each product's \\\"custom\\\" namespace.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#schema-image-9c1f7f0986498b96c55625e60be50701\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-223.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-223.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753306185502\",\"name\":\"Filter products by date\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Add a Filter to only process products where:- The metafield value is not empty- The metafield date matches today's date (format: YYYY-MM-DD)First, add the MESA \u201cDate\u201d variable, then use the formatting options to achieve the required YYYY-MM-DD format.\"}]},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753306224084\",\"name\":\"Clear product metafield\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Add a Transform step with the following JavaScript code to remove the publish_date metafield:const Mesa = require('vendor\\\/Mesa.js');const Transform = require('vendor\\\/Transform.js');const ShopifyGraphql = require('vendor\\\/ShopifyGraphql.js');module.exports = new class {\u00a0\u00a0script = (payload, context) => {\u00a0\u00a0\u00a0\u00a0const output = Transform.convert(context, payload);\u00a0\u00a0\u00a0\u00a0const mutation = `mutation MetafieldsDelete($metafields: [MetafieldIdentifierInput!]!) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0metafieldsDelete(metafields: $metafields) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0deletedMetafields {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0key\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0namespace\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ownerId\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0userErrors {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0field\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0message\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0}`;\u00a0\u00a0\u00a0\u00a0const response = ShopifyGraphql.send(\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0mutation,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0metafields: [\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ownerId: `gid:\\\/\\\/shopify\\\/Product\\\/${output.product_id}`,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0namespace: `${output.namespace}`,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0key: `${output.key}`,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0],\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0null\u00a0\u00a0\u00a0\u00a0);\u00a0\u00a0\u00a0\u00a0Mesa.output.next(response);\u00a0\u00a0}}\"}]},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753306289615\",\"name\":\"Get source Collection ID\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Retrieve the source Collection ID (e.g., \\\"Coming Soon\\\") using the Shopify Custom Collections endpoint.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#schema-image-e9153e4c81bf01e5f192eaa408ca5af8\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-224.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-224.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753306368848\",\"name\":\"Get collection relationship\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Get the Collection ID that links the product to the source collection using the Shopify Collects endpoint.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#schema-image-4caf07d2498c82898422395fd4f65294\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-225.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-225.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753306402959\",\"name\":\"Remove from source collection\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Delete the Shopify Collects relationship to remove the product from the source collection.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#schema-image-333054d62e8319b3da04893ad00eedee\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-226.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-226.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753306466898\",\"name\":\"Add to destination collection\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Create a new Shopify Collect relationship to add the product to the destination collection (e.g., \\\"New Arrivals\\\").\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#schema-image-062ffc708199b3949a9649cbd4478017\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-227.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-227.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#how-to-step-1753306514242\",\"name\":\"Turn workflow \u201cOn\u201d\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Turn the workflow on and run it once to ensure everything is configured correctly before letting it run automatically on the daily schedule.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\\\/#schema-image-c7fc2fdaec5ead587982f1a322258d07\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-228.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-228.png\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use Metafield Date to Schedule Shopify Collection Updates","description":"Learn how to use metafield dates to schedule Shopify collection updates and automate product visibility based on custom timing.","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\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/","og_locale":"en_US","og_type":"article","og_title":"How to Schedule Collection Updates with Metafield Dates","og_description":"Launching new products or prepping for a seasonal sale often means shuffling items between collections on Shopify. Timing these moves with precision can","og_url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/","og_site_name":"MESA","article_publisher":"https:\/\/web.facebook.com\/mesabyshoppad\/","article_published_time":"2025-07-31T16:00:00+00:00","article_modified_time":"2025-12-22T22:58:14+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/tutorial-schedule-collection.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":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#article","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/"},"author":{"name":"Ryan ODonnell","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/5ed8ee9c6f19090c4d5acb4f45efacb4"},"headline":"How to Schedule Collection Updates with Metafield Dates","datePublished":"2025-07-31T16:00:00+00:00","dateModified":"2025-12-22T22:58:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/"},"wordCount":1037,"publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-schedule-collection.png","keywords":["shopify"],"articleSection":["Workflow Tutorials"],"inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/","name":"How to Use Metafield Date to Schedule Shopify Collection Updates","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#primaryimage"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-schedule-collection.png","datePublished":"2025-07-31T16:00:00+00:00","dateModified":"2025-12-22T22:58:14+00:00","description":"Learn how to use metafield dates to schedule Shopify collection updates and automate product visibility based on custom timing.","breadcrumb":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306617378"},{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306626304"},{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306635021"},{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306644348"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#primaryimage","url":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-schedule-collection.png","contentUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/tutorial-schedule-collection.png","width":1280,"height":720,"caption":"schedule collection meta field"},{"@type":"BreadcrumbList","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.getmesa.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Schedule Collection Updates with Metafield Dates"}]},{"@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\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306617378","position":1,"url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306617378","name":"Can I schedule multiple collection updates for a single product?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes. You can assign different metafield dates to move a product between collections at various times.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306626304","position":2,"url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306626304","name":"What happens if a product doesn't have a metafield date?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Products without a metafield date won\u2019t move automatically. They\u2019ll stay in their current collection until you add a date or move them yourself.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306635021","position":3,"url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306635021","name":"Can I use this method to remove products from all collections?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes. Using a metafield date, you can set up a workflow that removes a product from its collection without adding it to a new one.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306644348","position":4,"url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#faq-question-1753306644348","name":"How do I choose the correct date format for my metafields?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Go with something standard\u2014YYYY-MM-DD works well. It\u2019s easy to read and works for both you and any automated system checking the dates.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"HowTo","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#howto-1","name":"How to Schedule Collection Updates with Metafield Dates","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#article"},"description":"This workflow automatically moves products between collections based on a scheduled date stored in a metafield. When the date matches today's date, it removes the product from one collection (e.g., \"Coming Soon\") and adds it to another (e.g., \"New Arrivals\").","totalTime":"P0DT0H5M","step":[{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753305897777","name":"Configure Schedule trigger","itemListElement":[{"@type":"HowToDirection","text":"Set up a daily schedule trigger to check products for their scheduled move date."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#schema-image-33da8a90e62aa2aacf8945b860bec475","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-219.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-219.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753305970956","name":"Get products from source collection","itemListElement":[{"@type":"HowToDirection","text":"Use the Shopify Collection Products step to retrieve products from your source collection (e.g., \u201cComing Soon\u201d). Set the limit to control how many products to retrieve\u2014by default, it\u2019s 50, but you can increase it up to 8,000 to fetch more products in a single request.If your collection has more than 8,000 products, you\u2019ll need to implement pagination to get the full list."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#schema-image-dd7c6e9b9fc039f0f71d740554500a2b","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-220.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-220.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753306029291","name":"Filter valid products","itemListElement":[{"@type":"HowToDirection","text":"Add a Filter step to check that the collection has at least one product in the source collection by checking that product IDs are not empty."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#schema-image-0175de90ffdf7185622c8ae88c457134","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-221.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-221.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753306077171","name":"Loop through products","itemListElement":[{"@type":"HowToDirection","text":"Set up a Loop to process each product from the filtered collection list."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#schema-image-6406bd0d1a1048babc7819e9c78dc6b8","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-222.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-222.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753306128747","name":"Check product metafield","itemListElement":[{"@type":"HowToDirection","text":"Configure a Shopify Product Metafield step to retrieve the \"publish_date\" metafield from each product's \"custom\" namespace."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#schema-image-9c1f7f0986498b96c55625e60be50701","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-223.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-223.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753306185502","name":"Filter products by date","itemListElement":[{"@type":"HowToDirection","text":"Add a Filter to only process products where:- The metafield value is not empty- The metafield date matches today's date (format: YYYY-MM-DD)First, add the MESA \u201cDate\u201d variable, then use the formatting options to achieve the required YYYY-MM-DD format."}]},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753306224084","name":"Clear product metafield","itemListElement":[{"@type":"HowToDirection","text":"Add a Transform step with the following JavaScript code to remove the publish_date metafield:const Mesa = require('vendor\/Mesa.js');const Transform = require('vendor\/Transform.js');const ShopifyGraphql = require('vendor\/ShopifyGraphql.js');module.exports = new class {\u00a0\u00a0script = (payload, context) => {\u00a0\u00a0\u00a0\u00a0const output = Transform.convert(context, payload);\u00a0\u00a0\u00a0\u00a0const mutation = `mutation MetafieldsDelete($metafields: [MetafieldIdentifierInput!]!) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0metafieldsDelete(metafields: $metafields) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0deletedMetafields {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0key\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0namespace\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ownerId\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0userErrors {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0field\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0message\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0}`;\u00a0\u00a0\u00a0\u00a0const response = ShopifyGraphql.send(\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0mutation,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0metafields: [\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ownerId: `gid:\/\/shopify\/Product\/${output.product_id}`,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0namespace: `${output.namespace}`,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0key: `${output.key}`,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0],\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0null\u00a0\u00a0\u00a0\u00a0);\u00a0\u00a0\u00a0\u00a0Mesa.output.next(response);\u00a0\u00a0}}"}]},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753306289615","name":"Get source Collection ID","itemListElement":[{"@type":"HowToDirection","text":"Retrieve the source Collection ID (e.g., \"Coming Soon\") using the Shopify Custom Collections endpoint."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#schema-image-e9153e4c81bf01e5f192eaa408ca5af8","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-224.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-224.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753306368848","name":"Get collection relationship","itemListElement":[{"@type":"HowToDirection","text":"Get the Collection ID that links the product to the source collection using the Shopify Collects endpoint."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#schema-image-4caf07d2498c82898422395fd4f65294","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-225.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-225.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753306402959","name":"Remove from source collection","itemListElement":[{"@type":"HowToDirection","text":"Delete the Shopify Collects relationship to remove the product from the source collection."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#schema-image-333054d62e8319b3da04893ad00eedee","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-226.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-226.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753306466898","name":"Add to destination collection","itemListElement":[{"@type":"HowToDirection","text":"Create a new Shopify Collect relationship to add the product to the destination collection (e.g., \"New Arrivals\")."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#schema-image-062ffc708199b3949a9649cbd4478017","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-227.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-227.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#how-to-step-1753306514242","name":"Turn workflow \u201cOn\u201d","itemListElement":[{"@type":"HowToDirection","text":"Turn the workflow on and run it once to ensure everything is configured correctly before letting it run automatically on the daily schedule."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-use-metafield-date-to-schedule-shopify-collection-updates\/#schema-image-c7fc2fdaec5ead587982f1a322258d07","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-228.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-228.png"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/14412","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=14412"}],"version-history":[{"count":12,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/14412\/revisions"}],"predecessor-version":[{"id":17301,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/14412\/revisions\/17301"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media\/15803"}],"wp:attachment":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media?parent=14412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/categories?post=14412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/tags?post=14412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}