🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

LinkedIn to Gmail, prospect research delivered ready

Lisa Granqvist Partner Workflow Automation Expert

You start with a name and a company. Then it’s five tabs, three searches, and a lot of “is this the right person?” before you even write a first line of outreach.

This LinkedIn Gmail automation hits SDRs and lead gen folks hardest. Agency owners running outbound for clients feel it too. Founders doing their own pipeline? Same mess, just less time to deal with it.

This workflow takes basic prospect info, finds the most likely LinkedIn match, pulls company context, and emails you a ready-to-use follow-up plan. You’ll see what it does, why it matters, and how to roll it out without turning your day into a setup project.

How This Automation Works

Here’s the complete workflow you’ll be setting up:

n8n Workflow Template: LinkedIn to Gmail, prospect research delivered ready

Why This Matters: Prospect research slows outreach to a crawl

Manual prospect research feels “quick” until you do it 20 times in a row. You Google a name, open a few results, compare titles, sanity-check the company, then try to write something that doesn’t sound like a template. Meanwhile you’re second-guessing basics: wrong profile, outdated role, or a company page that’s all fluff. The real cost isn’t just time. It’s momentum. When research is annoying, outreach gets postponed, follow-ups slip, and the pipeline quietly dries up.

It adds up fast. Here’s where it breaks down in real life.

  • Finding the right LinkedIn profile often takes 10 minutes per person when names are common.
  • Once you’re unsure about the match, you lose confidence and rewrite emails more than you need to.
  • Company context is scattered, so personalization becomes “good enough” instead of useful.
  • Copy-pasting notes between tools creates small errors that turn into embarrassing outreach.

What You’ll Build: LinkedIn profile matching + follow-up guidance to Gmail

This workflow starts when someone submits a simple form with a full name and company (optionally a role). From that input, it automatically builds two Google searches: one aimed at finding the person’s LinkedIn profile, and another aimed at finding clean company information. It uses Bright Data to scrape the search results, then GPT-4o-mini to interpret the messy HTML and pull out the most likely matches. If the workflow can confidently identify a LinkedIn profile, it merges person and company signals, generates a buyer persona and follow-up strategy, and sends you an HTML-styled email. If it can’t find a match, it returns a clear “no match” response so you’re not left guessing.

The workflow kicks off from the form trigger, then runs two parallel research tracks (person and company). After a quick match check, everything is combined into one brief, actionable outreach plan and delivered to Gmail via an email send step.

What You’re Building

Expected Results

Say you research 15 prospects a day. Manually, it’s usually about 10 minutes to find a confident LinkedIn match and another 5 minutes to grab company context and sketch a follow-up, so roughly 4 hours daily. With this workflow, you submit the form in about a minute per prospect, then wait for the email to land in Gmail. That’s closer to 15 minutes of active work for the whole list, plus processing time in the background.

Before You Start

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Bright Data for scraping Google search results.
  • OpenAI (GPT-4o-mini) to parse results and write follow-ups.
  • SMTP email account (get it from your email provider’s SMTP settings page)

Skill level: Intermediate. You’ll connect credentials, test a few sample submissions, and tweak prompts for your voice.

Want someone to build this for you? Talk to an automation expert (free 15-minute consultation).

Step by Step

A prospect submits a simple form. The trigger captures the person’s name and company, which keeps your inputs clean and repeatable. No more “where did I put that note?” moments.

Two searches run in parallel. One query is formatted to find likely LinkedIn profiles, and another query looks for company pages and public info. Bright Data fetches the Google results pages so you don’t have to scrape anything manually.

AI interprets the messy parts. GPT-4o-mini reads the scraped HTML and extracts structured results (profile candidates, titles, URLs, and company snippets). Then n8n filters, limits, and checks if a usable LinkedIn profile was found.

You get a Gmail-ready deliverable. The workflow merges the person and company context, generates a persona and follow-up strategy, and sends it via your SMTP email node. If there’s no match, the form responder tells you right away so you can fix the input.

You can easily modify the prompts and match rules to fit your market (for example, stricter title matching for enterprise outreach). See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Form Trigger

Set up the form intake that collects prospect details and kicks off the workflow.

  1. Add and configure Form Submission Trigger with Form Title set to Sales prospecting and Response Mode set to lastNode.
  2. In Form Submission Trigger, add fields for Person Fullname and Person's company, both required, and set the submit button label to Get References.
  3. Confirm the workflow starts when the form is submitted and that Form Submission Trigger outputs to both Build LinkedIn Query and Build Company Query in parallel.
⚠️ Common Pitfall: The workflow references Person Position and Category in AI prompts, but these fields are not present in Form Submission Trigger. Add those fields to the form or remove the expressions in Interpret Search Results and Interpret Company Results to avoid runtime errors.

Step 2: Build the Search Queries (Parallel Branches)

Construct Google search URLs for LinkedIn profiles and company pages.

  1. In Build LinkedIn Query, set google_search to =https://www.google.com/search?q=site%3Alinkedin.com%2Fin+{{ encodeURIComponent($json["Person Fullname"].trim() + " " + $json["Person's company"].trim()) }}.
  2. In Build Company Query, set google_search to =https://www.google.com/search?q={{ encodeURIComponent($json["Person's company"].trim()) }}.
  3. Verify the parallel flow: Form Submission Trigger outputs to both Build LinkedIn Query and Build Company Query in parallel.

Step 3: Fetch and Parse LinkedIn Search Results

