Templates / Upwork lead generation: Extract client emails with LinkedIn scraping and AI

Upwork lead generation: Extract client emails with LinkedIn scraping and AI

Needs changes

by Yaron Been ✓ · 8,334 views · created 2025-06-08 · Lead Generation, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 15 nodes and runs on a schedule (every hour). Along the way it connects OpenAI Chat Model and Google Sheets. It also calls api.apify.com and api.phantombuster.com over HTTP.

How it runs

Trigger: On a schedule (every hour).

  1. Fetch Latest Upwork Jobs (Apify) (HTTP Request): calls api.apify.com
  2. Extract Company or Person Name from Job (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  3. Name is Found? (If): checks a condition and branches into true / false
  4. Is It a Person or Company? (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  5. Person or Company? (If): checks a condition and branches into true / false
  6. Search LinkedIn for Company (Phantombuster) (HTTP Request): calls api.phantombuster.com (POST)
  7. Search LinkedIn for Person (Phantombuster) (HTTP Request): calls api.phantombuster.com (POST)
  8. Scrape LinkedIn Company Profile (HTTP Request): calls api.phantombuster.com (POST)
  9. Scrape LinkedIn Person Profile (HTTP Request): calls api.phantombuster.com (POST)
  10. Find Company Email (Hunter.io) (HTTP Request): calls an HTTP API

…plus 2 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelGoogle Sheets

HTTP calls to: api.apify.com, api.phantombuster.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Extract Company or Person Name from Job (v1.9), Is It a Person or Company? (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Extract Company or Person Name from Job (v1.9), Is It a Person or Company? (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (7)

From the author

Automated solution to extract and organize contact information from Upwork job postings, enabling direct outreach to potential clients who post jobs matching your expertise. 🚀 What It Does - Scrapes job postings for contact information - Extracts email…

Excerpt from Yaron Been's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.