Block 1 - ⚡️ Lead Scoring Overview
- Type / Role
- n8n-nodes-base.stickyNote - stickyNote
- Config choices
- Version 1
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 algorith...
n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.httprequest, n8n-nodes-base.merge, n8n-nodes-base.box
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by vinci-king-01.
Original n8n.io sourceThis 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.
| 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 |
| Variable | Example | Description |
|---|---|---|
LEAD_SCORE_THRESHOLD |
75 |
Minimum score that triggers a Telegram alert |
BOX_FOLDER_ID |
123456789 |
Destination folder for lead files |
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.
LEAD_SCORE_THRESHOLD.Setup Time: 15-25 minutes
/newbot → copy the provided token.https://api.n8n.cloud/oauth2-credential/callback (or your own) as redirect URI.LEAD_SCORE_THRESHOLD and BOX_FOLDER_ID.firstName, email, etc.).// Inside the Code node
const { jobTitle, companySize, technologies } = items[0].json;
let score = 0;
if (jobTitle.match(/(CTO|CEO|Founder)/i)) score += 50;
if (companySize > 500) score += 20;
if (technologies.includes('AWS')) score += 10;
// Bonus: subtract points if free email domain
if (items[0].json.email.endsWith('@gmail.com')) score -= 30;
return [{ json: { ...items[0].json, score } }];
// Replace Box node with Google Drive node
{
"node": "Google Drive",
"operation": "upload",
"fileName": "lead_{{$json.email}}.json",
"folderId": "1A2B3C..."
}
The workflow outputs structured JSON data:
{
"firstName": "Ada",
"lastName": "Lovelace",
"email": "[email protected]",
"company": "Analytical Engines Inc.",
"companySize": 250,
"jobTitle": "CTO",
"technologies": ["AWS", "Docker", "Node.js"],
"score": 82,
"qualified": true,
"timestamp": "2024-04-07T12:34:56.000Z"
}
chat_id/token are correct.Pro Tips:
🔥 Hot Lead for >90).This is a community-contributed n8n workflow template provided “as-is.” Always test thoroughly in a non-production environment before deploying to live systems.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Score and route leads with Telegram alerts and Box storage |
|---|---|
| Complexity | advanced |
| Nodes | 21 |
| Categories | Lead Generation, AI Summarization |
| Author | vinci-king-01 |
| Published | 28 Jan 2026 |
Use the JSON export at /data/workflows/13065/13065.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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 algorith...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.