⚡ n8n workflow · v2.0 · production ready

Jobs Scraper
Email + WhatsApp

Scrapes hiring emails & phone numbers from LinkedIn, Indeed, and Naukri job listings — then fires personalized outreach automatically via Gmail + Twilio WhatsApp.

3Platforms
16Nodes
150+Jobs / Run
2Channels
30Max Outreach Cap
Platforms Scraped
💼

LinkedIn

Guest jobs API · 3 pages × 25 = 75 jobs · Easy Apply detection

🔍

Indeed

Search HTML · 3 pages × 15 = 45 jobs · data-jk job keys

🇮🇳

Naukri

JSON-LD data · 3 pages × 20 = 60 jobs · Indian phone extraction

📧

Gmail

OAuth2 · Personalized templates · Per-company subject lines

💬

Twilio WhatsApp

Fully automated · Sandbox or production · Indian numbers +91

Complete Pipeline Flow (16 Nodes)
▶
Trigger
(Manual/Sched)
Start or
every 12h
→
⚙
Config
Settings
Keywords +
templates
→
📋
Gen Scrape
Tasks
LI + Indeed
+ Naukri
→
🔗
Build
URLs
Per-platform
URL logic
→
🌐
HTTP
Scrape
Retry 3×
full headers
→
{ }
Parse
Cards
All 3
platforms
→
⫿
Split
Batches
5 jobs
at a time
→
⏱
Rate
Limit
1.5s delay
anti-block
→
🔎
HTTP
Detail
Full job
page HTML
→
📧📱
Extract
Email+Phone
Regex +
score
→
🔀
Dedup +
Filter
Global
dedup
→
⇀
Route
Channel
Email vs
WhatsApp
→
📨
Send
Gmail
email output
📲
WhatsApp
Twilio
phone output
→
📊
Log
Results
Per-job
status
→
📈
Summary
Report
Final
stats
Node Configurations
01
⚙️ Config — Keywords, Templates, Limits
CODE ▼
This is the ONLY node you edit. Set your keywords, location, message templates, and sender info here. Everything else runs automatically.
const config = { keywords: "AI Automation Engineer", // ← your job title location: "India", linkedInPages: 3, // × 25 jobs indeedPages: 3, // × 15 jobs naukriPages: 3, // × 20 jobs senderName: "Manpreet Singh", senderEmail: "manpreet@gmail.com", senderPhone: "919876543210", // with country code resumeUrl: "https://yoursite.com/resume.pdf", maxContactsPerRun: 30, coverLetterTone: "professional", emailSubject: "Application for {title} at {company}", emailBody: `Hi {hiringManager}, I came across the {title} opening at {company}...`, whatsappMsg: `Hello! 👋 I saw the *{title}* at *{company}*...` };
{title} {company} {hiringManager} {resumeUrl} {senderName} {senderEmail}
04
🌐 HTTP — Scrape Job Listing Page
HTTP REQUEST ▼
All 3 platforms use this single node. The URL is dynamically built by the URL Builder node before this.
SettingValue
URL={{ $json.scrapeUrl }}
Response Formattext
Retry On Fail✓ 3×, 2500ms wait
Continue On Fail✓ enabled
Timeout35000ms
HeaderValue
User-AgentMozilla/5.0 Chrome/122 Windows NT 10.0
Accepttext/html,application/xhtml+xml,*/*;q=0.8
Accept-Languageen-IN,en-US;q=0.9,en;q=0.8
Refererhttps://www.google.com/
sec-fetch-modenavigate
sec-fetch-sitenone
05
📋 Parse Job Cards (LinkedIn + Indeed + Naukri)
CODE ▼
Three separate parsing strategies inside one node. Platform is detected from $json.platform set by the URL builder.
PlatformJob ID PatternTitle Pattern
LinkedIndata-entity-urn="urn:li:jobPosting:(\d+)"span.title innerText
Indeeddata-jk="([a-z0-9]+)"class="jobTitle" span/a
Naukri"jobId":"([^"]+)" JSON-LD"title":"([^"]+)"
09
📧📱 Extract Emails + Phone Numbers
CODE ▼
The core extraction engine. Runs on every job detail page from all 3 platforms. Scores emails by business vs personal domain and hiring-pattern prefixes.
// Email regex /[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,7}/g // Indian phone regex (also captures intl) /(?:\+91[\-\s]?|0)?[6-9]\d{9}|(?:\+\d{1,3}[\-\s]?)?\d{8,15}/g // Format for WhatsApp (+91XXXXXXXXXX) if (phone.length === 10 && /^[6-9]/.test(phone)) whatsapp = `91${phone}`; // Scoring: business domain +20, name pattern +20, in JD +10 // HR/hiring prefix +15, caps at 100

Blocked Domains (auto-filtered)

linkedin.com indeed.com naukri.com google.com schema.org sentry.io
12
📨 Send Email via Gmail
GMAIL NODE ▼
Uses n8n's native Gmail node. Requires Gmail OAuth2 credential. Subject and body are pre-populated from the Config node templates.
FieldValue
To={{ $json.best_email }}
Subject={{ $json.personalized_subject }}
Body={{ $json.personalized_email }}
Reply-To={{ $json.sender_email }}
Credential TypegmailOAuth2
Continue On Fail✓ enabled
Add credential: Settings → Credentials → Gmail OAuth2 → Connect your Google account. Then select it in this node.
13
📲 WhatsApp via Twilio (Fully Automated)
TWILIO NODE ▼
Two WhatsApp options are included in the workflow. Use Twilio for full automation. Use the wa.me HTTP node for manual/semi-automated flow.
OptionNodeSetup
Fully AutoTwilio nodeTwilio account + WhatsApp Sandbox ($0.005/msg)
Semi-AutoHTTP wa.me linkNo API — generates link, opens WhatsApp Web
Twilio FieldValue
Fromwhatsapp:+14155238886 (Sandbox)
To=whatsapp:+{{ $json.best_phone }}
Body={{ $json.personalized_whatsapp }}
CredentialtwilioApi
15
📈 Final Summary Report
CODE ▼
{ "summary": { "total_contacted": 22, "emails_sent": 14, "whatsapp_sent": 11, "failed": 2, "by_platform": { "linkedin": 9, "indeed": 7, "naukri": 6 } }, "contacted_jobs": [ { "title": "AI Automation Engineer", "company": "TechCorp India", "platform": "naukri", "channel": "email+whatsapp", "email": "hr@techcorp.in", "phone": "919876543210" } ], "run_at": "2026-03-21T10:00:00.000Z" }
Setup Checklist (5 Steps)
1

Import Workflow

In n8n: Settings → Import Workflow → paste the JSON file. All 16 nodes will appear pre-wired.

2

Edit Config Node

Open the ⚙️ Config node and set your keywords, location, senderName, senderEmail, resumeUrl.

3

Connect Gmail

Add Gmail OAuth2 credential in Settings → Credentials. Select it in the 📨 Gmail node. Test with 1 send first.

4

Connect Twilio WhatsApp

Create a Twilio account → enable WhatsApp Sandbox → add twilioApi credential in n8n. Update the "From" number if using production.

5

Test Run (1 job)

Set maxContactsPerRun: 1 and linkedInPages: 1 to test. Check the Summary Report node output. Then scale up.

6

Schedule It

Activate the ⏰ Schedule Trigger (every 12h) for fully automated daily outreach. Disable Manual Trigger to avoid double runs.

Important Notes
403 / Blocked? Increase delayMs to 3000. Add a residential proxy in the HTTP node's proxy settings. Rotate User-Agent strings.
Naukri Parsing Naukri's HTML structure changes frequently. If jobs aren't parsing, inspect the HTML in a test run and update the regex patterns in Node 5.
WhatsApp Limits Twilio Sandbox: 1 message per verified number (dev). Production WhatsApp Business API: no limits. Move to production for scale.
Legal Note Only send to publicly listed hiring contact emails/phones. Do not scrape personal data. Comply with India's DPDP Act and CAN-SPAM for emails.