Skip to main content
dewgo

Automation

Example. An AI lead qualifier that books calls

Most lead forms end with "thanks, we will be in touch." That gap between submission and reply is where leads cool off. A good qualifier closes the gap to 30 seconds. The high-fit leads get a Calendly link before they leave the page. The low-fit leads get a kind note instead of a sales call they did not want.

6 min read · published May 21, 2026

The end-to-end flow

Six steps. About 200 lines of code if you write it from scratch on Vercel.

  • Form submit. Industry, budget range, timeline, free-text "what do you need."
  • Database write. Supabase row created with status "pending."
  • Score. Claude Haiku 4.5 reads the row plus your ICP doc and returns fit_score (1 to 10), tier_recommendation, and a one-paragraph reasoning.
  • Branch. Score 7 plus, send a Calendly link in the confirmation email. Score 4 to 6, send a "we will follow up within 48 hours" reply. Score 1 to 3, send a polite "we may not be the right fit" note.
  • Notify. Slack message to the founder for any score 7 plus. Email digest of all submissions every morning.
  • Update. Supabase row gets the score, tier, and reasoning written back.

Tools and prices

Supabase free tier handles the row volume of any team under 100K leads a year. Resend at $20 a month covers the email sends. Anthropic charges about a tenth of a cent per qualification with Haiku 4.5. The whole thing runs on Vercel's hobby tier.

Total monthly cost for a small business: around $25. Compare to a part-time SDR at $4,000 a month and the math is obvious.

The prompt

A system prompt that defines what a fit means for the business. Three concrete examples: a clear yes, a clear no, a borderline case. The user message is the form submission rendered as plain text. Output is JSON with score, tier, reasoning, and a flag for "needs human review."

The borderline case is the one that matters. Without it, the model gets cautious and scores everything in the middle.

The reply email

For high-fit leads, the reply is two paragraphs. First paragraph references something they actually said in the form. Second paragraph is a Calendly link with a recommended call length. Resend handles the send. Open rates run 70% plus because the email lands within a minute of the form submit.

Where it goes wrong

Three places. One, the prompt drifts as the business changes. We update it monthly. Two, the borderline cases need a human review queue, otherwise the model picks a side it should not. Three, the Calendly link should be a one-off booking link, not your default. Otherwise serious leads get the same general slots as your friends.

Where Dewgo fits

This is the AI Automation Growth tier. $299 a month plus a $1,000 setup. We wire Supabase, Resend, Claude, and Calendly to your existing form. We tune the prompt on your last 30 real leads so the scoring matches what you would have done by hand.