I understand that LinkedIn Connect requests and InMails cannot be automatically logged in the contact record at the moment ( https://community.hubspot.com/t5/HubSpot-Ideas/Log-Linkedin-Inmail-and-Connect-Requests-on-Contact-record/idi-p/283734 ).
read more