Sad to hear. Every job I've had I've been able to get into that flow. But Ive also always had my own office or work from home. 20+ years of doing this professionally and as a hobby.
My advice is to find some way to take some pride in the work you do and or change employers when that flow stops happening. life is too short not to.