🔓 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 Airtable, richer leads with OpenAI

Lisa Granqvist Partner Workflow Automation Expert

Your CRM is full of “leads” that are basically just a company name and a LinkedIn link. Then outreach day arrives, and you’re stuck opening tabs, scanning pages, copy-pasting notes, and still sending emails that sound like guesswork.

This is where LinkedIn lead enrichment gets real. Sales reps feel it first, but a marketing manager building sequences and an agency owner running outbound for clients deal with the same messy inputs.

This workflow takes a LinkedIn company URL in Airtable, pulls the page, has OpenAI turn it into usable company intel, and writes back 15+ personalization fields you can drop straight into templates. You’ll see exactly how it works, what you need, and what to watch out for.

How This Automation Works

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

n8n Workflow Template: LinkedIn to Airtable, richer leads with OpenAI

Why This Matters: Personalization Breaks at Scale

Personalized outreach sounds simple until you have more than a handful of leads. You click into LinkedIn, scroll for the “About” section, hunt for products, skim recent posts, then try to turn that into one clean sentence for an email opener. Multiply that by 20 leads and you’ve lost the morning. Worse, your notes are inconsistent because you wrote them tired, in a rush, and across five different tabs. A week later, nobody remembers what “B2B analytics, maybe Series A?” was supposed to mean.

It adds up fast. Here’s where it breaks down in day-to-day prospecting.

  • Manual research turns into “good enough” research, so your openers get vague and response rates suffer.
  • People capture different details in different formats, which makes CRM fields impossible to filter or segment later.
  • Copy-paste mistakes slip in (wrong company, wrong product line), and it’s frankly hard to catch once it’s in the sequence.
  • Even when you do the work, it lives in someone’s notes instead of becoming reusable data for the whole team.

What You’ll Build: LinkedIn → Airtable Enrichment With AI

This workflow starts with a lead record in Airtable that contains a LinkedIn company URL. When the workflow runs (typically on a new record trigger, a webhook, or a schedule), it pulls that Airtable record, fetches the LinkedIn company page via HTTP, and converts the raw page HTML into clean text. Then OpenAI analyzes the content to extract structured company intelligence such as what the company does, what it sells, and what it’s been posting about recently. Finally, the workflow generates email-ready personalization variables (15+ fields) and writes them back into Airtable so your team can use them immediately in outreach, segmentation, and scoring.

The workflow begins with Airtable as the source of truth. HTTP Request grabs the LinkedIn page content, a cleaning step strips it down into readable text, and the OpenAI steps turn that into consistent fields. Airtable gets updated at the end, so your CRM stays tidy.

What You’re Building

Expected Results

Say you enrich 25 new leads a week. Manually, it’s usually about 10 minutes per company to open LinkedIn, skim, write notes, and paste them into Airtable, which is roughly 4 hours of work. With this workflow, you add the LinkedIn URL once, then spend about 1 minute per lead sanity-checking the generated fields before using them in email templates. That’s about 3 hours back each week, plus far fewer “who is this company again?” moments.

Before You Start

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Airtable for your leads table and enrichment fields.
  • LinkedIn company URLs stored in a dedicated Airtable field.
  • OpenAI API key (get it from the OpenAI dashboard under API keys).

Skill level: Beginner. You’ll connect Airtable and OpenAI, then map a few fields.

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

Step by Step

A lead appears in Airtable with a LinkedIn URL. You can run this when a new record is created, on a daily schedule, or by webhook if you want to push leads in from another tool.

The workflow pulls the LinkedIn company page content. n8n uses an HTTP Request step to fetch the page behind that company link, which gives you raw HTML rather than clean text.

The HTML is cleaned, then OpenAI extracts the useful parts. The cleaning step strips tags and reduces noise so the model can focus on what matters: company overview, offerings, positioning, and any recent signals visible on the page.

Email-ready personalization fields get generated and written back. Airtable is updated with structured variables (15+), so your outreach templates can reference consistent fields instead of freeform notes.

You can easily modify the output fields to match your exact Airtable schema and outreach style. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Trigger

This workflow does not include a trigger node in the provided JSON, so you must add one to start the lead enrichment process.

  1. Add a trigger node that matches your CRM workflow needs (for example, a manual trigger or a webhook trigger).
  2. Ensure the trigger outputs a recordId field, since Retrieve CRM Lead uses {{ $json.recordId }} for lookup.
  3. Connect the trigger output to Retrieve CRM Lead.

Step 2: Connect Airtable CRM Data

These steps fetch the CRM lead record and later update the enriched fields.

  1. Open Retrieve CRM Lead and set Base to YOUR_AIRTABLE_BASE_ID and Table to YOUR_TABLE_ID.
  2. Set Record ID to {{ $json.recordId }}.
  3. Credential Required: Connect your Airtable credentials (this node needs credentials but none are configured).
  4. Open Write Enriched CRM Fields and set Base to YOUR_AIRTABLE_BASE_ID and Table to YOUR_TABLE_ID.
  5. Set Operation to update and confirm Columns → id uses {{ $('Retrieve CRM Lead').first().json.id }}.
  6. Ensure Date Lead Enriched is set to {{ new Date().toISOString().split('T')[0] }} and Lead Status is Cold.
  7. Credential Required: Connect your Airtable credentials (this node needs credentials but none are configured).

Step 3: Set Up LinkedIn Data Retrieval and Cleaning

