欢迎使用 FlowZap,快速、清晰、掌控的绘图应用。

Lead capture → CRM → notify → log (Webhook → HubSpot → Slack → Sheets)

An n8n workflow automation that captures incoming leads via Webhook, enriches contact data through Clearbit API, and creates or updates HubSpot CRM contacts. The pipeline includes IF-based email validation, real-time Slack notifications to the sales channel, a welcome email via Gmail, and a Google Sheets audit log for full lead tracking and reporting.

完整 FlowZap 代码

intake { # Intake
n1: rectangle label:"Webhook - Lead Submitted" system:"n8n"
n2: rectangle label:"Code - Normalize fields (name/email/company)" system:"n8n"
n1.handle(right) -> n2.handle(left) [label="Raw payload"]
}

enrichment { # Enrichment
n3: rectangle label:"HTTP Request - Enrich company domain (Clearbit/API)" system:"API"
n4: diamond label:"IF: Email + domain valid?" system:"n8n"
n2.handle(bottom) -> enrichment.n3.handle(top) [label="Normalized lead"]
n3.handle(right) -> n4.handle(left) [label="Enrichment result"]
}

crm { # CRM
n5: rectangle label:"HubSpot - Create/Update Contact" system:"HubSpot"
n6: rectangle label:"Google Sheets - Append Row (Leads Log)" system:"Google Sheets"
n4.handle(right) -> crm.n5.handle(left) [label="Yes"]
n5.handle(bottom) -> crm.n6.handle(top) [label="Audit log"]
}

notify { # Notify
n7: rectangle label:"Slack - Post Message (#sales)" system:"Slack"
n8: rectangle label:"Gmail - Send Welcome Email" system:"Gmail"
n5.handle(right) -> notify.n7.handle(left) [label="New contact"]
n7.handle(bottom) -> notify.n8.handle(top) [label="Send intro"]
n4.handle(bottom) -> notify.n7.handle(top) [label="No → Needs review"]
}

使用我们的 n8n 可视化工具 可视化您当前的 n8n JSON

相关模板

返回所有示例