Building real-time flows