This stage pulls the LinkedIn company page and converts it to plain text for AI processing.

  1. In Pull LinkedIn Company Page, set URL to {{ $json['LinkedIn Organization URL'] }}.
  2. If your LinkedIn page requires authentication or headers, configure them in Pull LinkedIn Company Page under Options.
  3. Review Strip HTML to Text and keep Mode as runOnceForEachItem.
  4. Confirm the JavaScript in Strip HTML to Text uses $node["Pull LinkedIn Company Page"].json["data"] and returns plainText.

Strip HTML to Text outputs to AI Company Insight Review, ensuring the AI receives clean text.

Step 4: Configure AI Analysis and Email Variable Extraction

The AI steps analyze the company profile and extract email-ready variables for CRM updates.

  1. Open AI Company Insight Review and confirm Model is gpt-4o-mini with JSON Output enabled.
  2. Verify the input message uses Input: {{ $json.plainText }} in the prompt.
  3. Credential Required: Connect your OpenAI credentials (this node needs credentials but none are configured).
  4. Open Build Email Variables and confirm Model is gpt-4o-mini with JSON Output enabled.
  5. Ensure the prompt references the AI response via Input: {{ $json.message.content }} and includes the date {{ $now }}.
  6. Credential Required: Connect your OpenAI credentials (this node needs credentials but none are configured).

Pull LinkedIn Company Page outputs to Strip HTML to Text, which outputs to AI Company Insight Review, and then to Build Email Variables before updating Airtable.

Step 5: Configure Output to Update CRM Fields

This step writes the enriched data back to your CRM record in Airtable.

  1. In Write Enriched CRM Fields, confirm Columns → LinkedIn Company is mapped to the AI output (it is currently set to =, so replace it with the correct expression or field from Build Email Variables).
  2. Verify Start Lead Enrichment is set to false if you want to prevent reprocessing.

⚠️ Common Pitfall: The LinkedIn Company field in Write Enriched CRM Fields is currently a placeholder. Map it to the AI output you want to store, otherwise the field will not update correctly.

Step 6: Test and Activate Your Workflow

Run a full test to validate data flow from Airtable to AI and back into Airtable.

  1. Click Execute Workflow and provide a sample recordId in your trigger output.
  2. Confirm Retrieve CRM Lead returns the correct lead and Pull LinkedIn Company Page retrieves HTML content.
  3. Verify Strip HTML to Text outputs plainText and both AI nodes return JSON outputs.
  4. Check Write Enriched CRM Fields updates the Airtable record with the new values and date.
  5. Once confirmed, toggle the workflow to Active for production use.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Troubleshooting Tips

  • Airtable credentials can expire or the token might not have access to the right base. If updates stop writing, check your Airtable personal access token permissions and the Base/Table IDs first.
  • LinkedIn pages can return blocked or limited HTML depending on how the request is made. If your HTTP Request output suddenly looks empty, review the response status and headers in the HTTP Request node execution.
  • OpenAI prompts that are too generic will produce “fluffy” enrichment. Bake your brand voice and your ideal customer criteria into the AI steps early, or you will be editing outputs forever.

Quick Answers

What’s the setup time for this LinkedIn lead enrichment automation?

About 20 minutes if your Airtable table is already set up.

Is coding required for this lead enrichment outcome?

No. You will connect Airtable and OpenAI, then map the fields you want to write back.

Is n8n free to use for this LinkedIn lead enrichment 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 OpenAI API costs, which are usually a few cents per enriched lead depending on the model and 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 lead enrichment workflow for different use cases?

Yes, and you should. The easiest changes happen in the two OpenAI steps (“AI Company Insight Review” and “Build Email Variables”), where you control what gets extracted and how it’s phrased. Many teams add a “best-fit ICP” field, a short one-line opener, and a “red flags” field for disqualifying signals. If your CRM schema is different, you simply remap the final Airtable update step (“Write Enriched CRM Fields”) to your own column names.

Why is my Airtable connection failing in this workflow?

Usually it’s a permissions issue on the personal access token, or the Base/Table ID is wrong. Double-check the Airtable credentials in n8n, then confirm the leads table still has the LinkedIn URL field name you mapped. If the workflow can read but not write, your token likely lacks edit access for that base.

What volume can this LinkedIn lead enrichment workflow process?

Most teams run hundreds of leads a week without issue, and the real limit is your n8n plan and how fast the LinkedIn fetch + OpenAI steps return. On n8n Cloud Starter you can run a healthy volume of executions each month, and higher plans handle more. If you self-host, there’s no execution cap, but your server still needs enough memory and CPU. If you process big lists, consider batching so you don’t hit rate limits on HTTP requests or OpenAI.

Is this LinkedIn lead enrichment automation better than using Zapier or Make?

Often, yes, especially once you care about text cleaning and multi-step AI processing. n8n makes it easier to fetch raw HTML, transform it, and run two separate AI passes (one for structured insight, one for email variables) without duct-taping steps together. It’s also flexible with branching and retries, which matters when a LinkedIn page fetch fails and you want a safe fallback. Zapier or Make can be quicker for simple “Airtable in, Airtable out” zaps, but they get awkward when you need tighter control over data shaping. Talk to an automation expert if you want a quick recommendation for your exact stack.

Once this is running, enrichment stops being a “research task” and becomes background infrastructure. Your Airtable stays current, your outreach gets sharper, and you get your week back in little chunks.

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