A JavaScript chrome snippet to automate the process of sending LinkedIn connection requests with an option to add a personalised note and job title filters.
Here's teh list of required tools and technologies you need to have to run this:-
- Google Chrome That's it. That's the list.
- Create a new chrome snippet
- Copy the
snippet.js
code inside the chrome snippet - Make relevant changes to
snippet.js
based on your requirements - Go to the relevant LinkedIn URL where you will run the snippet
- Run the chrome snippet
Don't worry about making too many changes to the code! I have kept the part you need to edit in the beginning of the code itself.
config: {
scrollDelay: 1500,
actionDelay: 2500,
nextPageDelay: 2500,
// set to -1 for no limit
maxRequests: -1,
totalRequestsSent: 0,
// set to false to skip adding note in invites
addNote: true,
note: `Hi, I’m Dhruv. I’m a CS Undergrad with experience in Data Science and Dev roles. I was hoping to find a role in your organisation that would be a good fit. I’d appreciate if you could refer me.`,
addHeadlineFilter: true,
profileHeadlineKeywords: ["developer", "data", "analyst", "ceo", "cto"]
}
- If you want to set a limit on the number of connection requests you want to send, make the change to
maxRequests
. For no limit to be set, putmaxRequests
as-1
. - If you want to add a personalized note in your connection request, set
addNote
value totrue
and put the note innote
. Yournote
cannot be more than 300 characters. - If you want to add profile job title filters, set
addHeadlineFilter
value totrue
and add a list of keywords using which you want the profiles to be filtered (See given example for reference on how to write the list). The keyword filtering isn't case sensitive.
You cannot run the snippet anywhere on LinkedIn. You need to identify a specific company to whose people you want to send connection requests. I will take the example of 'Apple' here.
- Seach 'Apple' on your LinkedIn search bar
- View the full page of the company
- Click on the 'People' tab (Your URL should be something like
https://www.linkedin.com/company/apple/people/
) - Now you can run the Chrome Snippet here.
- Open Google Chrome
- Right Click -> Inspect
- On the top right panel, click on 'Sources'
- Click on '+ New Snippet'
- You will now be able to see the Code Editor UI where you can add the
snippet.js
code
- Follow steps 1-3 mentioned under
Creating a Chrome Snippet
- Open the Chrome Snippet you want to run
- Press 'Control + Enter' (Windows/Linux) or 'Command + Enter' (MacOS)