Arduino with Flow Sensor and Relay

You're exactly correct.

I'm using a Seeed Studio 314150005, 1/2" flow sensor that was purchased from robotshop.com and a KY-019, 5V One 1 Channel Relay.