Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I'm trying to create a flow that based on a schedule updates some collection metadatafields. But when I connect a Schedule trigger => Get collection data > Update collection metafield I get the error shown in the screenshot below:
If I however change the first trigger step to e.g. "Collection created" then I don't get the error, so I assume it's an issue with Schedule as a trigger for these types of updates. Any insight here or suggestions for workarounds?
Thank you in advance.
Hi Peters. The Update collection metafield action acts on a specific collection, so it needs to know what collection to use. The get collection data action fetches a list of collections, so you must first add a for each action to iterate over each of the collections fetched and attach the Update collection metafield action to that step where it says "do this for each item". That way it will perform the action for each of the collections. You can see a similar example in the for each docs.
To learn more visit the Shopify Help Center or the Community Blog.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024