Handle disqualified and near-miss inbound leads gracefully — categorize each, draft the right response (polite decline, referral request, or nurture routing), and route to the correct destination so no inbound lead is ghosted and every disqualification preserves the relationship. Composite that reuses email-drafting and routes to a nurture/one-off send tool.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Handle disqualified and near-miss inbound leads gracefully — categorize each, draft the right response (polite decline, referral request, or nurture routing), and route to the correct destination so no inbound lead is ghosted and every disqualification preserves the relationship. Composite that reuses email-drafting and routes to a nurture/one-off send tool.
A composite: categorize.pytags each lead's handling category deterministically; the
agent drafts the right response per category (via email-drafting); then launch_campaign.pysends/routes (one-off decline or nurture) — or stops at draft-only with no send key.
When to use
"Handle the disqualified leads" / "draft rejection emails" / "what do we do with the ones
that didn't qualify?"
After an inbound-lead-qualification step produces disqualified/near-miss leads.
How it works (scripts + agent)
Categorize — categorize.py maps each lead's sub_verdict / mismatch_type to a
handling category + action:
competitor (competitor employee) -> LOG only, NEVER email
existing_customer -> route to CS/upsell, never a decline
(agent) For referral, pick the referral-target persona from ICP (or pull from CRM /
Apollo if known). Draft the appropriate response per category with email-drafting,
matching the configured tone; include a resource link if set.
Route / send — nurture -> launch_campaign.py --tool lemlist/instantly; one-off
decline -> --tool sendgrid/resend; competitor/CS flags + do-not-contact -> store write +
slack CS handoff (agent). Draft-only mode (no send key) just returns the drafts.
tagged.json — each lead {handling_category, handling_action, referral_target_persona},
the agent's drafted responses per category, and the routing/send results; summary to channel.
Credentials / env
env.required: none. The default is draft-only (categorize + draft, no send), and
--tool generic_csv exports a tool-ready CSV with no key.
env.optional (all degrade): Send/route — if a send key (SENDGRID_API_KEY /
RESEND_API_KEY for one-off declines, LEMLIST_API_KEY / INSTANTLY_API_KEY for nurture)
is set → send/route the response; else → draft-only or export a CSV (--tool generic_csv,
the keyless default). HUBSPOT_API_KEY — if set → CRM referral lookup + routing/tagging;
else → manual. APOLLO_API_KEY — if set → find the referral contact; else → ICP persona
only. SUPABASE_URL + SUPABASE_SERVICE_ROLE_KEY — if set → do-not-contact list /
competitive-intel log; else → workspace CSV ledger.
Notes & edge cases
NEVER send a rejection to a competitor employee — log for competitive intelligence and stop.
Existing customers are not disqualified — route to CS / upsell, never a decline email.
Every decline must preserve the relationship; add declined leads to the do-not-contact list.
Right-company/wrong-person is the highest-value path — a referral ask is warmer than cold.