Back to Portfolio

LinkedIn Leads Automation

AI-Driven B2B Pipeline

n8nOpenAI GPT-4o-miniApify Lusha API (Contact Enrichment)HubSpot CRMMicrosoft Teams (Graph API)

Overview

A fully autonomous, n8n-orchestrated pipeline that discovers high-intent B2B prospects posting on LinkedIn across GCC markets, enriches their contact data, scores and qualifies each lead with an LLM, and delivers ready-to-act sales intelligence directly into Microsoft Teams — with a one-click sync into HubSpot CRM.

In Action

From the automation canvas to the sales rep's inbox: the full pipeline, the Teams approval card it generates, and the dashboard tracking its output.

Automation Pipeline (n8n)
Teams Approval Card
Analytics Dashboard

The Challenge

Sales reps were spending hours manually scrolling LinkedIn for buying-intent signals, and valuable posts in both Arabic and English across five GCC markets were being missed entirely. There was no systematic way to turn a public LinkedIn profile into a working business email or phone number, personalized outreach took 30–60 minutes per lead to research and draft, and CRM hygiene suffered — deals were logged late or never logged at all, with no team-wide visibility into lead status short of manual check-ins.

Engineering Solution & Architecture

The pipeline runs as a scheduled n8n workflow carrying each lead from raw signal to a CRM-synced deal, with a human only in the loop for the final one-click approval:

  • Scheduled bilingual discovery: cron-triggered search queries continuously monitor intent-heavy keywords in both Arabic and English, scoped to LinkedIn post activity across five GCC markets.
  • Deep post extraction: a high-concurrency scraping actor pulls each matched post's full metadata, author identifiers, timestamp, and unaltered text for downstream processing.
  • B2B contact enrichment: a dedicated enrichment API resolves the business email and direct mobile number behind a public LinkedIn identifier — data that isn't on the profile itself.
  • AI scoring & pitch generation: GPT-4o-mini evaluates the lead against qualification criteria, writes out its reasoning, and drafts a personalized HTML outreach email — ready to send as-is.
  • In-Teams delivery with 5 one-click actions: each qualified lead becomes an interactive Microsoft Teams card (via Graph API) with the enriched contact, AI reasoning, and drafted email — and five actions (approve & send, edit destination, edit copy, ignore, or mark connected externally) that fire straight from the card, syncing Contact/Account/Deal records into HubSpot on approval.
  • Tracking ledger & analytics: every lead and every action is logged for de-duplication and status tracking, feeding a dashboard of detected vs. qualified leads, action breakdown, volume trends per market, and CRM conversion — turning the pipeline into a tunable system rather than a black box.

Key Results

Delivered a zero-touch B2B prospecting pipeline running end-to-end without manual searching or drafting — continuously monitoring 5 GCC markets, integrating 7 platforms and APIs, and surfacing 5 one-click sales actions directly inside Microsoft Teams, with a full analytics layer for lead volume, qualification rate, and CRM conversion.