Imagine that you’re looking at your company-issued smartphone and you notice an e-mail from LinkedIn: “These companies are looking for candidates like you!” You aren’t necessarily searching for a job, but you’re always open to opportunities, so out of curiosity, you click on the link. A few minutes later your boss appears at your desk. “We’ve noticed that you’re spending more time on LinkedIn lately, so I wanted to talk with you about your career and whether you’re happy here,” she says. Uh-oh.

A version of this article appeared in the September 2016 issue (pp.20–21) of Harvard Business Review.