{
  "_meta": {
    "description": "Seed fixture cho nội dung demo trải nghiệm onboarding tutorial (landing \"エルメ新規接続時の体験デモ\") — tạo khi bot mới kết nối xong, dùng bởi flow bot-tutorial-exp.",
    "source": "Chuyển thể từ các câu INSERT mẫu (bot_id=1111) do user cung cấp, thứ tự và liên kết đã được user xác nhận rõ ràng (tag1/template1-4/action1-2) ngày 2026-07-02.",
    "how_to_use": [
      "1. Đọc file này, decode JSON.",
      "2. Chạy tuần tự từng phần tử trong `steps` theo đúng thứ tự (thứ tự đã encode đúng dependency).",
      "3. Trước khi insert 1 step, thay các placeholder dạng {{token}} xuất hiện trong `data` bằng giá trị thật (xem bảng `placeholders`).",
      "4. Sau khi insert step có `capture_as`, lưu lại id vừa tạo vào biến tương ứng (vd `template_image.id`) để dùng làm placeholder cho các step sau.",
      "5. Các field trong `temporary_hardcoded_from_sample` đang là giá trị literal COPY NGUYÊN từ SQL mẫu (bot_id=1111) để tạm dùng được ngay — CHƯA sinh động theo bot mới, xem mục đó trước khi lên production."
    ],
    "entity_map": [
      "tag1 -> step key=tag (tags.フォーム未回答)",
      "template1 -> step key=template_image (type=image, ảnh demo gốc)",
      "template2 -> step key=template_group_image (type=group, name=1通目, content=template1.id, dùng bởi action2/qrcode)",
      "template3 -> step key=template_exp1 (type=text, nội dung 体験①クリア)",
      "template4 -> step key=template_group_exp1 (type=group, name=2通目, content=template3.id, dùng bởi action1/image_map_v2)",
      "action1 -> step key=action_image_map (type=image_map_v2)",
      "action2 -> step key=action_qrcode (type=qrcode)",
      "template5 -> step key=template_exp2 (type=text, nội dung 体験②クリア)",
      "template6 -> step key=template_group_exp2 (type=group, name=3通目, content=template5.id, dùng bởi action3/auto_reply)",
      "action3 -> step key=action_auto_reply (type=auto_reply)",
      "tag9959/9960/9961 -> step key=tag_washoku/tag_youshoku/tag_chuka (tags.和食/洋食/中華, action_id trỏ vào action_add_tag_*)",
      "action21/22/23 -> step key=action_add_tag_washoku/youshoku/chuka (type=add_tag)",
      "category(7649) -> step key=category_select (category.選択肢, kind=2), dùng làm category_id cho 3 template group washoku/youshoku/chuka và selected_group_id trong action_detail tương ứng",
      "template21/22 -> step key=template_washoku_text/template_washoku_group (group name=和食, category_id={{category_select.id}}, content=template21.id)",
      "template23/[24] -> step key=template_youshoku_text/template_youshoku_group — xem `assumptions_need_confirmation` về template24",
      "template25/[26] -> step key=template_chuka_text/template_chuka_group — xem `assumptions_need_confirmation` về template26",
      "action24 -> step key=action_form_answer_setting (type=formAnswer_setting_action)",
      "form_answer(6241)/form_answer_page(7199)/form_answer_details(69258) -> step key tương ứng cùng tên bảng",
      "rich_menu(1635) -> step key=rich_menu; rich_menu_items(8710) -> step key=rich_menu_item",
      "action25 -> step key=action_qrcode_richmenu (type=qrcode)",
      "template26/27 -> step key=template_richmenu_exp_text/template_richmenu_exp_group (group name=4通目)",
      "landing(1688, リッチメニュー表示用) -> step key=landing_richmenu"
    ],
    "temporary_hardcoded_from_sample": [],
    "post_processing": [
      "landing.code / landing.link_qr_code KHÔNG còn hardcode — Service sinh thật theo đúng logic App\\Http\\Controllers\\Basic\\QRCodeController::saveLandingV2 (dòng 275-277): str_random(6) + checkRandomCodeLanding (retry nếu trùng code trong bảng landing theo bot_id) -> route('QRLanding', $liffId) . '?uLand=' . $code. liffId lấy từ bots.liff_app_id.",
      "landing.path_landing = null lúc insert (chưa có id) — Service tạo landing xong mới sinh ảnh QR PNG thật (BaconQrCode, theo đúng QRCodeController dòng 348-364: url = https://line.me/R/app/{liffId}?uLand={code}, lưu vào public_path(FOLDER_MEDIA.'images/'.userId.'/'.botId.'/landing/'.timestamp+random.'_'.landingId.'.png')) rồi update lại path_landing của landing vừa tạo.",
      "rich_menu.rich_menu_id = null lúc insert, sau đó Service GỌI THẬT LINE API để publish: sau khi tạo xong `rich_menus` + `rich_menu_items`, build `areas` từ item (bounds x/y/width/height + action type=uri, uri=liff.line.me/{liffId}?unique_key={form_answer.unique_key} — đúng convention mở form qua LIFF trong buildAreaRichmenu case type_open_url=1), rồi gọi lại helper có sẵn `createRichmenuLine()` (functions.php:11222-11356, KHÔNG viết lại logic gọi LINE API) — helper này tự POST /v2/bot/richmenu, upload ảnh content, và UPDATE rich_menu_id thật vào bản ghi vừa tạo. Xem BotTutorialExpService::publishRichMenuToLine().",
      "template_image.content/thumbnail_path/image_server/file_size = \"{{computed_by_service}}\" placeholder trong JSON, GIÁ TRỊ THẬT do Service ghi đè sau resolvePlaceholders — xem BotTutorialExpService::copyTemplateImageAssets(). Đã verify trực tiếp với data thật trong bảng `template` (bot_id=46279): content thật = \"/msg_template/media/images/{userId}/{botId}/{str}/{str}.{ext}\" (env('FOLDER_MEDIA')='/msg_template/' + convention của MessageTemplateController::uploadMediaFile()), thumbnail_path thật NẰM Ở THƯ MỤC RIÊNG \"/msg_template/media/image-thumbnail/{userId}/{botId}/{str}.{ext}\" (KHÔNG phải file resize '240' nằm chung folder content như bản đầu tưởng nhầm — xem uploadThumbnailApiPath() cùng file). copyTemplateImageAssets() copy public/images/tutorial/step1/* (ảnh gốc + 5 size resize 240/300/460/700/1040 theo config('sns-line.image_size')) sang 2 thư mục local nói trên dưới public_path(), userId=getCurrentUser() (Auth::id(), không phải bot owner — cùng convention generateLandingQrImage()). image_server dùng env('URL_SERVER_MEDIA') (domain app, fallback mặc định của Template::getThumbnailPathWithDomainAttribute(), Template.php:27) chứ KHÔNG dùng URL_SERVER_MEDIA_IMG (CDN ngoài mà ảnh upload thật được đẩy lên qua callApiUpload() — ảnh demo của mình không gọi API ngoài nên file chỉ tồn tại cục bộ, trỏ ra CDN sẽ 404).",
      "rich_menu.url_image = \"{{computed_by_service}}\" placeholder trong JSON, GIÁ TRỊ THẬT do Service ghi đè — xem BotTutorialExpService::copyRichMenuImageAsset(). Đã verify với data thật trong bảng `rich_menus` (bot_id=46283): url_image = \"/msg_template/media/images/{userId}/{botId}/rich-menu/richmenu_{botId}_{menuId}_{random10}.jpg\" (đúng convention của UserController richmenu-create, dòng ~833-837: env('FOLDER_MEDIA').'media/images/'.$userId.'/'.$botId.'/rich-menu/' + tên 'richmenu_'.$botId.'_'.$menuId.'_'.str_random(10).'.jpg'). copyRichMenuImageAsset() copy public/images/tutorial/richmenu_step_4.jpg sang thư mục local đúng convention (userId=getCurrentUser()), update lại url_image của rich_menus vừa tạo, rồi publishRichMenuToLine() dùng url_image MỚI (không phải path tĩnh dùng chung) khi build ảnh gửi lên LINE API qua createRichmenuLine()."
    ],
    "assumptions_need_confirmation": [
      "3 nội dung text action_detail_auto_reply_text_* ghi \"体験⑤ クリア\" (số 5) dù đây là nhánh 体験② (keyword auto-reply) theo nội dung template_exp2 — giữ nguyên literal như SQL mẫu, không tự sửa số, có thể là artifact từ dữ liệu gốc.",
      "{{media_domain}} lấy trực tiếp qua env('APP_URL'). Asset thật (template_step_1.png) cần được đặt ở public/images/tutorial/ (khớp với content path) trước khi dùng thật.",
      "rich_menus.url_image dùng path KHÔNG có prefix '/public/' ('images/tutorial/richmenu_step_4.jpg') theo đúng literal user cung cấp, khác với template_image.content có prefix '/public/' ('/public/images/tutorial/template_step_1.png') — giữ nguyên đúng như user đưa cho từng field, có thể 2 chỗ dùng convention path khác nhau (rich menu serve trực tiếp qua url_image, template content có thể qua {{media_domain}} + content nên cần leading path riêng) — nếu không đúng ý xin đính chính.",
      "BẮT BUỘC: file ảnh thật tại public_path(rich_menus.url_image) phải tồn tại và có kích thước PIXEL CHÍNH XÁC 2500x1686 (khớp rich_menus.width/height) trước khi chạy — createRichmenuLine() gọi LINE API thật (POST /v2/bot/richmenu + upload content), LINE sẽ từ chối nếu ảnh không tồn tại hoặc sai kích thước, và BotTutorialExpService::publishRichMenuToLine() sẽ throw exception (không nuốt lỗi) khiến cả flow tạo demo thất bại.",
      "landing_richmenu.template_intro_id dùng lại {{template_intro.id}} (share chung 1 template intro 'cảm ơn giới thiệu bạn' cho cả 2 landing) — SQL mẫu ghi literal '87095' (không có insert riêng), suy đoán đây là cùng 1 template dùng chung giữa các landing/QR trong bot, giống cách image_map_id cần bảng cha dùng chung."
    ],
    "deviations_from_source_sql": [
      "SQL mẫu ban đầu user đưa cho 'template 24' (洋食 group) và 'template 26' (中華 group) bị copy-paste nhầm y hệt 'template 22' (和食 group, id=87115). Đã suy luận lại giá trị đúng dựa trên bằng chứng chéo và ĐÃ ĐƯỢC USER XÁC NHẬN khớp 100% với data thật (id=87117 name=洋食 content=87118 position=-6; id=87119 name=中華 content=87120 position=-7) — step `template_youshoku_group`/`template_chuka_group` trong fixture chính xác, không cần sửa.",
      "tags.count_user_tag, landing.total_user_click, landing.total_user_friend: set về '0' thay vì giữ nguyên giá trị mẫu ('2'/'14'/'2') vì đó là số liệu phát sinh sau khi dùng thực tế, không hợp lý cho 1 bản ghi vừa tạo mới.",
      "Mọi created_at/updated_at -> {{now}}, mọi update_timestamp -> {{now_unix}}: bản ghi mới nên dùng thời điểm tạo thực tế, không giữ timestamp cũ trong dữ liệu mẫu.",
      "Mọi field `position` (tags, template x6, landing, auto_reply) đều set '0' theo yêu cầu, thay vì giữ giá trị thứ tự riêng của bot 1111 trong SQL mẫu.",
      "rich_menu_item.form_answer_id: đổi từ '0' (literal SQL mẫu) thành null. Đối chiếu code thật (app/Helpers/functions.php::buildAreaRichmenu dòng ~10820-10845/10914-10937 và UserController::saveNewRichMenu dòng ~886-907): khi action mở form, field này LUÔN để rỗng/null bất kể type_open_url — chỉ dùng `content_open_url` (=form_answers.id) + `type_open_url=1` để xác định action mở form. `action_id=null` trong fixture cũng đã đúng convention (action_id chỉ có giá trị khi item dùng advanced action gắn qua t_actions/ActionDetail, không áp dụng cho action mở form đơn giản).",
      "Thêm 4 step filters_v2 (filter_auto_reply_template/washoku/youshoku/chuka) theo SQL mẫu thật user cung cấp — parent_id trỏ đúng action_detail tương ứng (đã thêm capture_as cho 4 t_actions_detail này), tags_search trỏ đúng tag tương ứng (tag=base tag cho biến thể 'template', tag_washoku/youshoku/chuka cho 3 biến thể còn lại). Trước đó filter thật bị thiếu hoàn toàn (xem temporary_hardcoded_from_sample cũ) — giờ đã bổ sung đầy đủ."
    ]
  },
  "placeholders": {
    "{{bot_id}}": "ID bot đang thực hiện onboarding tutorial (input của function)",
    "{{now}}": "Timestamp hiện tại, format Y-m-d H:i:s (Carbon::now())",
    "{{now_unix}}": "Unix timestamp hiện tại (Carbon::now()->timestamp)",
    "{{media_domain}}": "Domain public asset, lấy qua env('APP_URL') — dùng cho template_image.image_server",
    "{{landing_code}}": "Mã code 6 ký tự unique cho landing, sinh + check trùng theo bot_id (giống QRCodeController::checkRandomCodeLanding)",
    "{{landing_link_qr_code}}": "route('QRLanding', $liffId) . '?uLand=' . {{landing_code}}, liffId lấy từ bots.liff_app_id",
    "{{tag.id}}": "id vừa insert được ở step key=tag (tag1)",
    "{{template_image.id}}": "id vừa insert được ở step key=template_image (template1)",
    "{{template_group_image.id}}": "id vừa insert được ở step key=template_group_image (template2)",
    "{{template_exp1.id}}": "id vừa insert được ở step key=template_exp1 (template3)",
    "{{template_group_exp1.id}}": "id vừa insert được ở step key=template_group_exp1 (template4)",
    "{{action_image_map.id}}": "id vừa insert được ở step key=action_image_map (action1)",
    "{{action_qrcode.id}}": "id vừa insert được ở step key=action_qrcode (action2)",
    "{{template_intro.id}}": "id vừa insert được ở step key=template_intro",
    "{{category_select.id}}": "id vừa insert được ở step key=category_select (category.選択肢), dùng cho category_id + selected_group_id của 3 template group washoku/youshoku/chuka",
    "{{image_map.id}}": "id vừa insert được ở step key=image_map (bảng cha của image_map_items)",
    "{{action_auto_reply.id}}": "id vừa insert được ở step key=action_auto_reply (action3)",
    "{{template_exp2.id}}": "id vừa insert được ở step key=template_exp2 (template5)",
    "{{template_group_exp2.id}}": "id vừa insert được ở step key=template_group_exp2 (template6)"
  },
  "steps": [
    {
      "key": "tag",
      "table": "tags",
      "capture_as": "tag.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "フォーム未回答",
        "category_id": "0",
        "rich_menu_id": null,
        "position": "0",
        "add_template_id": null,
        "scenario_id": null,
        "scenario_day": null,
        "scenario_time": null,
        "is_2th_apply": "0",
        "max_users_number": null,
        "ins_add_template_id": null,
        "ins_scenario_id": null,
        "ins_scenario_day": null,
        "ins_scenario_time": null,
        "ins_is_2th_apply": null,
        "ins_tag_id": null,
        "action_mode": "0",
        "action_id": null,
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "count_user_tag": "0",
        "is_limit": "0",
        "limit": "0",
        "limit_action_id": null,
        "limit_action_mode": "0",
        "deleted_at": null,
        "user_id_del": null
      }
    },
    {
      "key": "template_image",
      "table": "template",
      "capture_as": "template_image.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": null,
        "category_id": null,
        "position": "0",
        "type": "image",
        "content": "{{computed_by_service}}",
        "thumbnail_path": "{{computed_by_service}}",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": "{{computed_by_service}}",
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": "1",
        "is_setting_image_map": "1",
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": "{{computed_by_service}}",
        "use_preview_url": "1"
      }
    },
    {
      "key": "template_group_image",
      "table": "template",
      "capture_as": "template_group_image.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "1通目",
        "category_id": "0",
        "position": "0",
        "type": "group",
        "content": "{{template_image.id}}",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": null,
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "template_exp1",
      "table": "template",
      "capture_as": "template_exp1.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": null,
        "category_id": null,
        "position": "0",
        "type": "text",
        "content": "🎉 体験① クリア！\r\nーーーーーーーーーー\r\n「画像タップでメッセージ送信」が完了しました✅\r\n\r\n📌 この機能でできること\r\n友だちに画像をタップしてもらうことで、任意のメッセージを自動で送信できます。\r\n\r\n👇 次のステップ\r\nPC画面の「体験② キーワード自動応答」に進んでください！",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": "",
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "template_group_exp1",
      "table": "template",
      "capture_as": "template_group_exp1.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "2通目",
        "category_id": "0",
        "position": "0",
        "type": "group",
        "content": "{{template_exp1.id}}",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": null,
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "action_image_map",
      "table": "t_actions",
      "capture_as": "action_image_map.id",
      "data": {
        "parent_id": "0",
        "type": "image_map_v2",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_detail_image_map_template",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_image_map.id}}",
        "bot_id": "{{bot_id}}",
        "type": "template",
        "data": {
          "group_id": 0,
          "id": "{{template_group_exp1.id}}",
          "template_name": "2通目",
          "selected_group_id": "0"
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "0",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "image_map",
      "table": "image_map",
      "capture_as": "image_map.id",
      "data": {
        "template_id": "{{template_image.id}}",
        "img_map_type": "0",
        "img_width": "1000",
        "img_height": "400",
        "img_alt": "メッセージをご確認ください",
        "img_type_a": null,
        "img_content_a": null,
        "img_type_b": null,
        "img_content_b": null,
        "img_type_c": null,
        "img_content_c": null,
        "img_type_d": null,
        "img_content_d": null,
        "img_type_e": null,
        "img_content_e": null,
        "img_type_f": null,
        "img_content_f": null,
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "is_setting_img_map_manually": "1"
      }
    },
    {
      "key": "image_map_item_exp1",
      "table": "image_map_items",
      "data": {
        "bot_id": "{{bot_id}}",
        "template_id": "{{template_image.id}}",
        "image_map_id": "{{image_map.id}}",
        "action_type": "0",
        "action_id": "{{action_image_map.id}}",
        "action_content": null,
        "open_url_type": null,
        "url": null,
        "form_answer_id": null,
        "bill_id": null,
        "bill_type": null,
        "booking_event_id": null,
        "site_script_id": null,
        "conversion_id": null,
        "x": "0",
        "y": "0",
        "width": "720",
        "height": "288",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "type_url_schema": "0",
        "data_url_schema": null,
        "flag_open_url_in_browser": null,
        "is_setting_url_expired_date": null,
        "date_url_expired_date": null,
        "time_url_expired_date": null,
        "number_day_url_expired_date": null,
        "calendar_id": null,
        "url_expired": null,
        "url_expired_message": null,
        "calendar_salon_id": null,
        "calendar_lesson_id": null
      }
    },
    {
      "key": "action_qrcode",
      "table": "t_actions",
      "capture_as": "action_qrcode.id",
      "data": {
        "parent_id": "0",
        "type": "qrcode",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_detail_qrcode_template",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_qrcode.id}}",
        "bot_id": "{{bot_id}}",
        "type": "template",
        "data": {
          "group_id": 0,
          "id": "{{template_group_image.id}}",
          "template_name": "エルメ新規接続時の体験デモ",
          "selected_group_id": 0
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "0",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_detail_qrcode_tag",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_qrcode.id}}",
        "bot_id": "{{bot_id}}",
        "type": "tag",
        "data": {
          "ids": [
            "{{tag.id}}"
          ],
          "action": 1,
          "is_select_all": false
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "0",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_auto_reply",
      "table": "t_actions",
      "capture_as": "action_auto_reply.id",
      "data": {
        "parent_id": "0",
        "type": "auto_reply",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "template_exp2",
      "table": "template",
      "capture_as": "template_exp2.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": null,
        "category_id": null,
        "position": "0",
        "type": "text",
        "content": "🎉 体験② クリア！\nーーーーーーーーーー\n「キーワード受信でメッセージ送信」が完了しました✅\n\n📌 この機能でできること\n友だちが特定のキーワードを送ると、自動でメッセージを返信できます。\n\n👇 次のステップ\n「体験③ リッチメニュー表示」に進みます。PC画面のQRコードを読み取ってください📷",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": "",
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "template_group_exp2",
      "table": "template",
      "capture_as": "template_group_exp2.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "3通目",
        "category_id": "0",
        "position": "0",
        "type": "group",
        "content": "{{template_exp2.id}}",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": null,
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "action_detail_auto_reply_template",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_auto_reply.id}}",
        "bot_id": "{{bot_id}}",
        "type": "template",
        "data": {
          "group_id": 0,
          "id": "{{template_group_exp2.id}}",
          "template_name": "3通目",
          "selected_group_id": 0
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "1",
        "update_timestamp": "{{now_unix}}"
      },
      "capture_as": "action_detail_auto_reply_template.id"
    },
    {
      "key": "action_detail_auto_reply_text_washoku",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_auto_reply.id}}",
        "bot_id": "{{bot_id}}",
        "type": "text",
        "data": {
          "content": "🎉 体験⑤ クリア！\nーーーーーーーーーー\n「和食」を選んだあなたへのキーワード応答メッセージです✅\n\n📌 この機能でできること\nアンケートの回答などで友だちを絞り込み、その条件に合う人にだけキーワード応答を送れます。\n\n🎊 これで体験は終了です\n\nPC画面に戻って「エルメの設定に進む」をクリックしてください👏"
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "1",
        "update_timestamp": "{{now_unix}}"
      },
      "capture_as": "action_detail_auto_reply_text_washoku.id"
    },
    {
      "key": "action_detail_auto_reply_text_youshoku",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_auto_reply.id}}",
        "bot_id": "{{bot_id}}",
        "type": "text",
        "data": {
          "content": "🎉 体験⑤ クリア！\nーーーーーーーーーー\n「洋食」を選んだあなたへのキーワード応答メッセージです✅\n\n📌 この機能でできること\nアンケートの回答などで友だちを絞り込み、その条件に合う人にだけキーワード応答を送れます。\n\n🎊 これで体験は終了です\n\nPC画面に戻って「エルメの設定に進む」をクリックしてください👏"
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "1",
        "update_timestamp": "{{now_unix}}"
      },
      "capture_as": "action_detail_auto_reply_text_youshoku.id"
    },
    {
      "key": "action_detail_auto_reply_text_chuka",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_auto_reply.id}}",
        "bot_id": "{{bot_id}}",
        "type": "text",
        "data": {
          "content": "🎉 体験⑤ クリア！\nーーーーーーーーーー\n【中華】を選んだあなたへのキーワード応答メッセージです✅\n\n📌 この機能でできること\nアンケートの回答などで友だちを絞り込み、その条件に合う人にだけキーワード応答を送れます。\n\n🎊 これで体験は終了です\n\nPC画面に戻って「エルメの設定に進む」をクリックしてください👏"
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "1",
        "update_timestamp": "{{now_unix}}"
      },
      "capture_as": "action_detail_auto_reply_text_chuka.id"
    },
    {
      "key": "auto_reply",
      "table": "auto_reply",
      "capture_as": "auto_reply.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "category_id": "0",
        "keyword_reaction_type": "1",
        "time_reaction_type": "0",
        "trigger_kind": "0",
        "logical": "0",
        "start_time": null,
        "end_time": null,
        "day_of_week": null,
        "position": "0",
        "is_stopped": "0",
        "response_number": "0",
        "reply_kind": null,
        "reply_content": null,
        "action_id": "{{action_auto_reply.id}}",
        "scenario_id": null,
        "scenario_type": "0",
        "scenario_day": "0",
        "scenario_time": null,
        "add_tag_ids": null,
        "remove_tag_ids": null,
        "is_deleted": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "is_apply_active_friend": "1",
        "is_no_reply_button": "0"
      }
    },
    {
      "key": "keyword_auto_reply",
      "table": "keyword",
      "data": {
        "auto_reply_id": "{{auto_reply.id}}",
        "keyword": "エルメ体験",
        "logical": "1",
        "created_at": "{{now}}",
        "updated_at": "{{now}}"
      }
    },
    {
      "key": "category_select",
      "table": "category",
      "capture_as": "category_select.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "kind": "2",
        "name": "選択肢",
        "position": "0",
        "is_deleted": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "category_id_old": "-1"
      }
    },
    {
      "key": "template_washoku_text",
      "table": "template",
      "capture_as": "template_washoku_text.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": null,
        "category_id": null,
        "position": "0",
        "type": "text",
        "content": "🎉 体験④ クリア！\nーーーーーーーーーー\n「アンケート回答に応じたメッセージ送信」が完了しました✅\n\nこのメッセージは、アンケートで【和食】を選んだあなたにだけお届けしています💡\n\n📌 この機能でできること\n1.リッチメニューのタップで回答フォームを表示することができます。\n\n2.アンケートの回答内容に応じて、友だち一人ひとりに違うメッセージを自動で送り分けできます。\n\n👇 次のステップ\nPC画面の「体験⑤ 絞り込みキーワード応答」に進んでください！",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": "",
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "template_washoku_group",
      "table": "template",
      "capture_as": "template_washoku_group.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "和食",
        "category_id": "{{category_select.id}}",
        "position": "0",
        "type": "group",
        "content": "{{template_washoku_text.id}}",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": null,
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "template_youshoku_text",
      "table": "template",
      "capture_as": "template_youshoku_text.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": null,
        "category_id": null,
        "position": "0",
        "type": "text",
        "content": "🎉 体験④ クリア！\nーーーーーーーーーー\n「アンケート回答に応じたメッセージ送信」が完了しました✅\n\nこのメッセージは、アンケートで【洋食】を選んだあなたにだけお届けしています💡\n\n📌 この機能でできること\n1.リッチメニューのタップで回答フォームを表示することができます。\n\n2.アンケートの回答内容に応じて、友だち一人ひとりに違うメッセージを自動で送り分けできます。\n\n👇 次のステップ\nPC画面の「体験⑤ 絞り込みキーワード応答」に進んでください！",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": "",
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "template_youshoku_group",
      "table": "template",
      "capture_as": "template_youshoku_group.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "洋食",
        "category_id": "{{category_select.id}}",
        "position": "0",
        "type": "group",
        "content": "{{template_youshoku_text.id}}",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": null,
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "template_chuka_text",
      "table": "template",
      "capture_as": "template_chuka_text.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": null,
        "category_id": null,
        "position": "0",
        "type": "text",
        "content": "🎉 体験④ クリア！\nーーーーーーーーーー\n「アンケート回答に応じたメッセージ送信」が完了しました✅\n\nこのメッセージは、アンケートで【中華】を選んだあなたにだけお届けしています💡\n\n📌 この機能でできること\n1.リッチメニューのタップで回答フォームを表示することができます。\n\n2.アンケートの回答内容に応じて、友だち一人ひとりに違うメッセージを自動で送り分けできます。\n\n👇 次のステップ\nPC画面の「体験⑤ 絞り込みキーワード応答」に進んでください！",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": "",
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "template_chuka_group",
      "table": "template",
      "capture_as": "template_chuka_group.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "中華",
        "category_id": "{{category_select.id}}",
        "position": "0",
        "type": "group",
        "content": "{{template_chuka_text.id}}",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": null,
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "action_add_tag_washoku",
      "table": "t_actions",
      "capture_as": "action_add_tag_washoku.id",
      "data": {
        "parent_id": "0",
        "type": "add_tag",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_add_tag_youshoku",
      "table": "t_actions",
      "capture_as": "action_add_tag_youshoku.id",
      "data": {
        "parent_id": "0",
        "type": "add_tag",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_add_tag_chuka",
      "table": "t_actions",
      "capture_as": "action_add_tag_chuka.id",
      "data": {
        "parent_id": "0",
        "type": "add_tag",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_detail_add_tag_washoku_template",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_add_tag_washoku.id}}",
        "bot_id": "{{bot_id}}",
        "type": "template",
        "data": {
          "group_id": 0,
          "id": "{{template_washoku_group.id}}",
          "template_name": "和食",
          "selected_group_id": "{{category_select.id}}"
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "0",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_detail_add_tag_youshoku_template",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_add_tag_youshoku.id}}",
        "bot_id": "{{bot_id}}",
        "type": "template",
        "data": {
          "group_id": 0,
          "id": "{{template_youshoku_group.id}}",
          "template_name": "洋食",
          "selected_group_id": "{{category_select.id}}"
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "0",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_detail_add_tag_chuka_template",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_add_tag_chuka.id}}",
        "bot_id": "{{bot_id}}",
        "type": "template",
        "data": {
          "group_id": 0,
          "id": "{{template_chuka_group.id}}",
          "template_name": "中華",
          "selected_group_id": "{{category_select.id}}"
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "0",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "tag_washoku",
      "table": "tags",
      "capture_as": "tag_washoku.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "和食",
        "category_id": "0",
        "rich_menu_id": null,
        "position": "0",
        "add_template_id": null,
        "scenario_id": null,
        "scenario_day": null,
        "scenario_time": null,
        "is_2th_apply": "0",
        "max_users_number": null,
        "ins_add_template_id": null,
        "ins_scenario_id": null,
        "ins_scenario_day": null,
        "ins_scenario_time": null,
        "ins_is_2th_apply": null,
        "ins_tag_id": null,
        "action_mode": "0",
        "action_id": "{{action_add_tag_washoku.id}}",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "count_user_tag": "0",
        "is_limit": "0",
        "limit": "0",
        "limit_action_id": null,
        "limit_action_mode": "0",
        "deleted_at": null,
        "user_id_del": null
      }
    },
    {
      "key": "tag_youshoku",
      "table": "tags",
      "capture_as": "tag_youshoku.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "洋食",
        "category_id": "0",
        "rich_menu_id": null,
        "position": "0",
        "add_template_id": null,
        "scenario_id": null,
        "scenario_day": null,
        "scenario_time": null,
        "is_2th_apply": "0",
        "max_users_number": null,
        "ins_add_template_id": null,
        "ins_scenario_id": null,
        "ins_scenario_day": null,
        "ins_scenario_time": null,
        "ins_is_2th_apply": null,
        "ins_tag_id": null,
        "action_mode": "0",
        "action_id": "{{action_add_tag_youshoku.id}}",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "count_user_tag": "0",
        "is_limit": "0",
        "limit": "0",
        "limit_action_id": null,
        "limit_action_mode": "0",
        "deleted_at": null,
        "user_id_del": null
      }
    },
    {
      "key": "tag_chuka",
      "table": "tags",
      "capture_as": "tag_chuka.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "中華",
        "category_id": "0",
        "rich_menu_id": null,
        "position": "0",
        "add_template_id": null,
        "scenario_id": null,
        "scenario_day": null,
        "scenario_time": null,
        "is_2th_apply": "0",
        "max_users_number": null,
        "ins_add_template_id": null,
        "ins_scenario_id": null,
        "ins_scenario_day": null,
        "ins_scenario_time": null,
        "ins_is_2th_apply": null,
        "ins_tag_id": null,
        "action_mode": "0",
        "action_id": "{{action_add_tag_chuka.id}}",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "count_user_tag": "0",
        "is_limit": "0",
        "limit": "0",
        "limit_action_id": null,
        "limit_action_mode": "0",
        "deleted_at": null,
        "user_id_del": null
      }
    },
    {
      "key": "filter_auto_reply_template",
      "table": "filters_v2",
      "data": {
        "bot_id": "{{bot_id}}",
        "parent_type": "modal_action",
        "parent_id": "{{action_detail_auto_reply_template.id}}",
        "operator": "and",
        "type": "tag",
        "data": {
          "active": true,
          "tags_search": [
            "{{tag.id}}"
          ],
          "tag_condition": 0,
          "default_check_all": false
        },
        "text_preview": "",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "rich_menu_item_id": null,
        "rich_menu_redirect_id": null
      }
    },
    {
      "key": "filter_auto_reply_washoku",
      "table": "filters_v2",
      "data": {
        "bot_id": "{{bot_id}}",
        "parent_type": "modal_action",
        "parent_id": "{{action_detail_auto_reply_text_washoku.id}}",
        "operator": "and",
        "type": "tag",
        "data": {
          "active": true,
          "tags_search": [
            "{{tag_washoku.id}}"
          ],
          "tag_condition": 0,
          "default_check_all": false
        },
        "text_preview": "",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "rich_menu_item_id": null,
        "rich_menu_redirect_id": null
      }
    },
    {
      "key": "filter_auto_reply_youshoku",
      "table": "filters_v2",
      "data": {
        "bot_id": "{{bot_id}}",
        "parent_type": "modal_action",
        "parent_id": "{{action_detail_auto_reply_text_youshoku.id}}",
        "operator": "and",
        "type": "tag",
        "data": {
          "active": true,
          "tags_search": [
            "{{tag_youshoku.id}}"
          ],
          "tag_condition": 0,
          "default_check_all": false
        },
        "text_preview": "",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "rich_menu_item_id": null,
        "rich_menu_redirect_id": null
      }
    },
    {
      "key": "filter_auto_reply_chuka",
      "table": "filters_v2",
      "data": {
        "bot_id": "{{bot_id}}",
        "parent_type": "modal_action",
        "parent_id": "{{action_detail_auto_reply_text_chuka.id}}",
        "operator": "and",
        "type": "tag",
        "data": {
          "active": true,
          "tags_search": [
            "{{tag_chuka.id}}"
          ],
          "tag_condition": 0,
          "default_check_all": false
        },
        "text_preview": "",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "rich_menu_item_id": null,
        "rich_menu_redirect_id": null
      }
    },
    {
      "key": "action_form_answer_setting",
      "table": "t_actions",
      "capture_as": "action_form_answer_setting.id",
      "data": {
        "parent_id": "0",
        "type": "formAnswer_setting_action",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_detail_form_answer_remove_tag",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_form_answer_setting.id}}",
        "bot_id": "{{bot_id}}",
        "type": "tag",
        "data": {
          "ids": [
            "{{tag.id}}"
          ],
          "action": "2",
          "is_select_all": false
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "0",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_detail_form_answer_richmenu",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_form_answer_setting.id}}",
        "bot_id": "{{bot_id}}",
        "type": "richmenu",
        "data": {
          "id": 0,
          "action": 1,
          "richmenu_name": "",
          "selected_group_id": "0",
          "is_expand_group": false
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "0",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "form_answer",
      "table": "form_answer",
      "capture_as": "form_answer.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "アンケート",
        "line_name": "体験④ アンケート",
        "system_name": "アンケート",
        "form_type": "1",
        "title": "体験④ アンケート",
        "description": "こちらから回答してください。",
        "reply_kind": "0",
        "reply_text": "あなたがこのフォームに回答できる上限に達しました。",
        "unique_key": "{{form_answer_unique_key}}",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "google_sheet_access_token": null,
        "google_sheet_id": null,
        "diagnostic_friend_info_id": "0",
        "use_basic_diagnostic": "0",
        "is_public": "1",
        "group_id": "0",
        "position": "0",
        "color": "#08BF5A",
        "image_header": null,
        "button_submit_name": null,
        "message_notify_success": "回答を受け付けました。ページを閉じてください。",
        "action_open_id": null,
        "action_open_type": "1",
        "action_reply_id": "{{action_form_answer_setting.id}}",
        "action_reply_type": "2",
        "custom_style": "/* ===== エルメ回答フォーム グリーンデザイン（質問文＝案D） ===== */\n\n:root{\n  --green:       #1ca84a;\n  --green-dark:  #178f3e;\n  --green-light: #eafaf0;\n  --green-pale:  #f4fbf6;\n}\n\nbody{ background: var(--green-pale) !important; }\n\n/* ===== 質問文：下線アクセント（背景なし・すっきり） ===== */\n.q-title{\n  background: transparent !important;\n  border: none !important;\n  border-bottom: 3px solid var(--green) !important;\n  border-radius: 0 !important;\n  box-shadow: none !important;\n  padding: 6px 2px 12px !important;\n  text-align: left !important;\n  color: #1a4d2e !important;\n  font-size: 17px !important;\n  font-weight: 700 !important;\n}\n/* 上に小さな「QUESTION」ラベルを自動表示 */\n.q-title::before{\n  content: \"● QUESTION\";\n  display: block;\n  color: var(--green);\n  font-size: 12px;\n  font-weight: 500;\n  letter-spacing: .04em;\n  margin-bottom: 6px;\n}\n.q-title *{ color: #1a4d2e !important; }\n\n/* ===== 「*」必須マークを小さく控えめに ===== */\n.required, .require, .form-required, .must, [class*=\"require\"]{\n  font-size: 12px !important;\n  color: #9aa0a6 !important;\n  font-weight: 400 !important;\n}\n/* ↑完全に消したい場合は上を消して下の1行に置き換え\n[class*=\"require\"]{ display: none !important; }\n*/\n\n/* ===== ラジオボタンの選択肢（白いカード） ===== */\nlabel{\n  display: block !important;\n  position: relative;\n  margin: 10px 0 !important;\n  padding: 14px 16px 14px 50px !important;\n  border: 2px solid #d7eadd !important;\n  border-radius: 12px !important;\n  background: #ffffff !important;\n  font-size: 16px !important;\n  color: #333 !important;\n  cursor: pointer;\n  transition: all .2s ease;\n}\nlabel:hover{\n  border-color: var(--green) !important;\n  background: var(--green-light) !important;\n}\ninput[type=\"radio\"],\ninput[type=\"checkbox\"]{\n  accent-color: var(--green) !important;\n  width: 20px !important;\n  height: 20px !important;\n  position: absolute;\n  left: 16px;\n  top: 50%;\n  transform: translateY(-50%);\n}\ninput[type=\"radio\"]:checked + span,\ninput[type=\"checkbox\"]:checked + span{\n  color: var(--green-dark) !important;\n  font-weight: 700 !important;\n}\n\n/* ===== 送信ボタン：横幅を短く＆中央寄せ ===== */\nbutton,\ninput[type=\"submit\"],\n.submit-button,\n.form-submit{\n  display: block !important;\n  width: 70% !important;\n  max-width: 320px !important;\n  margin: 24px auto 0 !important;\n  background: var(--green) !important;\n  color: #ffffff !important;\n  font-size: 18px !important;\n  font-weight: 700 !important;\n  border: none !important;\n  border-radius: 12px !important;\n  padding: 16px !important;\n  box-shadow: 0 4px 0 var(--green-dark) !important;\n  cursor: pointer;\n  transition: all .15s ease;\n}\nbutton:hover,\ninput[type=\"submit\"]:hover,\n.submit-button:hover{ background: var(--green-dark) !important; }\nbutton:active,\ninput[type=\"submit\"]:active,\n.submit-button:active{\n  transform: translateY(3px);\n  box-shadow: 0 1px 0 var(--green-dark) !important;\n}",
        "reply_use_url": "2",
        "title_timer": "終了まであと",
        "option_show_timer": "0",
        "option_timer": "0",
        "unit_timer": "0",
        "date_timer_count_down": null,
        "time_timer_count_down": null,
        "time_duration": "00:00",
        "text_color_timer": "#FFFFFF",
        "bg_color_timer": "#08BF5A",
        "url_redirect_timer": null,
        "position_countdown": "0",
        "use_url_reply_countdown": "0",
        "message_notify_count_down": "このフォームの表示期限は終了しています。",
        "url_notify_success": null,
        "is_duration_timer": "0",
        "days_timer_count_down": "0",
        "bg_color_button": "#EDF4FB",
        "text_color_button": "#5799DB",
        "count_user_reply": "0",
        "deleted_at": null,
        "use_redirect_limit_reply": "0",
        "url_redirect_limit_reply": null,
        "limit_reply_friend": "1",
        "is_public_use_url": "0",
        "is_public_message": "このフォームは回答を受け付けていません。",
        "is_public_url": null,
        "is_limit_reply": "0",
        "limit_reply": "1",
        "is_use_url_limit_reply": "0",
        "limit_reply_message": "このフォームの回答上限に達しました。",
        "limit_reply_url": null,
        "setting_page_confirm": "{\"data\":{\"type\":\"1\",\"bg_color\":\"#EDF4FB\",\"f_weight\":\"600\",\"is_shadow\":\"1\",\"text_color\":\"#5799DB\"},\"text\":\"回答を送信する\",\"is_setting\":\"0\"}",
        "custom_js": null,
        "custom_js_bak": null,
        "new_version": "0",
        "show_duration": "0",
        "is_use_message_reply_success": "0",
        "message_reply_success": null,
        "is_send_gen_message": "0",
        "user_id_del": null,
        "using_old_version": "0"
      }
    },
    {
      "key": "form_answer_setting_common",
      "table": "form_answer_setting_common",
      "data": {
        "bot_id": "{{bot_id}}",
        "form_id": "{{form_answer.id}}",
        "image_header": null,
        "bg_form": "#FFFFFF",
        "label_pattern": "1",
        "label_color": "#FFFFFF",
        "label_bg_color": "#5799DB",
        "label_font_weight": "600",
        "label_font_size": "24",
        "label_text_align": "center",
        "label_overwrite": "0",
        "line_pattern": "1",
        "line_color": "#5799DB",
        "line_width": "350",
        "line_overwrite": "0",
        "question_color": "#222222",
        "question_font_weight": "600",
        "question_font_size": "16",
        "description_color": "#222222",
        "description_font_weight": "300",
        "description_font_size": "14",
        "button_pattern": "1",
        "button_color": "#5799DB",
        "button_bg_color": "#EDF4FB",
        "button_font_weight": "600",
        "button_shadow": "1",
        "button_overwrite": "0",
        "title_class": null,
        "subtitle_class": null,
        "line_class": null,
        "question_class": "q-title",
        "subquestion_class": null,
        "dropdown_class": null,
        "radio_class": "my-radio",
        "checkbox_class": null,
        "button_class": "my-btn",
        "class_overwrite": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "deleted_at": null
      }
    },
    {
      "key": "form_answer_page",
      "table": "form_answer_page",
      "capture_as": "form_answer_page.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "form_id": "{{form_answer.id}}",
        "page_type": "1",
        "page_number": "1",
        "page_name": "スタートページ",
        "page_image": null,
        "button_name": "回答する",
        "button_pattern": "1",
        "button_color": "#5799DB",
        "button_bg_color": "#EDF4FB",
        "button_font_weight": "600",
        "button_shadow": "1",
        "css_specification": "my-btn",
        "next_page_type": "3",
        "next_page_form_detail_id": null,
        "next_page_setting": null,
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "deleted_at": null
      }
    },
    {
      "key": "form_answer_details",
      "table": "form_answer_details",
      "data": {
        "form_id": "{{form_answer.id}}",
        "page_id": "{{form_answer_page.id}}",
        "type": "select",
        "name": "select2_5",
        "typeoption": "radio",
        "label": "複数選択肢（タグ用）",
        "title": "好きな料理を選んでください。",
        "help": "",
        "default": "false",
        "value": null,
        "rules": "{\"required\":false}",
        "settings": "{\"type\":\"select\",\"items\":[{\"label\":\"\\u548c\\u98df\",\"value\":\"\\u548c\\u98df\",\"disabled\":0,\"auto_add_other\":0,\"idTmp\":1},{\"label\":\"\\u6d0b\\u98df\",\"value\":\"\\u6d0b\\u98df\",\"disabled\":0,\"auto_add_other\":0,\"idTmp\":2},{\"label\":\"\\u4e2d\\u83ef\",\"value\":\"\\u4e2d\\u83ef\",\"disabled\":0,\"auto_add_other\":0,\"idTmp\":3}]}",
        "is_new": "1",
        "file_type": "0",
        "setting_number_limit": null,
        "select_number_limit": "0",
        "css_setting_class": "{\"title\":null,\"help\":null,\"options\":null}",
        "auto_add_other": "0",
        "default_date": null,
        "type_default_date": "0",
        "friend_info_type": "1",
        "is_link_friend_info": "0",
        "apply_rules": "0",
        "placeholder": "",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "file_upload": null,
        "required_date": "0",
        "required_time": "0",
        "position": "0",
        "friend_info_id": "0",
        "in_tag": "0",
        "in_tag_and_friend": "2",
        "bg_color": "",
        "text_color": "",
        "is_display_info_friend": "1",
        "deleted_at": null,
        "css_specification": null,
        "is_question": "1",
        "is_show": "1"
      }
    },
    {
      "key": "rich_menu",
      "table": "rich_menus",
      "capture_as": "rich_menu.id",
      "data": {
        "group_id": "0",
        "bot_id": "{{bot_id}}",
        "tag_id": null,
        "rich_menu_id": null,
        "name": "リッチメニュー",
        "position": "0",
        "time_display": "0",
        "chat_bar_name": null,
        "title_menu": "▲ リッチメニューをタップ",
        "default_menu": null,
        "model": "image",
        "size": "2500 x 1686",
        "width": "2500",
        "height": "1686",
        "layout": "",
        "layout_type": "0",
        "url_image": "{{computed_by_service}}",
        "open_date": null,
        "close_date": null,
        "status": "1",
        "status_line": "0",
        "status_rich": "1",
        "status_link": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "is_updated": "0",
        "status_updated": "0",
        "queue_richmenu_id": null,
        "deleted_at": null,
        "template_type": "7",
        "user_id_del": null,
        "step_active": "4",
        "display_end_date_old_data": "0",
        "end_time_display": null,
        "layout_updated": "{{now}}"
      }
    },
    {
      "key": "rich_menu_item",
      "table": "rich_menu_items",
      "data": {
        "rich_id": "{{rich_menu.id}}",
        "bot_id": "{{bot_id}}",
        "tag_id": "0",
        "template_id": "0",
        "form_answer_id": null,
        "add_rich_id": "0",
        "action_type": "URL",
        "keyword_id": "0",
        "text_keyword": "",
        "url": "",
        "voice_over_label": null,
        "text": "",
        "icon_index": "0",
        "icon_label": "",
        "sort": "1",
        "x": "0",
        "y": "0",
        "width": "2500",
        "height": "1686",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "action_id": null,
        "type_open_url": "1",
        "content_open_url": "{{form_answer.id}}",
        "type_bill_product": "1",
        "deleted_at": null,
        "type_bill_item": "0",
        "show_rich_menu_action": "1",
        "folder_id": "0",
        "cancel_page": "0"
      }
    },
    {
      "key": "action_qrcode_richmenu",
      "table": "t_actions",
      "capture_as": "action_qrcode_richmenu.id",
      "data": {
        "parent_id": "0",
        "type": "qrcode",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "action_detail_qrcode_richmenu_richmenu",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_qrcode_richmenu.id}}",
        "bot_id": "{{bot_id}}",
        "type": "richmenu",
        "data": {
          "id": "{{rich_menu.id}}",
          "action": 2,
          "richmenu_name": "リッチメニュー",
          "selected_group_id": 0,
          "is_expand_group": false
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "0",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "template_richmenu_exp_text",
      "table": "template",
      "capture_as": "template_richmenu_exp_text.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": null,
        "category_id": null,
        "position": "0",
        "type": "text",
        "content": "🎉 体験③ クリア！\nーーーーーーーーーー\n「QRコード読み取りでリッチメニュー表示」が完了しました✅\n\n📌 この機能でできること\nQRコードの読み取りをきっかけに、トーク画面下のリッチメニューを表示できます。\n\n👇 次のステップ\nPC画面に戻って「体験④ アンケートに回答する」に進んでください。",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": "",
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "template_richmenu_exp_group",
      "table": "template",
      "capture_as": "template_richmenu_exp_group.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "4通目",
        "category_id": "0",
        "position": "0",
        "type": "group",
        "content": "{{template_richmenu_exp_text.id}}",
        "thumbnail_path": "",
        "duration": null,
        "answer_type": "0",
        "is_shorten_url": "1",
        "number_action_url_redirect": "1",
        "in_park": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "carousel_action_type": "0",
        "action_video_id": null,
        "image_server": null,
        "rate_image_button": null,
        "type_button": "1",
        "message_sent_when_exceed_click": null,
        "type_size": "large",
        "is_original_aspect_ratio": null,
        "is_setting_image_map": null,
        "text_video": null,
        "action_id_when_exceed_click": null,
        "is_send_message_when_exceed_click": "1",
        "flag_type_content_quick_reply": "1",
        "is_delay_message": null,
        "update_timestamp": "{{now_unix}}",
        "file_size": null,
        "use_preview_url": "1"
      }
    },
    {
      "key": "action_detail_qrcode_richmenu_template",
      "table": "t_actions_detail",
      "data": {
        "action_id": "{{action_qrcode_richmenu.id}}",
        "bot_id": "{{bot_id}}",
        "type": "template",
        "data": {
          "group_id": 0,
          "id": "{{template_richmenu_exp_group.id}}",
          "template_name": "4通目",
          "selected_group_id": 0
        },
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "has_filters": "0",
        "update_timestamp": "{{now_unix}}"
      }
    },
    {
      "key": "template_intro",
      "table": "template",
      "capture_as": "template_intro.id",
      "data": {
        "bot_id": "{{bot_id}}",
        "category_id": "-111222",
        "type": "text",
        "position": "0",
        "content": "友だちご紹介ありがとうございます✨ \nご紹介特典のクーポンをお受け取りください！"
      }
    },
    {
      "key": "landing",
      "table": "landing",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "エルメ新規接続時の体験デモ",
        "code": "{{landing_code}}",
        "link_qr_code": "{{landing_link_qr_code}}",
        "text_send": null,
        "category_id": "0",
        "connect_aff": "0",
        "template_id": null,
        "template_intro_id": "{{template_intro.id}}",
        "template_general_id": null,
        "scenario_id": null,
        "tag_id": null,
        "total_user_click": "0",
        "total_user_friend": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "action_type": "2",
        "action_id": "{{action_qrcode.id}}",
        "postback_type": "0",
        "type_open_url": "0",
        "postback_content": null,
        "action_with_friend": "2",
        "action_with_qrcode_normal": "1",
        "head_content": null,
        "body_content": null,
        "bill_type": null,
        "position": "0",
        "url_connect_qrcode_outside": null,
        "interval_action": "0",
        "time_interval_action": null,
        "path_landing": null,
        "count_action_web": "0",
        "user_introduction_action_id": null,
        "use_user_intro_action_message": "1",
        "intro_page_title": "友だち紹介キャンペーン",
        "intro_page_content": "<strong>【これはデモテキストです】</strong><p style=\"font-size: 14px; font-weight: 300\">お友だちを紹介していただくと紹介者と新規登録者の両方にクーポンや限定ポイントなど魅力的な特典をプレゼント！</p><p style=\"font-size: 14px; font-weight: 300\">キャンペーン期間限定の企画ですので、この機会にぜひお得な特典をGETしてください。</p>",
        "intro_message": "【LINE友だち追加で特典GET】\r\n登録するだけで初回限定クーポンをプレゼント！",
        "status": "1",
        "google_sheet_id": null,
        "use_msg_new_friend": "0",
        "use_msg_old_friend": "0",
        "use_msg_unblock": "0",
        "deleted_at": null,
        "type_display_off": "0",
        "data_display_off": null,
        "setting_logo": "1",
        "path_logo": null,
        "type_design_qr": "1",
        "color_qr": null,
        "text_design_qr": null,
        "is_on_param": "0",
        "is_on_html": "0",
        "is_on_callback": "0",
        "count_action": "0",
        "use_limit_time": "0",
        "limit_start_time": null,
        "limit_end_time": null,
        "use_qr_page_over_time": "1",
        "action_limit_id": null,
        "use_action_limit": "0",
        "is_use_url_over_time": "0",
        "text_over_time": "有効期間外です。",
        "url_over_time": null,
        "operator_id": null,
        "use_limit_end_time": "1",
        "time_qr_off_status": null
      }
    },
    {
      "key": "landing_richmenu",
      "table": "landing",
      "data": {
        "bot_id": "{{bot_id}}",
        "name": "リッチメニュー表示用",
        "code": "{{landing_code}}",
        "link_qr_code": "{{landing_link_qr_code}}",
        "text_send": null,
        "category_id": "0",
        "connect_aff": "0",
        "template_id": null,
        "template_intro_id": "{{template_intro.id}}",
        "template_general_id": null,
        "scenario_id": null,
        "tag_id": null,
        "total_user_click": "0",
        "total_user_friend": "0",
        "created_at": "{{now}}",
        "updated_at": "{{now}}",
        "action_type": "2",
        "action_id": "{{action_qrcode_richmenu.id}}",
        "postback_type": "0",
        "type_open_url": "0",
        "postback_content": null,
        "action_with_friend": "2",
        "action_with_qrcode_normal": "1",
        "head_content": null,
        "body_content": null,
        "bill_type": null,
        "position": "0",
        "url_connect_qrcode_outside": null,
        "interval_action": "0",
        "time_interval_action": null,
        "path_landing": null,
        "count_action_web": "0",
        "user_introduction_action_id": null,
        "use_user_intro_action_message": "1",
        "intro_page_title": "友だち紹介キャンペーン",
        "intro_page_content": "<strong>【これはデモテキストです】</strong><p style=\"font-size: 14px; font-weight: 300\">お友だちを紹介していただくと紹介者と新規登録者の両方にクーポンや限定ポイントなど魅力的な特典をプレゼント！</p><p style=\"font-size: 14px; font-weight: 300\">キャンペーン期間限定の企画ですので、この機会にぜひお得な特典をGETしてください。</p>",
        "intro_message": "【LINE友だち追加で特典GET】\n登録するだけで初回限定クーポンをプレゼント！",
        "status": "1",
        "google_sheet_id": null,
        "use_msg_new_friend": "0",
        "use_msg_old_friend": "0",
        "use_msg_unblock": "0",
        "deleted_at": null,
        "type_display_off": "0",
        "data_display_off": null,
        "setting_logo": "1",
        "path_logo": null,
        "type_design_qr": "1",
        "color_qr": null,
        "text_design_qr": null,
        "is_on_param": "0",
        "is_on_html": "0",
        "is_on_callback": "0",
        "count_action": "0",
        "use_limit_time": "0",
        "limit_start_time": null,
        "limit_end_time": null,
        "use_qr_page_over_time": "1",
        "action_limit_id": null,
        "use_action_limit": "0",
        "is_use_url_over_time": "0",
        "text_over_time": "有効期間外です。",
        "url_over_time": null,
        "operator_id": null,
        "use_limit_end_time": "1",
        "time_qr_off_status": null
      }
    }
  ]
}
