The history of automated selling reaches much further into the past than most people expect.
When a coin landed on a small platform, its weight temporarily activated the water-release mechanism.
Its clever design https://www.ontime.co.th/forum/topic/974998/jiliwin