360 Secure SkillHub
360 安全技能中心

Tour Booking

该 Skill 通过三个 Python 脚本按序完成看房预约外呼:先用 job 数据生成通话载荷,再调用 ElevenLabs 发起外呼(默认 dry-run,可切换 live),最后把通话结果解析为结构化预订状态;话术守则要求说明 AI 身份并确认确切日期与当地时间。

danielfoch
danielfoch
热度 66.35
最近更新 2026-05-17 12:06:52
分类:自动化依赖:代码执行 / 第三方 API / 读写文件应用场景:日程安排 / API 集成 / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add tour-booking
Metadata
name
tour-booking
description
Sub-agent for outbound listing-office calls to request and confirm property showing slots using a provided call script and structured payloads. Use when a parent workflow needs call execution for one or more listings, including dry-run payload generation, live ElevenLabs call requests, and parsing call outcomes into booking statuses.

Tour Booking

Overview

Handle the call execution layer for property showing bookings:

  1. Build a consistent call prompt from listing and client data.
  2. Send outbound call request to ElevenLabs (or dry-run).
  3. Normalize call outcome into structured status fields.

Inputs

Each call job should include:

  • job_id
  • client_name
  • listing.address
  • listing.office_phone
  • preferred_windows_text
  • timezone

Runbook

1) Build payload

python3 scripts/prepare_call_payload.py \
  --job /tmp/job.json \
  --output /tmp/call-payload.json

2) Place call

Dry-run (default safe mode):

python3 scripts/place_outbound_call.py \
  --payload /tmp/call-payload.json \
  --output /tmp/call-result.json \
  --dry-run

Live mode:

python3 scripts/place_outbound_call.py \
  --payload /tmp/call-payload.json \
  --output /tmp/call-result.json \
  --live

3) Parse outcome

python3 scripts/parse_call_result.py \
  --input /tmp/call-result.json \
  --output /tmp/booking-outcome.json

Call Guardrails

  • State clearly that the caller is an AI assistant calling on behalf of the realtor.
  • Ask for available slots inside the requested window first; request alternatives if unavailable.
  • Confirm final slot with exact date and local time before ending the call.
  • If the office cannot confirm, mark as pending_callback and capture callback requirements.