{
  "id": "flapbase:customer-sales",
  "source": "flapbase",
  "readOnly": true,
  "name": "顧客・商談を管理する",
  "purpose": "顧客・商談の登録、担当と次回対応、結果の記録",
  "shape": "operation",
  "version": 1,
  "steps": [
    {
      "key": "prepare",
      "title": "公開サイトの受付を準備する",
      "phase": "create",
      "kind": "task",
      "stepRef": null,
      "acceptance": "human_acceptance",
      "deliverableKinds": [],
      "performer": "agent",
      "agentPermission": "draft",
      "automation": {
        "executor": "agent",
        "approval": "each_time",
        "trigger": "proposal_approval"
      },
      "procedure": {
        "what": "公開サイトの受付を準備する",
        "how": "指定の操作で候補版を作り、確認に出す。",
        "verify": "フォームを含むSiteの候補版を記録する。",
        "tools": [
          "site_catalog",
          "site_create",
          "site_get",
          "site_apply"
        ]
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    },
    {
      "key": "release",
      "title": "受付の内容を確認して公開する",
      "phase": "publish",
      "kind": "task",
      "stepRef": null,
      "acceptance": "human_acceptance",
      "deliverableKinds": [],
      "performer": "human",
      "agentPermission": "propose",
      "automation": {
        "executor": "human",
        "approval": "each_time",
        "trigger": "manual"
      },
      "procedure": {
        "what": "受付の内容を確認して公開する",
        "how": "以下の操作と記録を確認し、担当者が工程を完了する。",
        "verify": "人が確認した版を既存の公開画面で公開する。",
        "tools": [
          "project.workitem.submit",
          "site_publish_request"
        ]
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    },
    {
      "key": "receive",
      "title": "問い合わせを顧客と案件につなぐ",
      "phase": "analyze",
      "kind": "task",
      "stepRef": null,
      "acceptance": "human_acceptance",
      "deliverableKinds": [],
      "performer": "human",
      "agentPermission": "propose",
      "automation": {
        "executor": "human",
        "approval": "each_time",
        "trigger": "manual"
      },
      "procedure": {
        "what": "問い合わせを顧客と案件につなぐ",
        "how": "以下の操作と記録を確認し、担当者が工程を完了する。",
        "verify": "公開フォームで受け付けた問い合わせを既存の顧客に照合し、対象Projectの案件へ一度だけ転記する。",
        "tools": [
          "inbox_list",
          "customer_get",
          "deal_create_from_inquiry"
        ]
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    },
    {
      "key": "follow-up",
      "title": "担当・期限と次の対応を設定する",
      "phase": "analyze",
      "kind": "task",
      "stepRef": null,
      "acceptance": "human_acceptance",
      "deliverableKinds": [],
      "performer": "human",
      "agentPermission": "propose",
      "automation": {
        "executor": "human",
        "approval": "each_time",
        "trigger": "manual"
      },
      "procedure": {
        "what": "担当・期限と次の対応を設定する",
        "how": "以下の操作と記録を確認し、担当者が工程を完了する。",
        "verify": "運営者が既存の案件画面で担当・期限・次の対応を現在の版に設定し、更新結果を確認する。",
        "tools": [
          "deal_get"
        ]
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    },
    {
      "key": "close-deal",
      "title": "成約・失注を記録して履歴を確認する",
      "phase": "analyze",
      "kind": "task",
      "stepRef": null,
      "acceptance": "human_acceptance",
      "deliverableKinds": [],
      "performer": "human",
      "agentPermission": "propose",
      "automation": {
        "executor": "human",
        "approval": "each_time",
        "trigger": "manual"
      },
      "procedure": {
        "what": "成約・失注を記録して履歴を確認する",
        "how": "以下の操作と記録を確認し、担当者が工程を完了する。",
        "verify": "担当者が確認した成約・失注を現在版に記録し、同じ顧客と案件の履歴から結果を確認する。",
        "tools": [
          "deal_get",
          "deal_status_update",
          "customer_get"
        ]
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    }
  ],
  "transitions": [
    {
      "source": "prepare",
      "target": "release",
      "kind": "next"
    },
    {
      "source": "release",
      "target": "receive",
      "kind": "next"
    },
    {
      "source": "receive",
      "target": "follow-up",
      "kind": "next"
    },
    {
      "source": "follow-up",
      "target": "close-deal",
      "kind": "next"
    }
  ],
  "origin": {
    "kind": "flapbase",
    "patternId": "customer-sales"
  },
  "createdAt": null,
  "archivedAt": null
}
