Making a "Dynamic" transaction group

Unfortunately there isn’t a great way to do this, but I would look into using a Block Group to achieve your goals in a single group. That will allow you to set all the ingredients on every tank at the same time, but that also means that you need to find a way to select the right recipes in the right block format.

If you really need to do it all in one place, then you might have to use a tag change script for it, but then you’re giving up on transaction groups.