Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi,
Can I set up a workflow in Shopify Flow using metafields to send email alerts before a product's expiration date? I want the workflow to fetch product data, check if a specified metafield date (e.g., expiration or notification date) matches a pre-defined date (e.g., 10 days before the expiration date), and send an email alert. I have over 6000 products—can this workflow efficiently handle such a large dataset?
A recent API change made querying products by metafield value possible, but you cannot yet query by dates. https://shopify.dev/docs/apps/build/custom-data/metafields/query-by-metafield-value
If the field was a string you might be able to use a scheduled time trigger + Get product data to find products that expire today.
You could convert the date metafield into a single line text metafield and then do this approach.
If it's a date, you would have to periodically scan all 6000 but there is no straight-forward way to do that on a daily basis.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024