// 20200625163114
// https://static.withings.com/content/forms/covidnearyou/conv/BCH.hconv

{
  "id": 0,
  "category": "",
  "modified": 0,
  "archivable": true,
  "read": false,
  "opened": true,
  "emotion": "https://static.corp.withings.com/content/app/healthmate/programs/img/coach_emoji/info/data.json",
  "crmid": "",
  "day": 0,
  "deleted": false,
  "format": "",
  "created": 0,
  "bgcolor": "",
  "content": {
    "title": "COVID-19",
    "subtitle": "Take the COVID-19 survey to help advance science & get info",
    "button_text": "Take the test",
    "button_url": "",
    "conversation": [
      {
        "content": "This test is published by Boston Children's Hospital in partnership with Withings to help you assess your symptoms. Your submission will also help us to conduct epidemiological studies and visualize the spread of symptoms associated with COVID-19.",
        "expected_user_response": false,
        "message_id": 0,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Next"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/nextItem?id=2",
              "conditions": {
                "$input": "0"
              }
            }
          ]
        },
        "input_type": "suggestions",
        "conditionalOnDisplayActions": [
          {
            "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"chatbot_opened_conversations__covid_us\",\"value\":\"1\",\"save\":\"t\"}"
          }
        ]
      },
      {
        "content": "Do you agree to share your survey answers with covidnearyou.org? This anonymous data, including the age in your Health Mate profile, will be sent to Boston Children's Hospital and used to help public health professionals fight the COVID-19 pandemic.",
        "expected_user_response": false,
        "message_id": 2,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes, I agree."
            },
            {
              "id": 1,
              "text": "I don't agree. This will close the window."
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_covid19_research_consent\",\"value\":\"yes\",\"save\":\"t\"}",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_covid19_research_consent\",\"value\":\"no\",\"save\":\"t\"}",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=5",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-bd2://timeline",
              "conditions": {
                "$input": "1"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "How are you feeling?",
        "expected_user_response": false,
        "message_id": 5,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "I feel good, thanks!"
            },
            {
              "id": 1,
              "text": "Not feeling well, I have symptoms of illness."
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_feelingbad&value=0",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_feelingbad\",\"value\":\"0\",\"save\":\"t\"}",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=20",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_feelingbad&value=1",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_feelingbad\",\"value\":\"1\",\"save\":\"t\"}",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=6",
              "conditions": {
                "$input": "1"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Sorry to hear you're not feeling well. Do you think you have a fever?",
        "expected_user_response": false,
        "message_id": 6,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_fever&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=70",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_fever&value=0",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=9",
              "conditions": {
                "$input": "1"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Did you take your temperature?",
        "expected_user_response": false,
        "message_id": 70,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_fever_measured&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_fever_measured\",\"value\":\"1\",\"save\":\"t\"}",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=71",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_fever_measured&value=0",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_fever_measured\",\"value\":\"0\",\"save\":\"t\"}",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=9",
              "conditions": {
                "$input": "1"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "In which unit of measurement did you take it?",
        "expected_user_response": false,
        "message_id": 71,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Fahrenheit (Â°F)"
            },
            {
              "id": 1,
              "text": "Celsius (Â°C)"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_fever_unit&value=F",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_fever_unit\",\"value\":\"F\",\"save\":\"t\"}",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=80",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_fever_unit&value=C",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_fever_unit\",\"value\":\"C\",\"save\":\"t\"}",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=81",
              "conditions": {
                "$input": "1"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "What was your highest temperature in Fahrenheit (Â°F)?",
        "expected_user_response": false,
        "message_id": 80,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_type": "picker",
        "input_metadata": {
          "keyboard": "number_and_punctuation",
          "button_title": "Confirm",
          "placeholder": "Enter your answer here",
          "suffix": "Â°F",
          "control": "min=94 max=108 step=0.1 placeholder=98.6",
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_fever_valueF&value=$input"
            },
            {
              "action": "withings-events://coach/nextItem?id=9"
            }
          ]
        }
      },
      {
        "content": "What was your highest temperature in Celsius (Â°C)?",
        "expected_user_response": false,
        "message_id": 81,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_type": "picker",
        "input_metadata": {
          "keyboard": "number_and_punctuation",
          "button_title": "Confirm",
          "placeholder": "Enter your answer here",
          "suffix": "Â°C",
          "control": "min=34 max=42 step=0.1 placeholder=37.0",
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_fever_valueC&value=$input"
            },
            {
              "action": "withings-events://coach/nextItem?id=9"
            }
          ]
        }
      },
      {
        "content": "Do you have any of the following symptoms? Select all that apply.",
        "expected_user_response": false,
        "message_id": 9,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_type": "suggestions",
        "input_metadata": {
          "style": "multiple_choice",
          "default_action": "withings-events://coach/nextItem?id=10",
          "suggestions": [
            {
              "id": 0,
              "text": "Fatigue"
            },
            {
              "id": 1,
              "text": "Cough"
            },
            {
              "id": 2,
              "text": "Aches & pains"
            },
            {
              "id": 3,
              "text": "None",
              "unique": true
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_fatigue&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=90"
            },
            {
              "action": "withings-events://coach/setContext?key=bch_cough&value=1",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_aches&value=1",
              "conditions": {
                "$input": "2"
              }
            }
          ]
        }
      },
      {
        "content": "In the past 24 hours, did you feel that you were more out of breath than usual? For example, did you feel more breathless during a walk, climbing a short flight of stairs, when sitting, lying down or getting up from bed or a chair?",
        "expected_user_response": false,
        "message_id": 90,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_breath&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=10"
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Have you experienced any of the following? Please select all that apply.",
        "expected_user_response": false,
        "message_id": 10,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_type": "suggestions",
        "input_metadata": {
          "style": "multiple_choice",
          "default_action": "withings-events://coach/nextItem?id=100",
          "suggestions": [
            {
              "id": 0,
              "text": "Sneezing"
            },
            {
              "id": 1,
              "text": "Runny or stuffy nose"
            },
            {
              "id": 3,
              "text": "Diarrhea"
            },
            {
              "id": 4,
              "text": "Headaches"
            },
            {
              "id": 5,
              "text": "Nausea"
            },
            {
              "id": 6,
              "text": "Rash"
            },
            {
              "id": 7,
              "text": "Chills/Night sweats"
            },
            {
              "id": 8,
              "text": "Other symptoms"
            },
            {
              "id": 9,
              "text": "None",
              "unique": true
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_sneezing&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=100"
            },
            {
              "action": "withings-events://coach/setContext?key=bch_nose&value=1",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_diarrhea&value=1",
              "conditions": {
                "$input": "3"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_headaches&value=1",
              "conditions": {
                "$input": "4"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_nausea&value=1",
              "conditions": {
                "$input": "5"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_rash&value=1",
              "conditions": {
                "$input": "6"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_chills&value=1",
              "conditions": {
                "$input": "7"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_otherSymp&value=1",
              "conditions": {
                "$input": "8"
              }
            }
          ]
        }
      },
      {
        "content": "In the past 24 hours, have you had a sore throat?",
        "expected_user_response": false,
        "message_id": 100,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_throat&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=101"
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Thank you. We'd like to know a few more things to be able to give you recommendations.",
        "expected_user_response": false,
        "message_id": 101,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": true,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Next"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/nextItem?id=11",
              "conditions": {
                "$input": "0"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "How many days ago did you start feeling ill?",
        "expected_user_response": false,
        "message_id": 11,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_type": "picker",
        "input_metadata": {
          "keyboard": "number",
          "button_title": "Confirm",
          "placeholder": "Enter your answer here",
          "suffix": "days",
          "control": "min=0 max=30 placeholder=5",
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_days_ill&value=$input"
            },
            {
              "action": "withings-events://coach/nextItem?id=12"
            }
          ]
        }
      },
      {
        "content": "Have you seen/talked to a health professional about these symptoms?",
        "expected_user_response": false,
        "message_id": 12,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_healthpro&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=13",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_healthpro&value=0",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=16",
              "conditions": {
                "$input": "1"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "What type of health professional? Select all that apply",
        "expected_user_response": false,
        "message_id": 13,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_type": "suggestions",
        "input_metadata": {
          "style": "multiple_choice",
          "default_action": "withings-events://coach/nextItem?id=14",
          "suggestions": [
            {
              "id": 0,
              "text": "Doctor"
            },
            {
              "id": 1,
              "text": "Clinic"
            },
            {
              "id": 2,
              "text": "Urgent care"
            },
            {
              "id": 3,
              "text": "Emergency room"
            },
            {
              "id": 4,
              "text": "Hospitalized overnight"
            },
            {
              "id": 5,
              "text": "Virtual visit (telehealth consultation)"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_pro_doctor&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=14"
            },
            {
              "action": "withings-events://coach/setContext?key=bch_pro_clinic&value=1",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_urgentCare&value=1",
              "conditions": {
                "$input": "2"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_pro_emergency&value=1",
              "conditions": {
                "$input": "3"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_pro_hospitalized&value=1",
              "conditions": {
                "$input": "4"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_pro_virtual&value=1",
              "conditions": {
                "$input": "5"
              }
            }
          ]
        }
      },
      {
        "content": "Have you been tested for COVID-19?",
        "expected_user_response": false,
        "message_id": 14,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_covidtested&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=15",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_covidtested&value=0",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=16",
              "conditions": {
                "$input": "1"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "What were the results?",
        "expected_user_response": false,
        "message_id": 15,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Positive"
            },
            {
              "id": 1,
              "text": "Negative"
            },
            {
              "id": 2,
              "text": "I am waiting for results"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_covidtested_result&value=positive",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=16",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_covidtested_result&value=negative",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=16",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_covidtested_result&value=waiting",
              "conditions": {
                "$input": "2"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=16",
              "conditions": {
                "$input": "2"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Have you received a flu vaccine?",
        "expected_user_response": false,
        "message_id": 16,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No, but I will"
            },
            {
              "id": 2,
              "text": "No, I'm not planning to"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_fluvaccine&value=yes",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=17",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_fluvaccine&value=no",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=17",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_fluvaccine&value=notgoingto",
              "conditions": {
                "$input": "2"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=17",
              "conditions": {
                "$input": "2"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "How many days have you been in quarantine or isolation?",
        "expected_user_response": false,
        "message_id": 17,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_type": "picker",
        "input_metadata": {
          "keyboard": "number",
          "button_title": "Confirm",
          "placeholder": "Enter your answer here",
          "suffix": "days",
          "control": "min=0 max=200 placeholder=14",
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_quarantine&value=$input"
            },
            {
              "action": "withings-events://coach/nextItem?id=18"
            }
          ]
        }
      },
      {
        "content": "Have you traveled outside of the US in the 14 days prior to the onset of your symptoms?",
        "expected_user_response": false,
        "message_id": 18,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_outsideUS&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=19",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_outsideUS&value=0",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=19",
              "conditions": {
                "$input": "1"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "To the best of your knowledge, have you been in direct contact with anyone who has a confirmed case of COVID-19?",
        "expected_user_response": false,
        "message_id": 19,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_covidcontact&value=1",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=21",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_covidcontact&value=0",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=21",
              "conditions": {
                "$input": "1"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Glad you're okay! Please answer a few questions to help us track the progress of COVID-19.",
        "expected_user_response": false,
        "message_id": 20,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Next"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/nextItem?id=160",
              "conditions": {
                "$input": "0"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Have you received a flu vaccine?",
        "expected_user_response": false,
        "message_id": 160,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No, but I will"
            },
            {
              "id": 2,
              "text": "No, I'm not planning to"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_fluvaccine&value=yes",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=30",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_fluvaccine&value=no",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=30",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_fluvaccine&value=notgoingto",
              "conditions": {
                "$input": "2"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=30",
              "conditions": {
                "$input": "2"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Please answer a few questions to help us track the progress of COVID-19.",
        "expected_user_response": false,
        "message_id": 21,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Next"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/nextItem?id=30",
              "conditions": {
                "$input": "0"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "How old are you?",
        "expected_user_response": false,
        "message_id": 30,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_type": "picker",
        "input_metadata": {
          "keyboard": "number",
          "button_title": "Confirm",
          "placeholder": "Enter your age here",
          "suffix": "yo",
          "control": "min=0 max=110 placeholder=45",
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_age&value=$input"
            },
            {
              "action": "withings-events://coach/nextItem?id=300"
            }
          ]
        }
      },
      {
        "content": "What is your gender?",
        "expected_user_response": false,
        "message_id": 300,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Female"
            },
            {
              "id": 1,
              "text": "Male"
            },
            {
              "id": 2,
              "text": "Non-binary / third gender"
            },
            {
              "id": 3,
              "text": "Other"
            },
            {
              "id": 4,
              "text": "Prefer not to say"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/nextItem?id=31"
            },
            {
              "action": "withings-events://coach/setContext?key=bch_gender&value=female",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_gender&value=male",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_gender&value=non_binary",
              "conditions": {
                "$input": "2"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_gender&value=other",
              "conditions": {
                "$input": "3"
              }
            },
            {
              "action": "withings-events://coach/setContext?key=bch_gender&value=prefer_not",
              "conditions": {
                "$input": "4"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_gender\",\"value\":\"female\",\"save\":\"t\"}",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_gender\",\"value\":\"male\",\"save\":\"t\"}",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_gender\",\"value\":\"non_binary\",\"save\":\"t\"}",
              "conditions": {
                "$input": "2"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_gender\",\"value\":\"other\",\"save\":\"t\"}",
              "conditions": {
                "$input": "3"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_gender\",\"value\":\"prefer_not\",\"save\":\"t\"}",
              "conditions": {
                "$input": "4"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Please enter your zip code here",
        "expected_user_response": false,
        "message_id": 31,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_type": "text",
        "input_metadata": {
          "keyboard": "number",
          "button_title": "Confirm",
          "placeholder": "Enter your zip code here",
          "actions": [
            {
              "action": "withings-events://coach/setContext?key=bch_postal_code&value=$input"
            },
            {
              "action": "withings-events://coach/nextItem?id=40"
            }
          ]
        }
      },
      {
        "content": "Thanks for answering the survey. Here are recommendations based on your answers.",
        "expected_user_response": false,
        "message_id": 40,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "conditionalOnDisplayActions": [
          {
            "action": "withings-events://coach/nextItem?id=41"
          },
          {
            "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"chatbot_read_conversations__covid_us\",\"value\":\"1\",\"save\":\"t\"}"
          }
        ]
      },
      {
        "content": "withings-bd2://current/wtweb?url=https://static.withings.com/content/forms/covidnearyou/bch_en.html&requireContext=true",
        "expected_user_response": false,
        "message_id": 41,
        "message_type": "url_preview_bubble",
        "content_title": "",
        "isEndMessage": false,
        "conditionalOnTapActions": [
          {
            "action": "withings-bd2://current/wtweb?url=https://static.withings.com/content/forms/covidnearyou/bch_en.html&requireContext=true"
          }
        ],
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Next"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/nextItem?id=42",
              "conditions": {
                "$input": "0"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Thank you. Answering this survey again will help public health professionals fight the COVID-19 pandemic. Do you want to receive it again in the next days?",
        "expected_user_response": false,
        "message_id": 42,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": false,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Yes"
            },
            {
              "id": 1,
              "text": "No"
            }
          ],
          "actions": [
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_covid19_follow_up\",\"value\":\"yes\",\"save\":\"t\"}",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=43",
              "conditions": {
                "$input": "0"
              }
            },
            {
              "action": "withings-events://coach/wscall?action=setproperty&params={\"property\":\"bch_covid19_follow_up\",\"value\":\"no\",\"save\":\"t\"}",
              "conditions": {
                "$input": "1"
              }
            },
            {
              "action": "withings-events://coach/nextItem?id=44",
              "conditions": {
                "$input": "1"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Got it. Youâ€™ll receive a new survey in the next few days.",
        "expected_user_response": false,
        "message_id": 43,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": true,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Done"
            }
          ],
          "actions": [
            {
              "action": "withings-bd2://timeline",
              "conditions": {
                "$input": "0"
              }
            }
          ]
        },
        "input_type": "suggestions"
      },
      {
        "content": "Thank you.",
        "expected_user_response": false,
        "message_id": 44,
        "message_type": "default_bubble",
        "content_title": "",
        "isEndMessage": true,
        "input_metadata": {
          "style": "single_choice",
          "suggestions": [
            {
              "id": 0,
              "text": "Done"
            }
          ],
          "actions": [
            {
              "action": "withings-bd2://timeline",
              "conditions": {
                "$input": "0"
              }
            }
          ]
        },
        "input_type": "suggestions"
      }
    ]
  }
}