問い合わせ対応
今すぐ試せる台本どおりのモデルで検証済み問い合わせメールを分類し、マニュアルと過去の対応から返信案を作る。送信は担当者の確認後。
誰向けか
カスタマーサポートの担当者
処理の流れ
- 受け取る:依頼を受ける
- 調べる:問い合わせ、マニュアル・過去対応、対応ルール
- 判断する:根拠を添えて案を作る
- 人が確認する:書き込みは承認を待てる
- 書き込む:確認された内容だけ
つなぐシステム
- Helpdesk
- Chat
安全のために
- 頼んだ人の権限の範囲でだけ動く
サインイン状態を確認しています…
プレビュー
サンプル株式会社のエージェントです。内容を確認しました。承認が必要な操作は、確認をお待ちしてから進めます。
- 会社名
- サンプル株式会社
- 承認ルール
- すべての書き込みで承認を待つ
- 口調
- 丁寧
- 返信の言語
- 日本語
- つなぐシステム
使っている機能
- 本人の権限で実行
- イベントで起動
実際のソース
tests/gallery/customer-inquiry/agents/customer-inquiry.ts
import { defineAgent, files, skill } from '@indx-workspace/sdk/define';
import { crm } from '../tools/crm.ts';
export default defineAgent({
name: 'customer-inquiry',
instructions: { file: './customer-inquiry.md' },
model: 'default',
// A run is unattended: without autoApprove the SDK stops the FAQ search on an approval prompt.
// `handoff` offers `handoff_to_person`: the agent passes the customer to an operator with it.
engine: {
id: 'claude-agent-sdk',
autoApprove: ['mcp__agent-workspace__search_files'],
handoff: true,
},
// It reads the FAQ (the one granted folder) with the built-in `search_files` and the customer's
// history through the read-only CRM tool; no write, no command, no network, no server of ours.
permissions: { readFiles: true },
tools: [crm],
skills: [skill('keigo-reply')],
files: [files('faq', 'read')],
limits: { maxTurns: 10, maxBudgetUsd: 0.3 },
});ファイル構成
agent-workspace.yaml
agents/
customer-inquiry.md
customer-inquiry.ts
apis/
crm.openapi.json
backend/
chat.ts
benchmark.ts
crm/
fake-crm.d.mts
fake-crm.mjs
customer-inquiry.backend.test-support.ts
customer-inquiry.crm.test-support.ts
customer-inquiry.definition.test-support.ts
customer-inquiry.fixture.test-support.ts
customer-inquiry.test.ts
data/
crm/
faq/
evals/
customer-inquiry.yaml
lib/
pii.d.mts
pii.mjs
skills/
keigo-reply/
surfaces/
support.ts
tools/
crm.ts