You can click Q on the inserter icon on the result, to get it as a ghost in hand, which you can then use to click on the condition.
P.S. For this kind of thing I recommend making a parameterized BP for the inserter+chest, having them automatically filtered by your parameter.