Filtering linkedin post results

In a linkedin post search, im trying to scrape the names of companies that have been reshared by people, such as this one (see screenshot). Im using ‘Linkedin post search results (by Bardeen)’ but i understand it will need to be modified.

The end result is to have only “company names” in a google sheet. One way to determine companies is that their professional headline always includes the word “followers”.

Any advice appreciated!

Hi @kareem, would love to hear more about this use case!

I believe it is possible to only have the “Company Names” in a Google sheet as the end result by doing the following:

  1. Extend the “LinkedIn Post Search Results (by Bardeen)” Scraper template to include the Company name data point:

  1. In the builder after the scrape runs, add the “Get rows of a Table” action. (This is necessary to have it run through/work with the next steps)
  2. After that action, add a Conditional Statement where the “Company” data point from the previous action(“Get rows of a Table”) is not empty.
    3a. If yes → Add an action to “update Google Sheet” with the “Get rows of a table” action.

This will get you the results you’re looking for. I hope this helps!
Thank you,


Thanks for that solution @Jess !

@kareem , you can find more information on extending scraper models in the thread tagged below.

Please reach out if you’re still having issues. Happy Automating !

1 Like

Thanks @Jess and @vin_bardeen , im trying to follow the steps but im unable to replicate this. see screenshots of workflow and output

Hi @kareem

Would you mind sharing the automation and the Google sheet publicly with edit rights?

I’ll take a look and let you know what’s going on.

Thank you,

Thanks @Jess here it is (ive removed redundant tabs and changed the name of the sheet (not the tab) Post checker - Google Sheets

Thank you @kareem - could you also please share the automation?

@Jess here you go Shared Playbook Template

The issue is in your mapping below:


I’ve remapped it correctly in the below reshared automation:

@Jess first of all, thank you very much for your effort and fast replies. when running this updated playbook and stopping (before completion, to see a sample), i get the following error. mind sharing a loom of how you got it to work?
Screenshot 2023-11-08 at 16.29.31

1 Like

Ope, @kareem

Found another issue:

You need to map this to the “Get rows of a table” Action per my above & below instructions:


This automation will work:

Here’s the video:
Testing the automation - video

Massive thank you @Jess ! I believe its working in certain regards.

  1. I noticed its scanning some people results, but mostly company results. Not the end of the world, but wondering if im doing anything wrong on my side
  2. The results seem to repeat/duplicate after a 10-15 entries. Any advice around this?
  3. If we wanted to capture regular company posts (not re-shares of company posts) as well, is it better to create this as a separate scraper (with a condition on the table to scan for headline contains “followers”, since only company profiles have that), or is it possible to create a 2nd condition tree in the same playbook you created? I’ve attached a 2nd screenshot of what a normal company post looks like, just to clarify.

    Screenshot 2023-11-08 at 18.30.16
1 Like

Your welcome @kareem, happy to help! If you find value in my contributions, you can support me by buying me a virtual beer :beers:

  1. This automation is correctly designed as requested in the original posted topic. It only returns scraped data where there is company results - more specifically it is only returning the posts that people have reshared from a company’s post.
  1. I imagine you might’ve ran the automation multiple times with an item limit set to cause these duplicates. Try removing all and just executing the playbook one time all the way through completion. You can clear the history tab to be sure.
  1. I think you could extend the existing scraper to add that “Followers” data point. Then off of the Conditional Statement Step’s – > No branch → Create another Conditional Statement where “Followers” is not empty → Yes branch to update Google Sheet
  • Just how we did with the other one

I hope this helps!

Thank you so much @Jess . Drink on the way! :slight_smile:

1 Like

Cheers my friend! :ambassador_excited: :slightly_smiling_face:

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