Scrape Google results for LinkedIn profiles and extract matching prospects.

  1. Configure Fetch LinkedIn Search with URL set to ={{ $json.google_search }} and Format set to json. Credential Required: Connect your brightdataApi credentials.
  2. In Scrape Page Content, set Operation to extractHtmlContent, Data Property Name to body, and ensure extraction values include title and body.
  3. In Interpret Search Results, keep JSON Output enabled and validate the prompt expressions that reference form data. Credential Required: Connect your openAiApi credentials.
  4. Use Expand Parsed Results with Field to Split Out set to message.content.results, then filter in Filter Matching Profiles where ={{ $json.match }} equals true.
  5. Limit output to the best result in Limit Profile Output, then pass to Profile Exists Check to branch for matches vs. no matches.

Step 4: Fetch and Parse Company Results

Scrape company search results and extract the best company record.

  1. Configure Fetch Company Search with URL set to ={{ $json.google_search }} and Format set to json. Credential Required: Connect your brightdataApi credentials.
  2. In Scrape Company Page, set Operation to extractHtmlContent and Data Property Name to body, with extraction values for title and body.
  3. Use Interpret Company Results with JSON Output enabled to return the best company match. Credential Required: Connect your openAiApi credentials.
  4. Split the AI output using Split Company Result with Field to Split Out set to message.content.

Step 5: Merge Data and Generate Follow-Up Content

Combine person and company data to create a personalized follow-up message.

  1. Ensure Profile Exists Check routes matches to Combine Data Streams and non-matches to No Match Response.
  2. Configure Combine Data Streams with Mode set to combine and Combine By set to combineByPosition.
  3. In Generate Followup Content, keep JSON Output enabled and verify the prompt uses {{ JSON.stringify($json)}} to build the HTML report. Credential Required: Connect your openAiApi credentials.

Step 6: Configure Responses and Email Delivery

Send the generated follow-up email and return confirmation to the form user.

  1. In Dispatch Email, set HTML to ={{ $json.message.content.content }}, Subject to Next followup, and replace [YOUR_EMAIL] in To Email and From Email. Credential Required: Connect your smtp credentials.
  2. Configure Completion Confirmation with Completion Title set to Thank you! and Completion Message set to We have sent you an email.
  3. Verify No Match Response returns a message using the response text expression =We didn't found a person for "{{ $('Form Submission Trigger').item.json["Person Fullname"] }} {{ $('Form Submission Trigger').item.json["Person Fullname"] }} {{ $('Form Submission Trigger').item.json["Person's company"] }}".
Tip: If you prefer a different format for the email body, adjust the prompt in Generate Followup Content so the HTML output aligns with your email client requirements.

Step 7: Test and Activate Your Workflow

Validate the end-to-end flow and enable the automation for production.

  1. Click Execute Workflow and submit the form in Form Submission Trigger with a real prospect name and company.
  2. Confirm successful execution: matched profiles pass Profile Exists Check, data merges in Combine Data Streams, and a formatted email is sent via Dispatch Email.
  3. For no matches, verify the form response shows the No Match Response text.
  4. Toggle the workflow to Active to enable live form submissions.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Troubleshooting Tips

  • Bright Data credentials can expire or need specific permissions. If things break, check your Bright Data zone/access settings in your Bright Data dashboard first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Quick Answers

What’s the setup time for this LinkedIn Gmail automation?

About 30 minutes if your credentials are ready.

Is coding required for this prospect research automation?

No. You’ll mostly connect accounts and adjust a couple of prompts and fields.

Is n8n free to use for this LinkedIn Gmail automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Bright Data usage and OpenAI API costs (usually a few cents per run, depending on prompt size).

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I modify this LinkedIn Gmail automation workflow for different use cases?

Yes, and you probably should. You can change the match strictness by adjusting the “Filter Matching Profiles” step and the “Profile Exists Check” logic. The fastest win is editing the “Generate Followup Content” prompt to match your offer, your ICP, and your tone. You can also swap the form trigger for Telegram intake if you want reps to submit prospects from their phone.

Why is my Bright Data connection failing in this workflow?

Usually it’s an invalid token, a disabled zone, or a permission mismatch on the Bright Data side. Regenerate the credentials, then reselect them in the Bright Data nodes inside n8n. If it fails only on some queries, you may be hitting anti-bot blocks or returning a consent page, which means the scraped HTML won’t contain real results. In that case, adjust the Bright Data configuration or add a fallback query format.

What volume can this LinkedIn Gmail automation workflow process?

On a typical n8n Cloud plan, most teams comfortably run hundreds to thousands of these per month, depending on your execution limit. If you self-host, there’s no platform execution cap, but your server and your Bright Data/OpenAI usage become the practical limits. Each prospect is usually one execution, and the heavy part is the scraping + AI parsing, not n8n itself.

Is this LinkedIn Gmail automation better than using Zapier or Make?

Often, yes, because this workflow needs branching, filtering, and a bit of “glue logic” to decide which profile is the right one. n8n also gives you a self-host option, which is nice when volumes climb and you don’t want per-task pricing surprises. Zapier or Make can still work if you simplify the process and accept less control. Honestly, the deciding factor is how picky you need matching to be. Talk to an automation expert if you want help choosing.

Once this is running, prospect research stops being a daily speed bump and starts behaving like infrastructure. The workflow handles the repetitive parts so you can focus on conversations and pipeline.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal