服务业
预约与到店接待
解析预约请求、识别缺失信息,并自动确认预约。
数据如何流转
请求会在你的后端与 AI 工作流之间自动流转。以下是请求经过的完整路径。
AI 工作流
booking_intake_workflow
解析预约请求并启动确认流程
后端事件
request_received
后端事件
confirmation_ready
AI 工作流
booking_confirmation_workflow
确认预约或请求缺失信息
你会得到什么
工作流
booking_intake_workflow
解析预约请求并启动确认流程
工作流
booking_confirmation_workflow
确认预约或请求缺失信息
响应格式
booking_intake_response
从预约请求中解析出的信息
响应格式
booking_confirmation_response
发给客户的确认或跟进消息
详细规格
每个工作流的完整规格说明。以下所有内容都已写入下载的文件中,导入后仍可随时修改。
booking_intake_workflow
解析预约请求并启动确认流程
主模型,以及在主模型不可用时自动启用的备用模型。
该工作流返回的结构化 JSON。字段由你定义,并由 ModelRiver 强制校验。
你在每次请求中传入的字段,工作流会据此给出个性化回答。
在此时间窗口内,相同请求会直接使用缓存结果,更快也更省钱。
围绕该工作流按顺序自动运行的步骤。
调用你已连接的 AI 提供商实时运行。
booking_confirmation_workflow
确认预约或请求缺失信息
主模型,以及在主模型不可用时自动启用的备用模型。
该工作流返回的结构化 JSON。字段由你定义,并由 ModelRiver 强制校验。
你在每次请求中传入的字段,工作流会据此给出个性化回答。
调用你已连接的 AI 提供商实时运行。
如何使用
- 1
下载模板
文件是可移植的 JSON 包,方便分享,也易于阅读。
- 2
在 ModelRiver 中打开一个项目
登录后选择一个项目,并确保该模板用到的 AI 提供商已连接。你可以在「提供商」中完成连接。
- 3
导入模板
在项目中点击「导入」,粘贴或上传文件,确认预览后完成导入。所有内容以原子方式创建,不会覆盖任何已有数据。 导入与导出如何工作
模板文件
技术用户可以在下方查看原始模板文件。
查看完整模板 JSON
{
"version": 1,
"structures": [
{
"name": "booking_intake_response",
"description": "从预约请求中解析出的信息",
"example": {
"service_type": "haircut",
"requested_date": "2026-08-12",
"requested_time": "14:30",
"missing_details": [
"phone number"
]
},
"schema": {
"type": "object",
"properties": {
"service_type": {
"type": "string"
},
"requested_date": {
"type": "string"
},
"requested_time": {
"type": "string"
},
"missing_details": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"service_type",
"requested_date",
"requested_time",
"missing_details"
],
"additionalProperties": false
}
},
{
"name": "booking_confirmation_response",
"description": "发给客户的确认或跟进消息",
"example": {
"confirmation_status": "needs_more_info",
"confirmation_message": "谢谢!能否留下手机号以便确认预约?",
"next_steps": "回复手机号"
},
"schema": {
"type": "object",
"properties": {
"confirmation_status": {
"type": "string",
"enum": [
"confirmed",
"needs_more_info"
]
},
"confirmation_message": {
"type": "string"
},
"next_steps": {
"type": "string"
}
},
"required": [
"confirmation_status",
"confirmation_message",
"next_steps"
],
"additionalProperties": false
}
}
],
"workflows": [
{
"name": "booking_intake_workflow",
"description": "解析预约请求并启动确认流程",
"provider": "openai",
"model": "gpt-5.6-terra",
"backups": [
{
"provider": "anthropic",
"model": "claude-haiku-4-5-20251001"
}
],
"request_type": "chat",
"system_instructions": "解析预约请求:识别服务项目、请求的日期与时间,以及缺失的信息。日期和时间保持客户填写的原样。",
"structure": "booking_intake_response",
"customer_fields": [
"customer_name",
"request_text",
"preferred_date"
],
"test_mode": false,
"cache_window_seconds": 600,
"backend_pipeline": {
"enabled": true,
"events": [
{
"name": "request_received"
},
{
"name": "confirm_booking",
"target_workflow": "booking_confirmation_workflow"
},
{
"name": "confirmation_ready"
}
]
}
},
{
"name": "booking_confirmation_workflow",
"description": "确认预约或请求缺失信息",
"provider": "openai",
"model": "gpt-5.6-terra",
"backups": [
{
"provider": "anthropic",
"model": "claude-haiku-4-5-20251001"
}
],
"request_type": "chat",
"system_instructions": "信息齐全时确认预约,缺少信息时向客户询问。撰写热情、简短的确认或跟进消息。",
"structure": "booking_confirmation_response",
"customer_fields": [
"customer_name",
"request_text",
"preferred_date"
],
"test_mode": false
}
]
}在找其他方案?
更多模板即将上线。在此之前,你可以在 ModelRiver 控制台中从零搭建自己的工作流。