I would like to automate adding newly created images that have been added to Shopify’s content>files, to the correct products. Images are named according the product’s SKU. Additional images for the same product have a suffix such as _2 to indicate image placement.
Typically I’d have tested out some ideas, but I’ve been locked out of Flow by the web-developer, who insists this can’t be done. I’ve made a number of complicated Flow’s in the past, and suspect there is a way, even if that solution isn’t necessarily straight-forward.
The trigger is a non-issue for me, it could be manually triggered every time for all I care. I need to be able to batch update products and there images anywhere between 35 and 50 at a time. Currently, product photos are added to metafields. So this Flow needs to look at the SKU of each product, find the corresponding file names, then correctly attach those files to the product via a metafield. Or it could be done in reverse, where the Flow looks at newly added files and their names, finds the corresponding product SKU, then adds the file to the metafield.
Creating a script (that works with Flow), or using an app apart from Flow that may be better or can work in conjunction with Flow are reasonable solutions if this honestly can’t be done in Flow alone.