Rule 1: be attractive.
Avoid doing it at work.
Haven't been on online dating in a while, but a 20% response rate seems astronomical compared to what most guys get.
Even when I did get a response, I was stood up more often than not. Online dating is a meatgrinder for men. If you're not tall and white it's really not worth having an account at all due to the toll it takes on your mental health.
You can flirt at other times but you need other people to be clearly interested in that behavior (I mean, that’s true at all times but let’s be real about context). For most people commenting here on HN, I don’t think they know when that time is or maybe the nuances of flirting that are safe.
And, like all activities, you learn the nuances and signals by trying, and failing.
Except, failing can have disastrous consequences in this age that does not forget (Google, Facebook, et.al.), and does not forgive (zero tolerance policies, harsh CoC penalties, etc).
ETA: dare to go inside a place you can mobile order from.