Automated B2B lead management and AI outreach
Ready for 3.0What this workflow does
This AI workflow has 105 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model, Postgres and Slack. It also calls jsonplaceholder.typicode.com and hooks.slack.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Load Test Leads (Code): runs custom JavaScript code
- Validate Email Format (Code): runs custom JavaScript code
- Check Suppression List (Code): runs custom JavaScript code
- Check if Invalid or Suppressed (If): checks a condition and branches into true / false
- Log Invalid Lead Event (Postgres): uses Postgres
- Enrich Lead via HTTP (HTTP Request): calls jsonplaceholder.typicode.com
- Aggregate: combines items into one
- Check Enrichment Success (If): checks a condition and branches into true / false
- Aggregate by Lead Score (Code): runs custom JavaScript code
- Parse Enrichment Response (Code): runs custom JavaScript code
…plus 86 more steps. See the full node list below.
Services it uses
HTTP calls to: jsonplaceholder.typicode.com, hooks.slack.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (13)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Send Email
n8n-nodes-base.emailSend - Postgres
n8n-nodes-base.postgres - Switch
n8n-nodes-base.switch - Aggregate
n8n-nodes-base.aggregate - Slack
n8n-nodes-base.slack
From the author
This workflow is a comprehensive, production-grade automation for B2B lead management and multichannel outreach, designed for Sales Development Representatives (SDRs), growth teams, and sales operations. It covers the entire SDR pipeline: from lead ingestion…