Score and route leads with Clearbit, Mattermost and Trello
Lead Scoring Pipeline with Mattermost and Trello This workflow automatically enriches incoming form-based leads, calculates a lead-score from multiple data points, and then routes high-value prospects to a Mattermost ...
Template notes
Lead Scoring Pipeline with Mattermost and Trello
This workflow automatically enriches incoming form-based leads, calculates a lead-score from multiple data points, and then routes high-value prospects to a Mattermost alert channel while adding all leads to Trello for further handling. It centralizes lead intelligence and streamlines sales team triage—no manual spreadsheet work required.
Pre-conditions/Requirements
Prerequisites - n8n instance (self-hosted or n8n cloud) - ScrapeGraphAI community node installed - Active Trello and Mattermost workspaces - Lead-capture form or webhook that delivers JSON payloads
Required Credentials - Trello API Key & Token – Access to the board/list where cards will be created - Mattermost Access Token – Permission to post messages in the target channel - (Optional) Clearbit / Apollo / 3rd-party enrichment keys – If you replace the sample enrichment HTTP requests
Specific Setup Requirements | Variable | Purpose | Example Value | |-------------------------|-------------------------------------------|------------------------| | MMCHANNELID | Mattermost channel to post high-score leads | leads-alerts | | TRELLOBOARDID | Board where new cards are added | 62f1d… | | TRELLOLISTIDHOT | Trello list for hot leads | Hot Deals | | TRELLOLISTIDBACKLOG| Trello list for all other leads | New Leads | | LEADSCORETHRESHOLD | Score above which a lead is considered hot| 70 |
How it works
This workflow grabs new leads at a defined interval, enriches each lead with external data, computes a custom score, and routes the lead: high-scorers trigger a Mattermost alert and are placed in a “Hot Deals” list, while the rest are stored in a “Backlog” list on Trello. All actions are fully automated and run unattended once configured.