🎣 LinkedIn lead finder & Gemini-powered personalized outreach with Google Sheets

1,249 views · 🎣 Lead Generation & Enrichment

💡 Pro Tip — If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search — you just pass a URL and get structured data back.

View All Scrapers

Description

📄 What this workflow does

This workflow automates the process of finding LinkedIn leads and writing personalized outreach messages. It takes user input (keywords + purpose), generates a Boolean LinkedIn search query with Gemini, fetches up to 20 results via Google Custom Search API, logs them into Google Sheets, and then drafts custom outreach messages for each lead. Finally, the workflow updates the sheet and optionally sends you an email notification with the results.

👤 Who is this for

✅ Requirements

⚙️ How to set up

🔁 How it works

  1. Form Submit → Collects user input: keywords + purpose of contact.
  2. Gemini (Boolean Generator) → Creates a LinkedIn-specific search query (site:linkedin.com).
  3. Google Custom Search API → Fetches up to 20 matching profiles or company pages.
  4. Append to Google Sheets → Saves name, LinkedIn URL, description.
  5. Split & Loop → Processes each LinkedIn entry one by one.
  6. Gemini (Message Writer) → Generates personalized outreach messages using Purpose + company info.
  7. Update Google Sheets → Adds outreach message to the matching LinkedIn row.
  8. Optional Email Notification → Sends you a link to the updated sheet.

💡 About Margin AI

Margin AI is an AI-services agency that acts as your AI Service Companion. We design intelligent, human-centric automation solutions—turning your team’s best practices into scalable, automated workflows and tools. Industries like marketing, sales, and operations benefit from our tailored AI consulting, automation tools, chatbot development, and more.

🔗 Nodes Used

Send Email, Google Sheets, HTTP Request, n8n Form Trigger, Google Gemini

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup