Qualify Leads Via Superchat AI
Automatically qualify inbound leads from WhatsApp, Telegram, Instagram, SMS, and Email using Superchat's AI Agent, then alert your sales team on Telegram.
The Problem
Leads come in from everywhere — WhatsApp, Telegram, Instagram, SMS, email. Your team can't monitor every channel manually. By the time someone responds, the prospect has moved on.
Most businesses either:
- Miss leads entirely because no one was watching
- Waste time on unqualified contacts
- Have no consistent scoring system across channels
The Solution
This workflow combines Superchat's omnichannel AI Agent with Needle's automation engine to create a fully automated lead qualification system that works 24/7 across every channel your business uses.
One AI Agent. Every channel. Qualified leads delivered to your sales team in under 60 seconds.
Architecture Overview
The system has two main parts:
- Superchat AI Agent — Engages leads across all messaging channels, asks two qualifying questions, scores the lead, and sends structured data to Needle via webhook.
- Needle Workflow — Receives the webhook payload, processes and formats the data with an AI agent, and sends a notification to your sales team's Telegram group.
How Superchat Qualifies Leads
The Superchat AI Agent (configured as a chatbot) qualifies each inbound lead in exactly two questions:
| Question | Contact Attribute | Possible Values |
|---|---|---|
| "Are you happy with your LinkedIn results?" | convinced | YES / NO |
| "How much would you invest monthly?" | budget | Number (in €) |
A third attribute, excited, is automatically calculated: it's set to YES if the budget is 50 or more.
The agent matches the user's language and exits the conversation once both questions are answered.
Priority Logic
Leads are scored into priority tiers based on the collected attributes:
| Priority | Criteria |
|---|---|
| High Priority | Budget > 100, Convinced = YES, Excited = YES |
| High | Budget 50–100, Convinced = YES, Excited = YES |
| Medium | Convinced = YES, Budget < 50 |
| Low | Convinced = NO |
Needle Workflow Steps
Here's what happens inside Needle once Superchat fires the webhook:
- Webhook Trigger — Receives the POST request from Superchat containing lead data (
contactName,budget,convinced,excited,channel,priority). - Code Node — Validates the payload and remaps the body fields into flat variables. If the webhook has no data, the workflow stops.
- AI Agent — Takes the structured lead data and formats a readable sales notification, including the lead quality assessment (Hot, Warm, or Cold).
- Telegram Send Message — Posts the formatted alert to your sales team's Telegram group chat.
Webhook Payload
Superchat sends the following fields to Needle via HTTP POST:
| Field | Description |
|---|---|
contactName | Name of the lead |
budget | Monthly investment amount (€) |
convinced | YES or NO |
excited | YES or NO (auto-calculated) |
channel | Source channel (WhatsApp, Telegram, etc.) |
priority | Computed priority tier |
The webhook URL itself acts as the authentication token — no additional auth is needed.
Sample Telegram Alert
When a lead is qualified, your sales team receives a message like this:
🚨 New Lead Alert!
💼 Budget: €150 ✅ Convinced: YES ⚡ Excited: YES
📊 Lead Quality: Hot
👉 Check Superchat for the conversation with this contact.
Setup Instructions
-
Superchat Side:
- Create an AI Agent with two qualifying questions.
- Configure contact attributes (
budget,convinced,excited). - Add an HTTP Request exit node in your Superchat Workflow that sends a POST to the Needle webhook URL with the payload fields listed above.
-
Needle Side:
- Deploy this workflow and copy the Webhook Trigger URL.
- Paste the URL into the Superchat HTTP Request node.
- Connect your Telegram Bot in the Telegram connector (bot token + chat ID for your sales group).
- Test the workflow end to end.
Troubleshooting
- No Telegram message? Check that the bot token and chat ID are correctly configured in the Telegram connector.
- Webhook not firing? Verify the URL in Superchat's HTTP node matches the Needle trigger URL exactly.
- Empty fields? Make sure Superchat saves contact attributes before the workflow triggers the HTTP request.
- Wrong priority? Review the priority logic in the AI agent's prompt instructions.
Want to showcase your own workflows?
Become a Needle workflow partner and turn your expertise into recurring revenue.
