Menu

I Built a Chrome Extension That Writes LinkedIn DMs Using Claude AI
πŸ–ΌοΈ

I Built a Chrome Extension That Writes LinkedIn DMs Using Claude AI

DEV CommunityΒ·Sujal MeenaΒ·6 months ago
#T3wIhNDi
#chromextension#productivity#javascript#ai#linkedin
Reading 0:00
15s threshold

The Problem

Every time I wanted to connect with someone on LinkedIn,

I'd spend way too long staring at a blank message box.

Generic messages like "I'd love to add you to my network"

get ignored 90% of the time.

Personalized messages work β€” but writing them manually

for every single person is exhausting.

So I automated it.

What I Built

ConnectAI β€” a Chrome Extension that scrapes any

LinkedIn profile and generates 3 personalized connection

request messages using the Anthropic Claude API.

Live on Chrome Web Store: [YOUR LINK]

How It Works

1. Content Script β€” LinkedIn Scraper

The content script runs on any linkedin.com/in/* page

and scrapes:

Full name

Current role / headline

Current company

Top 3 skills

Recent activity snippet

Profile URL

function scrapeProfile () { const profileData = {};

profileData . fullName = getMultipleTexts ([ " h1.text-heading-xlarge " , " h1[class*='heading'] " , " h1 " ]);

profileData .…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.