Log Meta lead ads to Google Sheets with Slack alerts and repeat checks
Ready for 3.0What this workflow does
This workflow has 8 nodes and runs on Facebook Lead Ads events (new lead). Along the way it connects Facebook Lead Ads, Google Sheets and Slack.
How it runs
Trigger: On Facebook Lead Ads events (new lead).
- Settings (Edit Fields (Set)): sets 5 fields: leadsSheetUrl, slackChannel, duplicateWindowDays…
- Normalise Lead Fields (Code): runs custom JavaScript code
- Read Recent Leads (Google Sheets): read (sheet)
- Check For Repeats (Code): runs custom JavaScript code
- Log The Lead (Google Sheets): append (sheet)
- Should I Alert? (If): checks a condition and branches into true / false
- Alert The Team In Slack (Slack): post (message)
Services it uses
Other Google Sheets + Slack templates (1,314) · Other Facebook Lead Ads + Google Sheets templates (7) · Other Facebook Lead Ads + Slack templates (7)
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 (6)
- Facebook Lead Ads Trigger
n8n-nodes-base.facebookLeadAdsTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack
From the author
Quick overview I log every Facebook and Instagram lead form submission to a Google Sheet the moment it arrives, tidy the name, email and phone, mark test leads and repeat leads, and ping Slack for each genuinely new one so someone rings while the lead is…