Mirrors each product's vendor into a normalized 'vendor:<slug>' tag and removes stale vendor tags when the vendor changes or is cleared.
async def run(ctx): for product in await ctx.shopify.query(ALL_PRODUCTS): wanted = f"vendor:{slugify(product.vendor)}" if product.vendor else None stale = [t for t in product.tags if t.startswith("vendor:") and t != wanted]
If you run a sharper version of this template, or something it inspired, send it in. We review every application and publish the good ones, credited to you or your agency.
Describe the job, watch the AI build it, rehearse it, deploy it.
Free plan · no card · 🇪🇺 EU data residency