How to collect all the emails of my LinkedIn contacts

In this guide, we’ll show you hoe to scrape rifle links, open those links and scrape the users email address.

Effortless LinkedIn Email Scraping Made Easy: A Comprehensive Guide

 

Hey there, fellow tech enthusiasts! Ever wished there was a way to simplify the process of gathering email addresses from your LinkedIn connections? Well, you're in for a treat because today, we're going to walk you through a step-by-step tutorial on how to achieve just that using the power of automation. We all know the pain of manually collecting data – the endless copying, pasting, and scrolling. But fear not, because with the magic of automation, you can streamline this process and get those coveted email addresses with minimal effort. So, let's jump right in!

Setting the Stage

 

Let's kick things off with a friendly greeting and a sneak peek into the magic we're about to unleash. And guess what? You won't need a toolbox full of gadgets for this journey – just grab your trusty Google Sheet and make sure those headers are in place. Yup, that's all we need.

 
Notion image
 

Video tutorial explaining everything.

 

Get ready to revolutionize your LinkedIn game! We start with a warm hello and a sneak peek into the awesomeness ahead. No need for complicated tools here – just your trusty Google Sheet with some snazzy headers.

 
 

Full step to step guide.

 

We kick things off by capture steps¹ for our LinkedIn email scraping mission. This involves setting up the automation to handle the data collection process seamlessly. So lets click on the capture steps¹ button

 
Notion image
 

Before we dive into action, we give a quick heads-up about waiting for the recording window¹, ensuring everything is synced and ready to roll.

 
Notion image

Logging in to LinkedIn

 

Time to connect the dots – we guide you through the process of linking up with your Google account for smooth integration. We click on the Continue with Google¹ button and we sign in like we normally would on google. In this case we see a 2-Step Verification² pop-up, lets verify³ your account this one time and deal with it later.

 
Notion image
 

Verification time! after we get (in this case) this 2FA code¹ we click on Next².

 
Notion image

Navigating LinkedIn

 

Now, let's get to the heart of the matter. We guide you through navigating to your My Networks¹ section on LinkedIn, setting the stage for our data extraction adventure.

 
Notion image
 

Once the window is visible, direct your attention to the left-hand side of the page, where you'll spot theConnections¹ tab. Clicking on this option is crucial, as it is precisely where we'll find the email addresses of our connections.

 
Notion image

Choosing the Target URL

 

Here's the URL¹ we're going to be working with: https://www.linkedin.com/mynetwork/invite-connect/connections/ – the link that holds the key to the data we seek. In order for this to we, we have to select the scraping lists² button for efficient data collection.

 
Notion image
 

We roll up our sleeves and demonstrate how to scrape a list¹ of usernames. We first have to select two of the same elements. For this example we’re using two usernames². When we click on this username, well see the information stored in our Recording Bar. As you can see, scraping this option gives us a pop. We have two options. One for Text³ and one for URL, we are going to be choosing both Text³ and URL, for a comprehensive data capture. We’ll cover what each of them does later on, but if you really want to see, click here.

 
Notion image

Scraping Email: Clicking Contact Info

Time to take a more personalized approach. Once we've wrapped up the essential data scraping, let's navigate to any profile¹ – just as you would on any standard browser. Upon landing on the profile's homepage, you'll have the freedom to scrape a variety of information. However, for our current focus, we're zooming in on the Contact Info².

 

Simply click the Contact Info² button, and voila, a popup appears. Within this popup, you'll find the user's email address. To ensure precision and avoid unnecessary repetition of elements, we're opting for a scrape text ³ technique here. This allows us to extract a single element – the email address. We’ll cover what it does later on, but if you really want to see, click here.

 
Notion image
 

Mission accomplished! We show you how to gracefully stop recording¹ once your desired data has been successfully scraped.

 
Notion image

Exporting Data to Google Sheet

 

The harvested data needs a home, right? We can send this information to a Google Sheet¹ or to a Webhook². For this example we’re going to be using Google Sheets¹.

 
Notion image
 

After opting for the Google Sheet choice, a pop-up window will appear. Here, the task at hand involves linking our Google Sheet and verifying the accuracy of our headers and worksheet. If all appears in order¹, simply proceed to click the Looks good² button.

 
Notion image

Allowing Errors and Deleting Steps

 

In the realm of automation, adaptability reigns supreme. Remember the captcha we had in the begging? We shed light on a powerful feature – the ability to Allow errors¹ and effortlessly Delete stepsᄇ, giving you full control over your automation journey. Any of these two options can solve this one time issue, but just for this automation (because we are doing 2FA). If you are trying with something else, the solution will most likely be the same steps, if it still doesn't work please check Have an issue running your automation? Check these three steps.

 
Notion image
 

