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

Score and route leads with Telegram alerts and Box storage

Lead Scoring Pipeline with Telegram and Box This workflow ingests incoming lead data from a form submission webhook, enriches each lead with external data sources, applies a custom scoring algorithm, and automatically...

DevelopmentCore NodesCommunicationHITLData & StorageSticky NoteWebhookSet
Loading interactive preview...

Template notes

Lead Scoring Pipeline with Telegram and Box

This workflow ingests incoming lead data from a form submission webhook, enriches each lead with external data sources, applies a custom scoring algorithm, and automatically stores the enriched record in Box while notifying your sales team in Telegram. It is designed to give you a real-time, end-to-end lead-qualification pipeline without writing any glue code.

Pre-conditions/Requirements

Prerequisites - n8n instance (self-hosted or n8n.cloud) - ScrapeGraphAI community node installed (not directly used in this template but required by marketplace listing rules) - Telegram Bot created via BotFather - Box account (Developer App or User OAuth2) - Publicly accessible URL (for the Webhook trigger) - Optional: Enrichment API account (e.g., Clearbit, PDL) for richer scoring data

Required Credentials | Credential | Scope | Purpose | |------------|-------|---------| | Telegram Bot Token | Bot | Send scored-lead alerts | | Box OAuth2 Credentials | App Level | Upload enriched lead JSON/CSV | | (Optional) Enrichment API Key | REST | Append firmographic & technographic data |

Environment Variables (Recommended) | Variable | Example | Description | |---------|----------|-------------| | LEADSCORETHRESHOLD | 75 | Minimum score that triggers a Telegram alert | | BOXFOLDERID | 123456789 | Destination folder for lead files |

How it works

This workflow listens for new form submissions, enriches each contact with external data, calculates a lead score based on configurable criteria, and routes the lead through one of two branches: high-value leads trigger an instant Telegram alert and are archived to Box, while low-value leads are archived only. Errors are captured by an Error Trigger for post-mortem analysis.