Route Facebook and Google Ads leads to GoHighLevel with The Engine and Slack
Ready for 3.0What this workflow does
This AI workflow has 29 nodes and runs on Facebook Lead Ads events (plus 1 other trigger). Along the way it connects Facebook Lead Ads, Google Sheets, OpenAI Chat Model and HTTP Request and 1 more. It also calls services.leadconnectorhq.com over HTTP.
How it runs
Trigger: On Facebook Lead Ads events (plus 1 other trigger).
- Lead settings (Edit Fields (Set)): sets 15 fields: business_name, business_context, timezone…
- Normalize and validate lead (Code): runs custom JavaScript code
- Has a usable phone or email? (If): checks a condition and branches into true / false
- Qualify lead and draft first message (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (Look up lead history, Read SMS thread (The Engine)); output parser: Qualification schema
- Log rejected lead to ledger (Google Sheets): append
- Apply guardrails and pick route (Code): runs custom JavaScript code
- Fallback rule-based qualification (Code): runs custom JavaScript code
- Slack: uses Slack
- Route by AI verdict (Switch): routes items into 4 branches
- Inside contact hours? (If): checks a condition and branches into true / false
…plus 13 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
HTTP calls to: services.leadconnectorhq.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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (15)
- Facebook Lead Ads Trigger
n8n-nodes-base.facebookLeadAdsTrigger - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Http Request Tool
n8n-nodes-base.httpRequestTool - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Switch
n8n-nodes-base.switch - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - Slack
n8n-nodes-base.slack
From the author
Quick overview Facebook and Google lead forms trigger this workflow. It normalizes and validates leads, flags missing phone numbers, upserts valid contacts into GoHighLevel, sends texts through The Engine, and alerts your team in Slack. The Engine's AI sales…