linkedinLinkedIn messaging

Send LinkedIn messages, connection requests, and profile lookups through Cody using your logged-in browser session.

Send messages, connection requests, and look up profiles, all through Cody.

Before you start

Step 1: Connect your LinkedIn

Ask Cody to connect your LinkedIn account.

Say this to Cody:

"Connect my LinkedIn account for LinkedIn Messaging"

Cody will automatically:

  • Read your LinkedIn session from your browser (via the Chrome extension)

  • Connect it securely to the messaging service

  • Save your connection for future use

You only need to do this once. If your LinkedIn session expires (for example, after logging out or changing your password), Cody asks you to reconnect.

circle-info

If Cody says "li_at cookie not found", you are not logged into LinkedIn in your browser. Log in at linkedin.comarrow-up-right and try again.

Step 2: Use LinkedIn features

Once connected, tell Cody what you want to do:

  • Send a message: Message anyone you are connected with on LinkedIn

  • Send a connection request: Connect with someone by pasting their LinkedIn URL

  • Look up a profile: Get a person's full LinkedIn profile (job, education, skills, and more)

  • Find a contact: Search your LinkedIn conversations by name

  • List conversations: See your recent LinkedIn chats

  • Read messages: View message history from any conversation

Examples: what to say to Cody

Send a message

Send a LinkedIn message to Osman Ramadan saying "Hey, are you free for a call tomorrow?"

Cody finds the contact in your conversations and sends the message. You get a confirmation with the message ID.

Send a connection request

Send a connection request to https://www.linkedin.com/in/handotdev/ with the note "Hi, love your work on Mintlify!"

Cody extracts the profile, resolves their LinkedIn ID, and sends the invite with your custom note.

Look up a profile

"Look up the LinkedIn profile for satyanadella"

"Get the full LinkedIn profile for https://www.linkedin.com/in/handotdev/"

Returns details like name, headline, location, education, work experience, skills, follower count, and more.

Find a contact

"Find Osman Ramadan in my LinkedIn contacts"

Searches your LinkedIn conversations by name and returns matching contacts with their details.

Read messages

"Show me my last 10 messages with Osman"

"List my recent LinkedIn conversations"

Pulls your conversation history directly from LinkedIn.

Rate Limits

LinkedIn has rate limits. Do not send more than about 16 connection requests per day or about 120 messages per day through the service. This leaves room for your normal LinkedIn activity.

Quick tips

  • Your browser must stay logged into LinkedIn. If you log out, the connection may expire.

  • Connection requests need a full LinkedIn URL, such as https://www.linkedin.com/in/someone/.

  • Messages go to existing connections. You can only message people you are connected with (unless you use InMail with a qualifying Premium plan).

  • Check account health anytime by asking Cody: Is my LinkedIn still connected?

  • Disconnect when done by asking Cody: Disconnect my LinkedIn

Last updated

Was this helpful?