Automatically scrape LinkedIn company data, qualify leads with AI, and route hot prospects to Slack while logging all enriched contacts to Google Sheets.
This agent works seamlessly with these platforms to deliver powerful automation.
Automate web browsers with AI-powered interactions. Navigate pages, fill forms,...
Read / Write data from / to Google Sheets
Leverage OpenAI's powerful language models to generate text, answer questions, a...
Send messages, manage channels, and automate workflows in Slack workspaces
This intelligent lead enrichment workflow transforms basic contact information into comprehensive, qualified lead profiles automatically. When a new lead is submitted through a form, the agent springs into action: it searches LinkedIn to gather detailed company information, uses AI to qualify the lead based on your criteria, formats all the enriched data, logs it to Google Sheets for your records, and sends smart notifications to Slack—with special alerts for hot leads that need immediate attention.
Key benefits: Save 15-20 minutes per lead on manual research and data entry, ensure consistent lead qualification criteria across your team, never miss a high-priority opportunity with instant hot lead alerts, and build a rich database of qualified prospects automatically. This workflow eliminates the tedious copy-paste work that slows down sales teams and lets your reps focus on what they do best—closing deals.
Perfect for: Sales teams processing inbound leads, marketing teams qualifying campaign responses, business development professionals researching prospects, and any organization that needs to enrich and prioritize leads at scale.
This workflow is designed for sales and marketing professionals who receive leads through forms, landing pages, or CRM systems and need to quickly assess their quality and potential. It's particularly valuable for:
If you're currently spending significant time manually looking up companies on LinkedIn, copying information into spreadsheets, and deciding which leads deserve immediate attention, this workflow will transform your process.
Why it's needed: This integration powers the LinkedIn company research by controlling a real browser to search for and extract company information automatically, just like a human would but much faster.
Setup steps:
Configuration in TaskAGI: Once connected, the browser automation nodes will automatically use this integration. You may want to configure timeout settings (recommended: 30 seconds) and whether to run browsers in headless mode (recommended: enabled for faster execution).
Why it's needed: The AI Lead Qualification node uses OpenAI's GPT-4o model to intelligently analyze lead information and make qualification decisions based on your specific criteria, providing consistent and nuanced lead scoring.
Setup steps:
Important: OpenAI charges per token used. GPT-4o costs approximately $0.005 per lead qualification. Monitor your usage in the OpenAI dashboard and set up billing alerts.
Why it's needed: This integration logs all enriched lead data to a centralized spreadsheet, creating a searchable database of qualified leads with complete company information that your entire team can access.
Setup steps:
Timestamp, Name, Email, Company, Title, Phone, Company Size, Industry, LinkedIn URL, Qualification Score, Qualification Reason, Status
Pro tip: Create a dedicated Google account or use a team account for this integration rather than a personal account to ensure continuity if team members leave.
Why it's needed: Slack notifications ensure your team is immediately alerted when leads are enriched, with special high-priority alerts for hot leads that meet your qualification criteria, enabling rapid response times.
Setup steps:
#new-leads)#hot-leads-urgent)Channel setup recommendation: Set different notification preferences for each channel—standard notifications for #new-leads and @channel or @here mentions for #hot-leads-urgent to ensure immediate visibility.
This form node captures the initial lead information that kicks off the entire workflow.
Pro tip: Enable form validation to ensure email addresses are properly formatted and required fields aren't empty.
This node performs the intelligent company research on LinkedIn.
Search for "[[nodes.3571.company]] LinkedIn company page" and extract: company name, employee count, industry, description, and LinkedIn URL
30 secondstrue
false (unless you want visual records)[[nodes.3571.company]] which pulls the company name from your form submissionImportant: This node creates a browser session that must be properly closed to avoid consuming unnecessary resources.
This cleanup node ensures browser resources are released.
[[nodes.3572.sessionId]]
This node structures the raw data scraped from LinkedIn into usable fields.
[[nodes.3573.sessionId]]
false (to handle variations in LinkedIn page structures)This is where the intelligent qualification happens using GPT-4o.
gpt-4o
Qualify this lead:
Contact:
- Name: [[nodes.3571.name]]
- Email: [[nodes.3571.email]]
- Title: [[nodes.3571.title]]
- Phone: [[nodes.3571.phone]]
Company:
- Name: [[nodes.3574.company_name]]
- Size: [[nodes.3574.employee_count]]
- Industry: [[nodes.3574.industry]]
- Description: [[nodes.3574.description]]
Provide:
1. Qualification score (1-10)
2. Brief reason for score
3. Recommended action (Hot Lead, Warm Lead, or Cold Lead)
Format as JSON: {"score": X, "reason": "...", "status": "..."}
0.3 (lower = more consistent scoring)200
true for structured outputCustomization tip: Modify the qualification criteria in the prompt to match your ideal customer profile. For example, add "Prioritize companies with 50-500 employees in the SaaS industry."
This node combines all gathered data into a clean, structured format.
[[nodes.3571.submittedAt]]
[[nodes.3571.name]]
[[nodes.3571.email]]
[[nodes.3574.company_name]]
[[nodes.3571.title]]
[[nodes.3571.phone]]
[[nodes.3574.employee_count]]
[[nodes.3574.industry]]
[[nodes.3574.linkedin_url]]
[[nodes.3575.content.score]]
[[nodes.3575.content.reason]]
[[nodes.3575.content.status]]
This node records every enriched lead in your spreadsheet.
[[nodes.3576._dynamic]]
true (for first-time setup)This decision node determines which Slack channel receives the notification.
[[nodes.3575.content.status]]
equals
Hot Lead
This sends urgent notifications for high-priority leads.
#hot-leads-urgent
🔥 **HOT LEAD ALERT** 🔥
**Contact:** [[nodes.3571.name]] ([[nodes.3571.title]])
**Company:** [[nodes.3574.company_name]] ([[nodes.3574.employee_count]] employees)
**Industry:** [[nodes.3574.industry]]
**Score:** [[nodes.3575.content.score]]/10
**Why it's hot:** [[nodes.3575.content.reason]]
**Contact info:**
📧 [[nodes.3571.email]]
📱 [[nodes.3571.phone]]
🔗 [[nodes.3574.linkedin_url]]
@channel - Someone should reach out ASAP!
true (to activate @channel mentions)This sends standard notifications for all enriched leads.
#new-leads
✅ **New Lead Enriched**
**Contact:** [[nodes.3571.name]] - [[nodes.3571.title]]
**Company:** [[nodes.3574.company_name]]
**Status:** [[nodes.3575.content.status]] (Score: [[nodes.3575.content.score]]/10)
View full details in Google Sheets
After the Browser AI node completes:
After the AI Qualification node:
After the Google Sheets node:
After the Slack notifications:
A successful execution should complete in 25-40 seconds and show all nodes with green checkmarks. You should see:
Cause: LinkedIn's page took too long to load or the search didn't find results quickly.
Solutions:
Cause: The API key is incorrect, expired, or hasn't been properly saved.
Solutions:
Cause: TaskAGI doesn't have write access to your spreadsheet.
Solutions:
Cause: The Slack integration lost authorization or the channel doesn't exist.
Solutions:
**