Automated n8n Lead Generation & Outreach Agent

Job ID: 39877895

Budget: $30 – $250 USD

Project: Build Automated Lead Generator Agent on n8n

Objective
Develop a fully automated Lead Generation & Outreach Agent on n8n, that connects to data enrichment tools (Apollo, Lusha, etc.), collects potential client contacts (B2G & B2B), stores them in Google Sheets, and automatically sends introduction messages through WhatsApp Cloud API, Email, or LinkedIn InMail.
The system should monitor engagement (delivered / read / opened / replied), notify me via WhatsApp if there’s no reply after 48 hours, and update all activity logs in a database or CRM.

The goal is to create a scalable outbound automation system tailored for Managed Services (Cybersecurity provider) — focusing on government and enterprise accounts


The workflow will include 9 modular workflows on n8n, fully automated and interconnected through database triggers, Google Sheets, and webhooks.
Workflows Required
WF-01 | Lead Sourcing
Integrate Apollo API, Lusha API, and optional sources (ZoomInfo, LinkedIn SalesNav Export).
Normalize and deduplicate leads.
Write to two Google Sheets:
• Sheet_B2G → Government leads
• Sheet_B2B → Business leads
Optional mirror insert into Supabase / Postgres DB.
WF-02 | List Watcher

Trigger whenever a new row is added in either Google Sheet.

Map the lead fields (Name, Title, Organization, Email, Phone, LinkedIn).

Assign channel strategy (WhatsApp / Email / LinkedIn).

Insert into a database queue for processing.

WF-03 | Outreach Orchestrator

Cron-based trigger (e.g., every 10 minutes).

Fetch queued leads from DB.

Generate unique shortlink token for profile/PDF.

Send message via:

WhatsApp Cloud API (approved template message)

Email (SendGrid or AWS SES)

LinkedIn InMail (optional/manual assist)

Log every attempt (timestamp, status, message_id).

WF-04 | WhatsApp Webhook

Public webhook endpoint for Meta events.

Validate signature (X-Hub-Signature-256).

Handle delivery, read, and message reply events.

Update DB accordingly.

Send WhatsApp alert to me (sales owner) on replies.

WF-05 | Email Webhook

Webhook endpoint for SendGrid/SES event notifications.

Capture open, click, bounce, and reply events.

Update outreach logs and engagement tables.

WF-06 | Reminder & Escalation

Run daily (e.g., 9:00 AM).

Query all leads with “no reply” after 48 hours.

Send automated WhatsApp alert to my number summarizing the lead info (Name, Org, Channel, Status).

Create a task in CRM for follow-up.

WF-07 | CRM Sync

Two-way sync with Supabase / Notion / HubSpot.

Upsert lead details, messages, and activities.

Optional export for reporting dashboards.

WF-08 | Link Tracking

Shortlink redirect service on endpoint /r/:token.

Lookup token → log click → redirect (302) to PDF or wa.me link.

Store click events in DB for analytics.

WF-09 | Error & Rate-Limit Guard

Handle 429/5xx responses (API rate limit / failures).

Implement retry with exponential backoff.

Log errors to DB + Slack/WhatsApp alert for recurring issues.
Tech Stack
n8n (self-hosted)
Google Sheets API
Supabase / PostgreSQL (for storage)
Apollo API / Lusha API
SendGrid / AWS SES
WhatsApp Cloud API (via Meta for Business)
Optional: Notion / HubSpot CRM Integration
Tracking: Shortlink service + Webhook events
Alerts: WhatsApp notification via Cloud API