Recommendation (short): Build a Zapier workflow that triggers on the incoming lead (Webhook/CRM/Form), enriches with external APIs as needed, calls ChatGPT to extract intent + score + routing decision as structured JSON, then routes to reps (CRM update, Slack/email, or round-robin). Keep the GPT call minimal and deterministic by returning a strict JSON schema so Zapier can parse fields reliably.
Trigger choices and when to use them
- Webhook (best-for real-time, any source): use when your form/website/marketing tool can POST to Zapier. Low-latency, single-lead processing.
- Native app trigger (CRM, Typeform, HubSpot): use when you want guaranteed delivery and metadata from the source. Simpler for non-dev teams.
- Scheduled/batch (Polling): use when source doesn’t push. Good for enrichment windows and rate-limit batching.
Prompt structure (practical, production-ready)
1) System instruction (one line): “You are a lead-qualification assistant. Output only valid JSON that matches the schema.”
2) Input block (raw lead fields): name, email, company, job_title, message, utm, referrer, page, timestamp, existing_tags.
3) Tasks (explicit): "Enrich missing fields if possible, classify intent, extract budget/timeline/decision-maker, produce a 0-100 score, and provide 1-sentence reason."
4) Required output: a strict JSON object, e.g. {"lead_id":"", "intent":"[sales/support]","persona":"[title]","budget_level":"[none|low|mid|high]","timeline":"[0-30|31-90|90+]","lead_score":int, "route":"[sales_A|sales_B|nurture|support]","notes":""}
Example minimal prompt snippet (one line in Zapier body):
System: "Return only JSON matching the schema." Input: {lead fields} Then tasks as above.
Scoring rubric (include in prompt):
- +40 points: clear purchase intent & budget
- +25: decision-maker or champion present
- +20: short timeline (0–30 days)
- -30: competitor mention or non-target industry
- Cap to 0–100 and explain top 2 contributing factors in notes.
Rate-limits / quotas to watch
- Zapier: tasks per Zap run and task usage — every action (trigger, webhook, parse, update) consumes tasks. Use multi-step zaps sparingly or use code steps to reduce steps. Check your Zapier tier for task limits.
- ChatGPT/API: model token and QPS limits and cost. Use a smaller model (GPT-4 Turbo or GPT-3.5 for cheaper scoring) if volume is high. Batch non-urgent leads or run enrichment in scheduled bursts. Implement retries, exponential backoff, and circuit breakers for failures.
- Enrichment APIs (Clearbit, FullContact): watch their per-minute limits and cost per lookup.
Decision criteria (how to choose components)
- Use webhook + real-time GPT call if SLA is minutes and volume is low/medium.
- Use scheduled batch + cheaper model if volume is high and immediacy isn’t required.
- Use native CRM trigger if you need robust replay and auditing.
- If budget is small, prioritize a lightweight prompt + cheaper model for scoring and only enrich top-scored leads.
Practical checklist to implement
1) Define final JSON schema and routing rules. 2) Create trigger (Webhook or CRM) in Zapier. 3) Optional: call enrichment APIs (1–2 lookups). 4) Add ChatGPT step (Zapier's ChatGPT integration or an API webhook) with strict prompt and output schema. 5) Parse JSON (Zapier “Formatter”/Code). 6) Route: update CRM + notify rep (Slack/Email) or enqueue in round-robin sheet. 7) Log to DB or Google Sheet for audit and retraining. 8) Add retries, rate-limit handling, and monitoring alerts.
Best-for / Avoid-if
- Best-for: teams that need fast lead triage with human-readable reasons and flexible routing. Useful when reps need context beyond raw fields.
- Avoid-if: very high-volume (100k+/mo) without budget for API calls or when deterministic rule-based routing is sufficient.
Notes: The right balance depends on budget, team size, and SLA. If you want, I can draft the exact Zap steps and a ready-to-paste prompt JSON for your source and routing rules.
Compare Zapier and Make