The writer must believe that what he is doing is the most important thing in the world. And he must hold to this illusion even when he knows it is not true.
Flow is being completely involved in an activity for its own sake. The ego falls away. Time flies. Every action, movement, and thought follows inevitably from the previous one, like playing jazz. Your whole being is involved, and you're using your skills to the utmost.