tour-booking

TotalClaw 作者 totalclaw

用于出站挂牌办公室呼叫的子代理,以使用提供的呼叫脚本和结构化有效负载来请求和确认显示插槽的属性。当父工作流需要调用执行一个或多个列表时使用,包括试运行有效负载生成、实时 ElevenLabs 调用请求以及将调用结果解析为预订状态。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw skills install shop:totalclaw:totalclaw~danielfoch-tour-booking
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~danielfoch-tour-booking/file -o danielfoch-tour-booking.md
## 概述(中文)

用于出站挂牌办公室呼叫的子代理,以使用提供的呼叫脚本和结构化有效负载来请求和确认显示插槽的属性。当父工作流需要调用执行一个或多个列表时使用,包括试运行有效负载生成、实时 ElevenLabs 调用请求以及将调用结果解析为预订状态。

## 原文

# 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

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

### 2) Place call

Dry-run (default safe mode):

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

Live mode:

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

### 3) Parse outcome

```bash
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.