Automation 💎 Built for Sidekick ⚡ Sidekick does this for you
shopify sidekick automation inventory flow

Auto-Republish Products When Restocked

Build a Flow that republishes a product and clears its sold-out tag automatically the moment stock is added back.

đź“‹ Prompt
Run in Sidekick
Build a Shopify Flow that brings a product back automatically once it’s restocked.

Trigger: Product variant back in stock.

Actions:

  Publish product (restore to sales channels), if it was unpublished by a companion “auto-unpublish out of stock” Flow.
  Remove product tags: “[SOLD_OUT_TAG]” (e.g. “sold-out”).
  Add product tags: “[RESTOCKED_TAG]” (e.g. “recently-restocked”) — useful for a “back in stock” collection or homepage section.
  Send internal email to [MERCHANDISING_EMAIL] noting the product is back, in case a “back in stock” customer announcement is worth drafting.


Before activating:

  Confirm this should pair with your out-of-stock Flow (same tag names on both sides), or tell me if you only want the tag added without touching publish status.
  Confirm the tag names.


After I confirm, create and turn on the Flow.

Note: this republishes to the channels the product was previously live on before Shopify recorded it unpublished — verify the correct channel selection in the Flow preview before turning it on, since republishing to the wrong channel set could expose the product somewhere it shouldn’t be yet.

How to Use

  1. Copy the prompt above
  2. Open Shopify Sidekick in your Shopify admin
  3. Paste the prompt and replace the bracketed placeholders with your details
  4. Review Sidekick's response and apply the suggestions