服务业

2 工作流2 响应格式3 后端步骤

预约与到店接待

解析预约请求、识别缺失信息,并自动确认预约。

支持的模型提供商

主模型
备用模型

选择你的提供商与模型,下载的文件会按你的选择生成。

适合谁

  • 服务型企业
  • 诊所与美容院
  • 自由职业者

数据如何流转

请求会在你的后端与 AI 工作流之间自动流转。以下是请求经过的完整路径。

收到客户请求

AI 工作流

booking_intake_workflow

解析预约请求并启动确认流程

后端事件

request_received

confirm_booking 触发后启动 booking_confirmation_workflow

后端事件

confirmation_ready

AI 工作流

booking_confirmation_workflow

确认预约或请求缺失信息

客户收到回复

你会得到什么

每个模板都由两类部件组成: 工作流响应格式.

工作流

booking_intake_workflow

解析预约请求并启动确认流程

工作流

booking_confirmation_workflow

确认预约或请求缺失信息

响应格式

booking_intake_response

从预约请求中解析出的信息

service_typerequested_daterequested_timemissing_details

响应格式

booking_confirmation_response

发给客户的确认或跟进消息

confirmation_statusconfirmation_messagenext_steps

详细规格

每个工作流的完整规格说明。以下所有内容都已写入下载的文件中,导入后仍可随时修改。

booking_intake_workflow

解析预约请求并启动确认流程

模型与备用模型了解更多
openai · gpt-5.6-terra备用 1: anthropic · claude-haiku-4-5-20251001

主模型,以及在主模型不可用时自动启用的备用模型。

响应格式了解更多
booking_intake_response返回结构化对象,而不是自由文本。

该工作流返回的结构化 JSON。字段由你定义,并由 ModelRiver 强制校验。

使用的客户数据了解更多
customer_namerequest_textpreferred_date

你在每次请求中传入的字段,工作流会据此给出个性化回答。

记忆窗口了解更多
10 分钟

在此时间窗口内,相同请求会直接使用缓存结果,更快也更省钱。

自动化流水线了解更多
request_receivedconfirm_booking启动 booking_confirmation_workflowconfirmation_ready
多步流水线如何工作

围绕该工作流按顺序自动运行的步骤。

运行模式了解更多
生产模式

调用你已连接的 AI 提供商实时运行。

booking_confirmation_workflow

确认预约或请求缺失信息

模型与备用模型了解更多
anthropic · claude-haiku-4-5-20251001备用 1: openai · gpt-5.6-terra

主模型,以及在主模型不可用时自动启用的备用模型。

响应格式了解更多
booking_confirmation_response返回结构化对象,而不是自由文本。

该工作流返回的结构化 JSON。字段由你定义,并由 ModelRiver 强制校验。

使用的客户数据了解更多
customer_namerequest_textpreferred_date

你在每次请求中传入的字段,工作流会据此给出个性化回答。

运行模式了解更多
生产模式

调用你已连接的 AI 提供商实时运行。

如何使用

  1. 1

    下载模板

    文件是可移植的 JSON 包,方便分享,也易于阅读。

  2. 2

    在 ModelRiver 中打开一个项目

    登录后选择一个项目,并确保该模板用到的 AI 提供商已连接。你可以在「提供商」中完成连接。

  3. 3

    导入模板

    在项目中点击「导入」,粘贴或上传文件,确认预览后完成导入。所有内容以原子方式创建,不会覆盖任何已有数据。 导入与导出如何工作

模板文件

技术用户可以在下方查看原始模板文件。

查看完整模板 JSON
modelriver-booking-intake-template-v1.json3.3 KB
{
  "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 控制台中从零搭建自己的工作流。