Skip to main content

Enrich LinkedIn leads with Aimfox, Apify, OpenAI and Airtable

Workflow preview

Workflow preview
100%
Enrich LinkedIn leads with Aimfox, Apify, OpenAI and Airtable preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow listens for Aimfox webhooks when a LinkedIn connection request is accepted, notifies a Slack channel, creates and enriches a lead in Airtable using Apify scrapers for p...

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.slack, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.airtable, @apify/n8n-nodes-apify.apify, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.httprequest, n8n-nodes-base.markdown

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by n8n Lab.

Original n8n.io source

1.1 Workflow description

Title
Enrich LinkedIn leads with Aimfox, Apify, OpenAI and Airtable
Workflow name
Enrich LinkedIn leads with Aimfox, Apify, OpenAI and Airtable

Quick Overview

This workflow listens for Aimfox webhooks when a LinkedIn connection request is accepted, notifies a Slack channel, creates and enriches a lead in Airtable using Apify scrapers for profile/company data and website content, and uses OpenAI to generate a lead rating, outreach angles, and hooks.

How it works

  1. Receives a webhook from Aimfox when a lead accepts a LinkedIn connection request.
  2. Extracts the lead, campaign, and LinkedIn profile identifier from the webhook payload and posts a notification to Slack.
  3. Creates a new lead record in Airtable with the lead’s name, campaign, date, and LinkedIn profile URL.
  4. Uses Apify to scrape the lead’s LinkedIn profile details, the most recent lead post, the lead’s company details, and the most recent company post.
  5. Downloads the company website with an HTTP request and converts the HTML content to Markdown for easier analysis.
  6. Sends the aggregated lead, company, posts, and website data to OpenAI to produce a structured lead rating, automation outreach angles, and outreach hooks.
  7. Updates the Airtable record with the scraped enrichment fields and the OpenAI-generated insights, and sets the lead status to “not contacted”.

Setup

  1. In Aimfox, configure the “accepted connection request” webhook to point to this workflow’s webhook URL.
  2. Add credentials for Slack, Airtable (Personal Access Token), Apify, and OpenAI.
  3. Update the Slack channel target and the Airtable base/table to match your workspace, and ensure the table contains fields that match the workflow’s mapped columns (for example Headline, About, Company Website, Hooks, and Icp match).

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Send a message

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 2 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - OpenAI Model - Parser2

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 4 - Create a record

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 5 - lead

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 6 - leads post

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 7 - company

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 8 - company post

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 9 - Update record

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 10 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 11 - Scrape website

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 12 - Convert to Markdown

Type / Role
n8n-nodes-base.markdown - markdown
Config choices
Version 1

Block 13 - Aimfox - Lead accepted connection request

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 14 - prepare all data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 15 - Generate rating, hooks and outreach angles

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 16 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Enrich LinkedIn leads with Aimfox, Apify, OpenAI and Airtable
Complexity advanced
Nodes 21
Categories Lead Generation, AI Summarization
Author n8n Lab
Published 11 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16282/16282.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Enrich LinkedIn leads with Aimfox, Apify, OpenAI and Airtable do?

Quick Overview This workflow listens for Aimfox webhooks when a LinkedIn connection request is accepted, notifies a Slack channel, creates and enriches a lead in Airtable using Apify scrapers for p...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.