The Use Flask Type Action will search for a flask of the specified type... but will ONLY decide to drink flasks if we are missing its buff (described in FlaskBuffDetails.json). If you are wanting special logic for the flask, I would probably add a decorator with your desired conditions and then a Use Flask Action.
Keep in mind, I'm not sure I have a way to ignore specifics flasks in the Use Flask Type Action, so it could be used as a mana flask as well.