Inbound lead qualifier that drafts a reply or a polite decline: run the example workflow in n8n
The agent reads each new enquiry and checks it against your ideal-client list for fit and budget signals. It drafts a reply or a polite decline and logs the lead in your CRM; you approve before anything is sent.
Approval gate: the freelancer approves the draft before it goes anywhere (approved=true). Referrals and existing clients always go to the freelancer.
Download the workflow (JSON) Download the sample input Back to the use case
1. Set up n8n once
Follow the setup guide: start n8n on your own computer, import the file, and press Publish.
2. Send the sample input
Save the sample input next to where you run the command, and use the Production URL path twwp-lead-qualification-from-inbound-mail-0189:
curl -X POST -H "Content-Type: application/json" --data-binary @lead-qualification-from-inbound-mail-0189-sample-input.json http://localhost:5678/webhook/twwp-lead-qualification-from-inbound-mail-0189Sample input:
{
"text": "We need a logo and brand guide for our cafe.",
"budget_eur": 300,
"days_needed": 7,
"approved": false
}3. What you should see
With the gate closed (default):
{
"status": "draft_pending_approval",
"fit": "low",
"reason": "budget below the 1500 EUR minimum",
"draft_type": "decline",
"crm_status": "declined - budget"
}With the gate open (high_approved), after changing the input as in the test file:
{
"status": "draft_approved_local",
"fit": "high",
"draft_type": "reply",
"crm_status": "qualified",
"sent": false
}All 7 test cases, with their inputs and answers, are in the test file. The AI step is a simple stand-in, so the answer is the same every time. See the setup guide for how to swap in a real AI and what it costs.