Removing OOS Product tag using Flow

Hello! I am trying to remove a size tag once that particular size is out of stock. I have started the flow but I have gone to test it and it doesn’t seem to be working correctly. I have tried both separating out the sizes into different actions as well as all at once. Does anyone have a solve for this? Thank you!

Usually you would have a condition in there to check which variant is out of stock. right now I’d expect this workflow to remove those tags when any variant goes out of stock

Hi @TinaPPPP , you’ll want to confirm the tag you are removing and make sure that it exactly matches the tag on the product. Copy and paste it if possible

Hi Paul,

Thanks for the reply! The condition the flow would have to check is the size variant. Would you know how to add this?

I’m not sure what you mean by a size variant. I think you might mean “option”. Like a product can have a size option with possible values S, M, L. And a single variant would have Size S.

To check which options a variant has the field is under “variant / selectedOptions” where the “name” field would be something like “size” and the value would be “S”.

Hi Paul,

Thanks for the update. Yes, I am meaning size under Option. Does the attached seem to make sense? I feel as if I am missing a step.

I’m not sure why you have that third step in there. Also, not sure about what is in your conditions panel.

Have you tried to run it? You might create a test product variant for this that has that specific tag, and make it go out of stock.