If you do get distracted during the introduction and miss the name, confess! Don’t go through the whole conversation pretending you know the person’s name. It’s better to say something like Excuse me, I’m not sure I got your name. It is always preferable to have the other party repeat it than to fake it.

