Q. In our institutional dining hall, there is an electric drink machine, which dispenses flavored drinks. How do I get a drink on Shabbos from that machine? Can I ask a non-Jew to push the button?

A. Horav Shlomo Miller’s Shlit”a opinion is that you may ask indirectly the Gentile before Shabbos that when he takes drinks he should dispense two for himself. If he does not want it you would consume it.

Rabbi A. Bartfeld as revised by Horav Shlomo Miller Shlit”a