Questionnaire Data Reference
The Questionnaire event contains the data from medical questionnaires sent to the patients.
Questionnaire Event Payload
The payload below is a representation of a Questionnaire event.
The payload is based on a questionnaire.submitted event, but it is relevant for all Questionnaire-based events. See the Workflow Events/Triggers article for a full list of available events.
{
"_id": "6894ea8af81713aa266d7b76",
"organization": "cmwl",
"type": "wlusmonthly",
"internal": false,
"customer": {
"_id": "686b1dc729eeb73cf1f9558c",
"organization": "cmwl",
"uname": "johndoe@example.com#cmwl",
"email": "johndoe@example.com",
"phone": "+15555555555",
"firstName": "John",
"lastName": "Doe",
"gender": "male",
"dob": "1959-09-09",
"addresses": [
{
"address1": "123 Main St",
"address2": "",
"city": "Anytown",
"provinceCode": "NY",
"postalCode": "12345"
}
],
"defaultAddress": {
"address1": "123 Main St",
"address2": "",
"city": "Anytown",
"provinceCode": "NY",
"postalCode": "12345"
},
"referrer": "",
"identifiers": [],
"notificationsCount": 0,
"watchlist": [],
"usedCoupons": [
"50GLP1",
""
],
"source": "signup",
"assignedQuestionnaires": [],
"providers": [],
"groups": [],
"isInsuranceAvailable": false,
"acceptMarketing": true,
"createdAt": "2025-07-07T01:07:19.921Z",
"updatedAt": "2025-07-07T14:35:21.506Z",
"__v": 0,
"stripeId": "cus_SdKBOD5pdpnbH8"
},
"status": "new",
"statusHistory": [
{
"prevStatus": "incomplete",
"newStatus": "new",
"updatedAt": "2025-08-07T18:07:02.716Z",
"userId": "customer"
}
],
"answers": {
"states": {},
"wlusFollowup_genderIdentify": {
"wlusFollowup_genderIdentify_male": true
},
"previousWeightlossDrug": {
"din": "SbDHGzORF0nULsLSgIqKfc4t5hfCa3I1",
"name": "Tirzepatide/B6 (10mg/25mg per ml) (3 ml vial)",
"extras": {
"drugTitration": "alternative",
"category": "Weightloss3",
"dosageType": "maintenance",
"additive": [
"B6"
]
}
},
"wlusFollowup_weightAndHeight2025": {
"heightUnit": "feetIn",
"weightUnit": "lbs",
"feet": 5,
"inches": 10,
"weight": 222
},
"wlusFollowup_healthChangesMedicationChanges2025": {
"no": true
},
"wlusFollowup_whenDidYouLastTakeYourPrescribedWeightLossMedication": {
"wlusFollowup_whenDidYouLastTakeYourPrescribedWeightLossMedication_withinThePastWeek": true
},
"wlusFollowup_dateOfLastUse": {
"wlusFollowup_dateOfLastUse": "Monday, August 4, 2025"
},
"wlusFollowup_identifyClosestDose": {
"tirzepatide_6mg": true
},
"wlusFollowup_haveYouExperiencedSideEffectsFromYourCurrentMedication": {
"wlusFollowup_haveYouExperiencedSideEffectsFromYourCurrentMedication_no": true
},
"wlusFollowup_medicationExperience2025": {
"yes_weightloss_no_sideEffects": true
},
"wlusFollowup_reducationInCravings2025": {
"noDifference": true
},
"wlusFollowup_continueTreatment2025": {
"maintain": true
},
"wlusFollowup_otherInformationOrQuestionsDoYouHaveForTheDoctor": {
"wlusFollowup_otherInformationOrQuestionsDoYouHaveForTheDoctor": "None"
},
"wlusFollowup_consentCompounded": {
"consent": true
},
"wlusFollowup_consentTruthfulness": {
"wlusFollowup_consentTruthfulness_consent": true
},
"wlusFollowup_consentGLP1GIP": {
"wlusFollowup_consentGLP1GIP_consent": true
},
"wlusFollowup_complete": {}
},
"orderIds": [],
"createdAt": "2025-08-07T18:03:54.522Z",
"updatedAt": "2025-08-07T18:07:02.717Z",
"__v": 0
}Properties Descriptions
The table below describes the parameters of the payload.
answers Object
The answers property is a dynamic object that holds a patient's responses to a questionnaire. The structure and content change based on the questions asked and the patient's answers.
Each key in the payload corresponds to a specific question, whose type can be identified. See the different types of answers below:
Single/Multi-Select: Answers are nested objects where the inner key indicates the chosen option, and the value is
true.
"wlus_consentPregnancy": { "wlus_consentPregnancy_consent": true } Text Field: Answers are nested objects where the key is the question identifier and the value is the patient's text input.
"wlusFollowup_otherInformationOrQuestionsDoYouHaveForTheDoctor": { "wlusFollowup_otherInformationOrQuestionsDoYouHaveForTheDoctor": "None" } Calculated Fields: These objects contain raw, uncalculated values (e.g., height and weight) that are used to compute a final result like BMI. The format varies for each type of calculated field.
"wlus_weightAndHeight2025": { "weightUnit": "lbs", "weight": 169 } File Upload: The answer is a direct string that is a link to the uploaded file's location in the database. This link is not publicly accessible.
"govIdUs": "<https://appgen-health-crm-files>..." The wlusFollowup_ prefix is used to identify the specific questionnaire, distinguishing between overlapping questions that may have different versions across various questionnaires.
The answers payload is dynamic. Questions and their corresponding answers are only included if they were part of the patient's questionnaire and were answered. For example, male patients will not have a pregnancy consent question in their payload.