Templates / Route Facebook and Google Ads leads to GoHighLevel with The Engine and Slack

Route Facebook and Google Ads leads to GoHighLevel with The Engine and Slack

Ready for 3.0

by The Engine · 2 views · created 2026-11-16 · Lead Generation, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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).

  1. Lead settings (Edit Fields (Set)): sets 15 fields: business_name, business_context, timezone…
  2. Normalize and validate lead (Code): runs custom JavaScript code
  3. Has a usable phone or email? (If): checks a condition and branches into true / false
  4. 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
  5. Log rejected lead to ledger (Google Sheets): append
  6. Apply guardrails and pick route (Code): runs custom JavaScript code
  7. Fallback rule-based qualification (Code): runs custom JavaScript code
  8. Slack: uses Slack
  9. Route by AI verdict (Switch): routes items into 4 branches
  10. 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

Facebook Lead AdsGoogle SheetsOpenAI Chat ModelHTTP RequestSlack

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (15)

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…

Excerpt from The Engine's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.