{
  "id": "flapbase:customer-support",
  "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": "資料と提供画面の候補版を記録する。",
        "tools": [
          "app_resources_prepare"
        ]
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    },
    {
      "key": "publish",
      "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": []
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    },
    {
      "key": "fulfill",
      "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": [
          "order_support_get"
        ]
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    },
    {
      "key": "assign",
      "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": [
          "support_requests_list"
        ]
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    },
    {
      "key": "draft-reply",
      "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": "対象の注文・問い合わせID・現在の版を照合し、返信案を保存する。",
        "tools": [
          "support_reply_draft_save"
        ]
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    },
    {
      "key": "confirm-reply",
      "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": []
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    },
    {
      "key": "buyer-revisit",
      "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": []
      },
      "startOffsetDays": null,
      "dueOffsetDays": null
    }
  ],
  "transitions": [
    {
      "source": "prepare",
      "target": "publish",
      "kind": "next"
    },
    {
      "source": "publish",
      "target": "fulfill",
      "kind": "next"
    },
    {
      "source": "fulfill",
      "target": "assign",
      "kind": "next"
    },
    {
      "source": "assign",
      "target": "draft-reply",
      "kind": "next"
    },
    {
      "source": "draft-reply",
      "target": "confirm-reply",
      "kind": "next"
    },
    {
      "source": "confirm-reply",
      "target": "buyer-revisit",
      "kind": "next"
    }
  ],
  "origin": {
    "kind": "flapbase",
    "patternId": "customer-support"
  },
  "createdAt": null,
  "archivedAt": null
}
