Browserflow for LinkedIn icon

Browserflow for LinkedIn

Automate LinkedIn with Browserflow

Overview

The "Scrape Profiles From A LinkedIn Post" operation in the Browserflow for LinkedIn n8n node allows you to extract LinkedIn user profiles from a specific post. This includes the ability to gather information about users who have commented on or reacted to the post, with options to control how many comments and reactions are included.

Common scenarios:

  • Building lead lists by extracting commenters and reactors from industry-relevant posts.
  • Monitoring engagement on your own or competitors' posts.
  • Enriching CRM data with new contacts discovered via LinkedIn post interactions.

Practical example:
You want to collect all profiles that commented on a viral post about your sector, including their comments and those who reacted (liked, celebrated, etc.), to reach out for networking or marketing purposes.


Properties

Name Type Meaning
Post URL string The URL of the LinkedIn post to scrape profiles from.
Add Comments boolean Whether to include comments in the scrape results.
Comments Offset number The number of comments to skip before starting to scrape (used for pagination).
Comments Limit number The maximum number of comments to scrape.
Add Reactions boolean Whether to include reactions in the scrape results.
Reactions Offset number The number of reactions to skip before starting to scrape (used for pagination).
Reactions Limit number The maximum number of reactions to scrape.

Output

The output will be a JSON object containing the scraped profile data. The structure typically includes:

  • profiles: An array of LinkedIn user profiles extracted from the post's comments and/or reactions.
  • comments (if "Add Comments" is enabled): An array of comment objects, each possibly linked to a profile.
  • reactions (if "Add Reactions" is enabled): An array of reaction objects, each possibly linked to a profile.

Example output structure:

{
  "profiles": [
    {
      "name": "Jane Doe",
      "profileUrl": "https://www.linkedin.com/in/janedoe/",
      // ...other profile fields
    }
    // ...
  ],
  "comments": [
    {
      "author": "Jane Doe",
      "text": "Great post!",
      // ...other comment fields
    }
    // ...
  ],
  "reactions": [
    {
      "user": "John Smith",
      "type": "Like",
      // ...other reaction fields
    }
    // ...
  ]
}

Note: The exact field names may vary depending on the API response.


Dependencies

  • External Service: Requires access to the Browserflow service.
  • API Key: You must configure the browserflowApi credential in n8n.
  • Environment: No additional environment variables required beyond standard n8n setup.

Troubleshooting

Common issues:

  • Invalid or missing Post URL: Ensure the "Post URL" is a valid LinkedIn post link.
  • Insufficient permissions or invalid API key: Make sure your Browserflow API credentials are correctly set up in n8n.
  • LinkedIn rate limits or CAPTCHA: Excessive scraping may trigger LinkedIn's anti-bot measures, resulting in incomplete data or errors.

Possible error messages:

  • "Invalid LinkedIn post URL": Double-check the provided URL.
  • "Authentication failed": Verify your Browserflow API key in n8n credentials.
  • "No profiles found": The post may not have any comments or reactions, or privacy settings may restrict access.

Links and References

Discussion