Embark on a journey into the realm of the URL¹ ² option, effortlessly weaving it into the fabric of your data collection approach. The objective: enhance the efficiency of your process, ensuring a seamless experience. To incorporate this URL¹ , simply tap the green + sign located between the steps. Rest assured, we'll tidy up by removing step 2² and step 3² down the line. For now, they serve as placeholders, guiding you to the exact spot for placing the link.

 
Notion image

Opting for the URL Option

 

Watch as we effortlessly glide through the task of pasting the URL¹ into its designated spot, ensuring an uninterrupted flow of data. For this we click on the URL¹ option shown bellow.

 
Notion image
 

Back to the URL that holds the key to your LinkedIn connections. We navigate you through the process of adding the cornerstone URL: https://www.linkedin.com/mynetwork/invite-connect/connections/¹. Once you’ve placed the URL, you can click on save².

 
Notion image

Adding a Step for Scraping Many Links

 

Elevating efficiency to unprecedented levels! We unveil a revolutionary approach – harnessing the scraped many links step as a dynamic variable – tapping into automation's prowess to elevate the potency of your data collection endeavors. Similar to the preceding step, we seamlessly incorporate a URL, and strategically position this dynamic variable where we initially clicked on the username profile². In the context of this instance, envision clicking on Juan Carlos Banos²profile link; thus, we position the variable¹ just prior to step 5², the pivotal click on the green +¹ button will unveil all the links profile details.

 
Notion image

The Significance of Step 4

 

During the process of scraping the My Connections page, a choice arose between text and URL extraction. Step 4 served as the designated repository for these URLs. Now, we are set to harness the power of step 4 as a dynamic variable, utilizing it to efficiently access and open the collected links.

 
Notion image
Notion image
 

With a clear understanding of step 4 significance and having seamlessly integrated a subsequent step to opt for URLs once again, we find ourselves at a juncture where we won't be inserting any new links. Instead, we'll strategically insert the variable @step4 – this is where the magic happens. After selecting step 4, a simple click on Save is all that's needed.

 
Notion image
 

Setting the Loop in Motion

 

The moment of automation truth has arrived. We demonstrate the art of setup trigger, initiating a beautifully orchestrated dance of data collection.

 
Notion image

Choice and Focus: Skipping Google Sheet for Loop Setup

 

Decisions, decisions. We dive into the choice of Skip Google Sheet setup, or to Setup a Google Sheet with data, enabling you to hone in on the loop setup and maximize your efficiency. But for this moment we want to skip this step. I you want to know What’s the difference between exporting and importing data from Google Sheets?

 
Notion image
 

Strategizing Loop Count: Navigating Loop Iterations

 

Navigating the loop count waters can be a breeze with our guidance. We walk you through the process of determining the number of iterations – in this case, we've chosen 5 for illustrative purposes.

 
Notion image
 

Loop time! Setup a schedule for your run.

 

We delve deeper into the intricate art of scheduling¹ the loop, ensuring a flawless execution that aligns with your objectives. But in this example, simply by clicking Continue² is more than enough.

 
Notion image

Tailoring Precision: Fine-Tuning the Loop Trigger

 

Customization at its finest. We empower you to fine-tune the loop trigger to suit your specific needs, ensuring a data collection masterpiece. for this example, we’re going to be loop from Step 5 which is the scraped URL’s we got from the scraping lists button , all the way to Step 7. This is where we scraped the users email address.

 
Notion image
 

Now we just adjust the loop slider¹ to the steps desired (in this case Step 5 through Step 7) and then we can press Play steps and see our app do its Magic.

 
Notion image
 

Witnessing the Marvel: Observing Automation Unfold

 

You are about to witness the magic of automation. We will show you how it works and how to handle any unwanted tabs³ that may pop up. You can stop or pause¹ this automation at any time. The automation will take place in the first tab². If you see any new tabs³ that you don’t want, you can close them or switch back to the first tab². It’s up to you because our automation runs independently from your normal browsing experience. For example, you can watch a YouTube video in the same browser where the automation is running and it won’t affect the automation (unless you close the main tab²).

 
Notion image
 

The loop elegantly navigates through the array of URL¹ links, optimizing your data collection process like never before. At step 4¹, you can see the URL¹ of the variable take its place. You can also see the automation clicking² on the exact same elements² ³ I did in the recording, and you can see the email³ being scraped from all the links we scraped either.

 
Notion image
 

It’s a moment of triumph and validation when that cherished complete¹ notification graces your screen. You know you’ve surmounted the automation challenge victoriously. Curious? We guide you to the ultimate destination - your Google Sheet². Behold the results of your labor, neatly organized³ and ready for your perusal. As you can see, column one has the profile name, column two has the links we looped through (in this case it was @step 4), and we can see the five loops we did in the third column

 
Notion image
 

And now it's your turn! Dive right in and give it a go. Remember, practice makes perfect. Reflect on your journey from automation initiation to efficient data scraping. Your LinkedIn email scraping skills have reached new heights. Get out there and make the most of your newfound prowess!

Did this answer your question?
😞
😐
🤩