Turn LinkedIn Engagements to Pipeline

This automation extracts leads from any LinkedIn profile by identifying users who have commented on or reacted to their recent posts. It then enriches these leads with professional data. The template offers two enrichment methods: full enrichment with email addresses via a Prospeo API key, or basic enrichment (job title, company) using LinkedIn data as a fallback. You can choose to receive the final lead list in a newly created Google Sheet, as a JSON object, or both.
This automation executes the following steps to build a targeted lead list from LinkedIn:
  1. Fetches Recent Posts: It starts by retrieving the most recent posts authored by the specified LinkedIn profile, looking back over a configurable number of days.
  2. Extracts Engaged Users: The automation processes the posts to collect a unique list of every person who has either commented or reacted. It intelligently deduplicates users who have done both.
  3. Enriches Lead Data:
    • With Prospeo API Key: If you provide a Prospeo API key, it attempts to enrich each lead to find their verified email address, job title, company name, and company size.
    • Without API Key: If no key is provided, it uses a fallback method to enrich leads with their job title and company name directly from their LinkedIn profile.
  4. Delivers the Results: Based on your selection, the automation will:
    • Create a new Google Sheet containing all the enriched leads and their details.
    • Return the lead list as a structured JSON object, ready for use in other applications or workflows.
    • Do both of the above.
Usage Ideas
  • Build targeted lead lists for sales outreach by scraping people who engage with posts from industry leaders or key decision-makers.
  • Identify and source potential candidates for job openings who are active in relevant professional discussions on LinkedIn.
  • Gather audience data for market research by analyzing who engages with your competitors' content.
  • Automatically populate a CRM or marketing database with fresh, engaged leads on a recurring schedule.
  • Create a list of engaged community members for networking or partnership opportunities.
Customization Ideas
This template provides significant flexibility to tailor the lead generation process to your specific needs without writing any code:
  • Target Any Profile: You can specify any public LinkedIn profile URL as the source for lead scraping.
  • Control the Scope: Easily adjust how far back in time the automation looks for posts (daysLookback) and set limits on the number of posts to analyze and leads to collect.
  • Choose Your Enrichment Level: You have the choice to use the Prospeo integration for deep enrichment (including emails) or to use the built-in LinkedIn data fallback for basic details if you don't have a Prospeo account.
  • Select Your Output: You can decide whether you want your leads delivered in a ready-to-use Google Sheet for easy viewing and sharing, as a JSON data object for integration with other tools (like a CRM), or both.
  • Customize Your Output: When using Google Sheets, you can work with an assistant to change the spreadsheet's title, column headers, and the data that gets saved.
Agent Inputs
Required Parameters
Name
Type
Default
linkedinProfileUrl
string
None
LinkedIn profile URL to fetch posts from (e.g., https://www.linkedin.com/in/username)
Optional Parameters
Name
Type
Default
daysLookback
number
30
Number of days to look back for posts
maxLeads
number
10
Maximum leads to return (commenters + reactors combined)
maxPosts
number
3
Maximum posts to analyze
outputType
enum
Options:
jsongoogleSheetboth
json
Output format: 'json' returns lead array, 'googleSheet' creates a new sheet and returns URL, 'both' returns both
prospeoApiKey
string
Prospeo API key for email enrichment. If not provided, leads are returned with basic LinkedIn data only (no email).
HIPAA
SOC-2 TYPE 2
Airtop empowers anyone to turn ideas into powerful automations, by simply describing what they want to happen.
© 2025 Airtop