Free workflow: an n8n + Claude agent that answers, qualifies & books every inbound lead in under 2 minutes (GitHub + breakdown)
Sharing this one free — GitHub repo at the bottom. Small businesses lose most of their leads to slow follow-up (whoever replies first usually wins, and nobody can watch the inbox 24/7), so I built an n8n workflow that handles it end to end.
The flow (9 nodes):
- Trigger: n8n Form (or a Gmail trigger for email leads)
- Normalize the lead into one shape
- Qualify with Claude -> returns strict JSON: score 1-10, hot/warm/cold, one-line summary
- IF score >= 6 -> draft a personalized reply with Claude -> send via Gmail -> log to Airtable as "replied"
- else -> log as "manual review", no email sent
The one trick that makes it reliable: force Claude to return only minified JSON and parse it in a tiny Code node with a fence-stripping fallback. That single JSON response does all the routing — no vector DB, no fine-tuning.
The reply prompt writes in the owner's first person, mentions the booking link once, and I append the signature in the Gmail node so it stays consistent. Cost is pennies per lead (Haiku to score, Sonnet to reply).
GitHub (import the JSON, MIT licensed): https://github.com/GBAnjos/n8n-lead-agent
60-second demo of it running end to end: https://lead-agent.guilhermecbanjos.workers.dev
Happy to answer setup questions. If you'd rather not wire it up yourself, I also packaged a plug-and-play version with a 15-min setup guide + support — but the repo above has everything you need to build it free.
Posted Aug 3, 2026, 1:58 PM UTC