How to scrape only first Name and not full name from LinkedIn

Hi,
Can you Scrape separately First Name and Last name from Linkedin Profile to Google Sheets (from the active tab)?

Hi @m.jovanovic, Welcome to the Bardeen Community :slight_smile: :deal_with_it:

This is easiest done through a Google Sheet formula after scraping the profile name as the html structure of the LinkedIn profile page has them within the same selector.

I hope this helps!
Thank you,
Jess

Hi m.jovanovic

A few ideas that can work here:

  1. Bardeen has a “Split string” action, which you can use to separate a name and last name by the space character. This might not work in all cases (since there’s middle names)

The workflow is:

  1. Scrape linkedin
  2. Split string

  1. Or another option is getting AI to separate them for you, using custom prompting or our default OpenAI actions.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.

New command to split full names

We’ve added a new action, “Split person name”, which extracts a first and last name from a full name. This is very useful for formatting your scraped names.

Before this, you would need to use “split string” and other workarounds. This action makes it easier to get the output and also supports capturing the middle name, suffix, and Spanish last names.

Mentioned on latest release notes.