Yeah, that's absolutely fine - LinkedIn in a professional site and you were looking for a professional. If you wanted to get it out of the way you could mention that you looked at her profile to see if you thought you'd be a good fit, but I think she'll know that's what you were doing.
|