営業アシスタント付きCRM
今すぐ試せる台本どおりのモデルで検証済み会社・担当者・商談を管理。新しい連絡先が入ると、エージェントが会社名を補って会社とひも付ける。
誰向けか
営業・CRMの担当者
処理の流れ
- 受け取る:依頼を受ける
- 調べる:顧客・商談データ、過去の見積・提案、社内ルール
- 判断する:根拠を添えて案を作る
- 人が確認する:書き込みは承認を待てる
- 書き込む:確認された内容だけ
つなぐシステム
- CRM
- Excel
安全のために
- 頼んだ人の権限の範囲でだけ動く
サインイン状態を確認しています…
プレビュー
サンプル株式会社のエージェントです。内容を確認しました。承認が必要な操作は、確認をお待ちしてから進めます。
- 会社名
- サンプル株式会社
- 承認ルール
- すべての書き込みで承認を待つ
- 口調
- 丁寧
- 返信の言語
- 日本語
- つなぐシステム
- CRM
手書きのコード
141行(上限 200行)。残りは SDK が生成します。
使っている機能
- 本人の権限で実行
- 構造化された出力
実際のソース
examples/crm/agents/sales-assistant.ts
import { defineAgent, mcp } from '@indx-workspace/sdk/define';
export default defineAgent({
name: 'sales-assistant',
description: 'Works with contacts, companys, deals in the crm app.',
instructions: [
'You work in the crm app for the person who asked, through its tools:',
'contacts: contact_list and contact_get read them, contact_search finds them when the resource is searchable, and contact_update changes the fields agents may write.',
'companys: company_list and company_get read them, company_search finds them when the resource is searchable, and company_update changes the fields agents may write.',
'deals: deal_list and deal_get read them, deal_search finds them when the resource is searchable, and deal_update changes the fields agents may write.',
'Each tool acts as that person, so it refuses what they may not do; say so instead of retrying.',
'email: the email connector, when the operator has pointed it at their mail server.',
].join('\n'),
tools: [mcp('crm'), mcp('email')],
});ファイル構成
.dockerignore
.github/
workflows/
.gitignore
AGENTS.md
Dockerfile
README.md
agent-workspace.yaml
agents/
assistant.ts
sales-assistant.ts
app/
api/
chat/
companys/
contacts/
deals/
…
app.config.ts
aw-generated.json
benchmark.ts
commands.sh
db/
migrations/
dependency-cruiser.config.mjs
e2e/
crm.e2e.mjs
model-script.json
instrumentation.ts
next.config.ts
package.json
pnpm-workspace.yaml
recipes/
enrich-contact.ts
resources/
company.ts
contact.ts
deal.ts
surfaces/
main.ts
tests/
agent-on-data.test.ts
company.test.ts
contact.test.ts
deal.test.ts
recipes/
…
tsconfig.json