Flow is what happens when attention is fully invested in a task whose challenge stretches, but does not overwhelm, your skill.
The book's most useful idea is the channel between boredom and anxiety. It turns motivation into a design problem: adjust difficulty until attention naturally gathers.