
Intermediate
把那个没人填的联系表单换成一个智能体,问四个问题,自己就把会议约好。
智能体做一场简短的结构化访谈,对着你的标准给线索打分,把结果写进数据库,并给销售发一份小结。
零件
- 用一个小 schema 的结构化输出
- 带分数和理由的 leads 表
- 邮件通知
- 可嵌入的组件
怎么赚钱
代理公司很愿意为这个付钱:每个客户站点一个组件,按月留存,再加一个自定义评分规则的增值项。
搭建耗时
一个周末
Build a lead qualification agent widget. Behaviour: the agent asks at most five questions, one at a time, to learn company size, budget range, timeline and the problem being solved. It never asks two questions in one message and never asks for data it already has. After the interview, produce a structured result with fields: score, tier, summary, next_step. Keep the schema flat and unconstrained, state the ranges in the prompt text, and clamp values in code. Storage: insert into a "leads" table with contact details, transcript, score, tier and created_at. Send a notification email with the summary. UI: a floating chat bubble on the landing page, mobile friendly, with a typing indicator and a final card showing the booked next step.
#sales#structured-output#widget