workflows.fit
Back to n8n workflows
n8n templateFreeBy vinci-king-01

Score and route qualified leads to Notion and Matrix

Lead Scoring Pipeline – Matrix + Notion This workflow automatically enriches incoming form leads, applies a customizable scoring model, then routes high-value prospects to a Notion CRM database and a Matrix channel fo...

DevelopmentCore NodesCommunicationProductivitySticky NoteSchedule TriggerHttp RequestIf
Loading interactive preview...

Template notes

Lead Scoring Pipeline – Matrix + Notion

This workflow automatically enriches incoming form leads, applies a customizable scoring model, then routes high-value prospects to a Notion CRM database and a Matrix channel for instant sales notification. It streamlines lead qualification by combining third-party enrichment APIs, conditional logic, and asynchronous batching—eliminating manual research and ensuring your sales team focuses on the best opportunities.

Pre-conditions/Requirements

Prerequisites - n8n instance (self-hosted or n8n cloud) - ScrapeGraphAI community node installed - Matrix community node installed - Notion Integration (internal integration or Notion OAuth) - Active third-party enrichment/validation APIs (e.g., Clearbit, Hunter, Kickbox) for scoring data - A Notion database set up as your “Leads” table with fields: Name, Email, Company, Score, Status, Enrichment

Required Credentials - ScrapeGraphAI API Key – For optional web-scraping based enrichment - Notion OAuth2 / Integration Token – To create & update pages in your CRM database - Matrix Username & Password – For sending room messages - (Optional) Third-party API Keys – Clearbit, Hunter, etc.

Additional Setup Requirements | Setting | Example / Notes | |---------------------------------|----------------------------------------------------------| | Notion Database ID | 8f3d49e8c8f74e6f9d32e8e2bf7c1c46 | | Matrix Room ID | !aBcDeFgHiJ:matrix.org | | Scoring Threshold (env var) | LEADSCOREMIN=70 | | Batch Size | SPLITINBATCHES=10 (controls parallel requests) | | Webhook URL for form submission | https://your-n8n-instance/webhook/leads |

How it works

This workflow automatically enriches incoming form leads, applies a customizable scoring model, then routes high-value prospects to a Notion CRM database and a Matrix channel for instant sales notification. It streamlines lead qualification by combining third-party enrichment APIs, conditional logic, and asynchronous batching—eliminating manual research and ensuring your sales team focuses on the best opportunities.