Paid Social Lead Routing
Route leads from LinkedIn Lead Gen Forms and Meta Instant Forms into CRM, enrichment, and email nurture automatically
npx gtm-skills add drill/paid-social-lead-routingWhat this drill teaches
Paid Social Lead Routing
This drill automates the journey from "prospect filled out a lead form on LinkedIn/Meta" to "lead is enriched, scored, in CRM, and receiving a nurture email" — all within 5 minutes of submission. Speed matters: leads contacted within 5 minutes convert 9x better than those contacted after 30 minutes.
Prerequisites
- LinkedIn Lead Gen Forms live (see
linkedin-ads-lead-gen-formsfundamental) - Meta Instant Forms live (see
meta-ads-lead-formsfundamental) - n8n instance running
- Attio CRM configured with a "Paid Social" lead source tag
- Clay account for enrichment
- Loops account with a nurture sequence ready
Input
- Lead form submissions from LinkedIn and Meta
- ICP scoring criteria (from
icp-definitiondrill) - Nurture email sequence content (educational, not sales — matches the problem-aware stage)
Steps
1. Build the LinkedIn lead ingestion workflow
Using the n8n-triggers and n8n-workflow-basics fundamentals, create an n8n workflow:
- Trigger: Schedule node polling LinkedIn Lead Gen API every 15 minutes (or webhook if available)
- Use
linkedin-ads-lead-gen-formsfundamental for the API call - Store the last-polled timestamp to only fetch new submissions
- Use
- Extract fields: Parse the lead response: first_name, last_name, email, job_title, company_name, company_size
- Deduplicate: Check if email already exists in Attio using
attio-contacts- If exists: update the contact with
lead_source: paid-social-linkedinand add a note with the form name and submission date - If new: proceed to enrichment
- If exists: update the contact with
- Enrich: Send to Clay using
clay-enrichment-waterfallto fill in: LinkedIn URL, company revenue, funding stage, tech stack, and any other ICP-relevant fields - Score: Apply ICP scoring using
clay-scoring. Assign a lead_score (1-100) - Create in Attio: Using
attio-contacts, create the contact with all enriched fields. Tag withsource: paid-social-linkedin,campaign: <campaign-name>,lead_score: <score> - Create deal: If lead_score >= 70 (ICP match), create a deal in Attio using
attio-dealswith stage "New Lead" - Trigger nurture: Add to Loops using
loops-sequences. If lead_score >= 70: send the "high-intent nurture" sequence. If lead_score < 70: send the "educational nurture" sequence.
2. Build the Meta lead ingestion workflow
Same structure as LinkedIn, but with Meta-specific ingestion:
- Trigger: Subscribe to Meta
leadgenwebhook events on your Facebook Page. As a fallback, poll the Leads API every 15 minutes. - Extract fields: Parse form submission: full_name, email, job_title, company_name
- Steps 3-8: Identical to LinkedIn workflow above. Tag with
source: paid-social-metainstead.
3. Build the high-value lead alert
For leads scoring >= 80 (strong ICP match):
- Send a Slack notification (or email) to the sales team with: name, company, title, lead score, which ad they responded to, and the form they filled out
- Create a task in Attio to follow up within 24 hours
- If you have Cal.com configured, include a suggested meeting link in the alert
4. Build the nurture email sequences in Loops
Using the loops-sequences fundamental, create two sequences:
High-intent sequence (lead_score >= 70):
- Email 1 (immediate): Deliver the promised resource (guide, checklist, etc.). Subject: "Here's your [resource name]"
- Email 2 (day 3): Share a related customer story. "How [company] solved [same problem]"
- Email 3 (day 7): Offer a conversation. "Want to discuss your specific [problem area]? Here's my calendar."
- Email 4 (day 14): Last touch. Share one more relevant resource. No hard sell.
Educational sequence (lead_score < 70):
- Email 1 (immediate): Deliver the resource.
- Email 2 (day 5): Share a related blog post or data point.
- Email 3 (day 12): Invite to a webinar or community.
- No sales ask. These leads may not be ICP. Nurture with value and let them self-select.
5. Set up lead quality feedback loop
Build an n8n workflow that runs weekly:
- Pull all paid social leads created in the last 7 days from Attio
- Check which ones progressed to "Meeting Booked" or "Qualified" stage
- Calculate: leads submitted, leads enriched, leads scored >= 70, leads that booked meetings
- Log these metrics as PostHog events:
paid_social_lead_quality_weekly - If meeting rate from scored leads drops below 10%, trigger an alert to review audience targeting
6. Handle edge cases
- Invalid emails: If Clay enrichment returns an invalid email, tag the lead as "unverifiable" in Attio and skip the Loops sequence
- Duplicate across platforms: If the same person submits forms on both LinkedIn and Meta, merge into one Attio contact and attribute to the first touchpoint
- Form spam: If more than 5 leads from the same IP or domain in 1 hour, flag for manual review before CRM creation
Output
- n8n workflow: LinkedIn lead ingestion (polling + enrichment + CRM + nurture)
- n8n workflow: Meta lead ingestion (webhook + enrichment + CRM + nurture)
- n8n workflow: High-value lead alert to sales
- n8n workflow: Weekly lead quality report
- Two Loops nurture sequences (high-intent and educational)
- PostHog events for lead quality tracking
Triggers
- LinkedIn workflow: every 15 minutes
- Meta workflow: real-time via webhook, fallback poll every 15 minutes
- Lead quality report: weekly on Monday morning
Related Fundamentals
- Build Basic n8n Workflows
- Configure n8n Triggers
- Integrate n8n with Your CRM
- Integrate n8n with Email Tools
- Manage Contacts in Attio
- Manage Deals in Attio
- Configure Clay Enrichment Waterfalls
- Score Leads in Clay
- Create Automated Sequences in Loops
- Create LinkedIn Lead Gen Forms
- Create Meta Lead Ads (Instant Forms)