Skip to content

Instantly share code, notes, and snippets.

@zonski
Created April 16, 2019 05:44
Show Gist options
  • Save zonski/20a091d5d5a8fae2df25e57289debf65 to your computer and use it in GitHub Desktop.
Save zonski/20a091d5d5a8fae2df25e57289debf65 to your computer and use it in GitHub Desktop.
{
"id": "intro",
"name": "Introduction",
"steps": [
{
"id": "welcome",
"text": "Hi {{user.firstName}}, my name is <b>{{chat.botName}}</b> and I'm looking forward to chatting with you",
"type": "single-select",
"onBeforeCreate": "System.out.println(\"Before created: \" + step.getId())",
"onCreate": "System.out.println(\"Created: \" + step.getId())",
"onBeforeAnswered": "System.out.println(\"Before answered: \" + step.getId())",
"onAnswered": "System.out.println(\"Answered: \" + step.getId())",
"options": [
{
"id": "ok",
"label": "Hi {{chat.botName}}!"
}
]
},
{
"id": "whoami",
"text": "I am your personalised virtual performance coach. I am here to help you gain a greater understanding of who you are and what makes you tick.",
"type": "single-select",
"onBeforeCreate": "System.out.println(\"Before created: \" + step.getId())",
"onCreate": "System.out.println(\"Created: \" + step.getId())",
"onBeforeAnswered": "System.out.println(\"Before answered: \" + step.getId())",
"onAnswered": "System.out.println(\"Answered: \" + step.getId())",
"options": [
{
"id": "ok",
"label": "That's awesome"
}
]
},
{
"id": "explanation-video",
"text": "Would you like to watch a short video that explains how this works?",
"type": "single-select",
"onBeforeCreate": "System.out.println(\"Before created: \" + step.getId())",
"onCreate": "System.out.println(\"Created: \" + step.getId())",
"onBeforeAnswered": "System.out.println(\"Before answered: \" + step.getId())",
"onAnswered": "System.out.println(\"Answered: \" + step.getId())",
"options": [
{
"id": "yes",
"label": "Yes - watch video"
},
{
"id": "no",
"label": "No let's just get going"
}
]
},
{
"id": "get-going",
"text": "OK, let's get things moving along. I have a few questions to ask you that will help me understand you - the more I understand the more I can help.",
"type": "single-select",
"options": [
{
"id": "ok",
"label": "OK Baz, let's go"
}
]
},
{
"id": "gender",
"text": "What gender do you identify with?",
"type": "single-select",
"options": [
{
"id": "male",
"label": "Male"
},
{
"id": "female",
"label": "Female"
}
]
},
{
"id": "age",
"text": "Which age range do you fall into?",
"type": "single-select",
"options": [
{
"id": "teen",
"label": "12-18"
},
{
"id": "adolescent",
"label": "18-25"
},
{
"id": "young-adult",
"label": "25-35"
},
{
"id": "adult",
"label": "35-50"
},
{
"id": "older-adult",
"label": "50-60"
},
{
"id": "elderly",
"label": "60+"
}
]
},
{
"id": "fitness",
"text": "How would you rate your level of physical fitness?",
"type": "scale",
"meta": {
"min": 0,
"minLabel": "Couch Potato",
"max": 10,
"maxLabel": "Really fit"
}
},
{
"id": "weight",
"text": "How happy are you with your weight?",
"type": "scale",
"meta": {
"min": 0,
"minLabel": "Overweight",
"max": 10,
"maxLabel": "Ideal weight"
}
},
{
"id": "eating",
"text": "How healthy are your eating habits?",
"type": "scale",
"meta": {
"min": 0,
"minLabel": "Lots of fast food",
"max": 10,
"maxLabel": "Healthy foods only"
}
},
{
"id": "sleeping",
"text": "How would you rate your sleep quality?",
"type": "scale",
"meta": {
"min": 0,
"minLabel": "Poor",
"max": 10,
"maxLabel": "Good"
}
},
{
"id": "optimal-sleep",
"text": "How many hours sleep a night do you think you function on best?",
"type": "scale",
"meta": {
"min": 0,
"minLabel": "Little sleep",
"max": 10,
"maxLabel": "Lots of sleep"
}
},
{
"id": "exercise-quantity",
"text": "How much exercise do you do?",
"type": "single-select",
"options": [
{
"id": "none",
"label": "None at all"
},
{
"id": "some",
"label": "Sometimes"
},
{
"id": "regular",
"label": "Regularly"
}
]
},
{
"id": "convo-1",
"text": "Now let's take a look at what makes you tick. I have a question to get us started.",
"type": "single-select",
"options": [
{
"id": "none",
"label": "OK Baz"
}
]
},
{
"id": "atmybest",
"text": "Think about a time when you were at your best. Take your time to think about this and when you are ready tell me a few words about an experience or situation when everything came together really well for you. <br/><br/>Tip: At our best we feel high energy, fully alive and difficult things somehow seem easy to do. ",
"type": "long-text",
"meta": {
"rows": 3
}
},
{
"id": "atmybest-feelings",
"text": "What do you remember feeling during this time you were at your best? <br/>e.g. calm, excited, alive.",
"type": "short-text"
},
{
"id": "atmybest-ready",
"text": "Ok, cool. <img src=''/> Now I am going to ask you a few questions so I can understand what you were feeling or experiencing at that time.<br/><br/>Ready to go?",
"type": "single-select",
"options": [
{
"id": "ok",
"label": "Yep, I'm ready"
}
]
},
{
"id": "atmybest-doing",
"text": "Which statements best describe what you were doing at this time? <strong>(with all dropdowns select as many or few responses as you like)<strong>",
"type": "multi-select",
"options": [
{
"id": "new-way",
"label": "Finding a new way to do something"
},
{
"id": "curious",
"label": "Being interested and curious"
},
{
"id": "examine",
"label": "Examining the details"
},
{
"id": "mastering",
"label": "Learning or mastering something"
},
{
"id": "advice",
"label": "Giving advice or guidance"
},
{
"id": "brave",
"label": "Being brave"
},
{
"id": "driven",
"label": "Finishing what I started"
},
{
"id": "honest",
"label": "Being truthful and honest"
},
{
"id": "energetic",
"label": "Being energetic and upbeat"
},
{
"id": "love",
"label": "Acting out of love and care"
},
{
"id": "helpful",
"label": "Being kind and helpful"
},
{
"id": "empathetic",
"label": "Imagining what other people are feeling"
},
{
"id": "team-player",
"label": "What the team needed"
},
{
"id": "fair",
"label": "Making things fair for all"
},
{
"id": "leading",
"label": "Leading by example"
},
{
"id": "forgiving",
"label": "Giving a second chance"
},
{
"id": "spotlight",
"label": "Letting others take the spotlight"
},
{
"id": "risk-adverse",
"label": "Taking time to assess risks"
},
{
"id": "level-headed",
"label": "Keeping emotions controlled"
},
{
"id": "quality",
"label": "Appreciating quality"
},
{
"id": "thankful",
"label": "Showing thanks"
},
{
"id": "positive",
"label": "Being positive, expecting the best"
},
{
"id": "comedian",
"label": "Making others laugh"
},
{
"id": "conviction",
"label": "Staying true to my beliefs"
}
],
"meta": {
"min": 1,
"max": 5
}
},
{
"id": "thinking-feeling",
"text": "From this list which best describe what you were thinking or feeling.",
"type": "multi-select",
"options": [
{
"id": "1",
"label": "What does the team or group need from me?"
},
{
"id": "2",
"label": "Is everyone getting treated fairly?"
},
{
"id": "3",
"label": "How can I motivate and get the best out of others?"
},
{
"id": "4",
"label": "Everyone deserves a second chance"
},
{
"id": "5",
"label": "I don't need recognition"
},
{
"id": "6",
"label": "What is the safest option?"
},
{
"id": "7",
"label": "Keep calm and focused"
},
{
"id": "8",
"label": "Wow - how amazing is this!"
},
{
"id": "9",
"label": "I am so grateful for this"
},
{
"id": "10",
"label": "I am confident this will get better"
},
{
"id": "11",
"label": "This is funny"
},
{
"id": "12",
"label": "Things happen for a reason"
},
{
"id": "13",
"label": "What is a new/better way?"
},
{
"id": "14",
"label": "I enjoy asking questions"
},
{
"id": "15",
"label": "What are all the possible explanations"
},
{
"id": "16",
"label": "I want to learn more"
},
{
"id": "17",
"label": "I can help them make sense of this"
},
{
"id": "18",
"label": "This is uncomfortable but I need to do it"
},
{
"id": "19",
"label": "It's hard but I can't stop until I finish"
},
{
"id": "20",
"label": "Just be honest and genuine"
},
{
"id": "21",
"label": "I'm so excited"
},
{
"id": "22",
"label": "I feel such connection/love"
},
{
"id": "23",
"label": "I can help so I will"
},
{
"id": "24",
"label": "What are they feeling?"
}
],
"meta": {
"min": 1,
"max": 5
}
},
{
"id": "personal-classification",
"text": "From this list which best describe what you were thinking or feeling.",
"type": "multi-select",
"options": [
{
"id": "1",
"label": "Creative but impractical"
},
{
"id": "2",
"label": "Ask too many questions"
},
{
"id": "3",
"label": "Never convinced"
},
{
"id": "4",
"label": "Know-it-all"
},
{
"id": "5",
"label": "Too quick to give advice"
},
{
"id": "6",
"label": "Take too many risks"
},
{
"id": "7",
"label": "Obsessive or stubborn"
},
{
"id": "8",
"label": "Too honest"
},
{
"id": "9",
"label": "Hyperactive"
},
{
"id": "10",
"label": "Share emotions too deeply"
},
{
"id": "11",
"label": "Intrusive trying to help"
},
{
"id": "12",
"label": "Over analyse situations"
},
{
"id": "13",
"label": "Too dependent on others"
},
{
"id": "14",
"label": "Detached"
},
{
"id": "15",
"label": "Demanding or bossy"
},
{
"id": "16",
"label": "Give too many chances"
},
{
"id": "17",
"label": "Avoid praise"
},
{
"id": "18",
"label": "Slow to decide"
},
{
"id": "19",
"label": "Unemotional"
},
{
"id": "20",
"label": "Perfectionist to a fault"
},
{
"id": "21",
"label": "Overly grateful"
},
{
"id": "22",
"label": "Too optimistic"
},
{
"id": "23",
"label": "Silly/class clown"
},
{
"id": "24",
"label": "Blindly faithful"
}
],
"meta": {
"min": 1,
"max": 5
}
},
{
"id": "external-classification",
"text": "What words would the people who know you the best describe you as?",
"type": "multi-select",
"options": [
{
"id": "1",
"label": "Creative"
},
{
"id": "2",
"label": "Curious"
},
{
"id": "3",
"label": "Critical-thinker"
},
{
"id": "4",
"label": "Learner"
},
{
"id": "5",
"label": "Wise"
},
{
"id": "6",
"label": "Courageous"
},
{
"id": "7",
"label": "Perseverent"
},
{
"id": "8",
"label": "Honest"
},
{
"id": "9",
"label": "Enthusiastic"
},
{
"id": "10",
"label": "Kind"
},
{
"id": "11",
"label": "Socially aware"
},
{
"id": "12",
"label": "Team-player"
},
{
"id": "13",
"label": "Fair"
},
{
"id": "14",
"label": "Leader"
},
{
"id": "15",
"label": "Forgiving"
},
{
"id": "16",
"label": "Humble"
},
{
"id": "17",
"label": "Careful"
},
{
"id": "18",
"label": "Level-headed"
},
{
"id": "19",
"label": "Appreciative of quality"
},
{
"id": "20",
"label": "Grateful"
},
{
"id": "21",
"label": "Optimistic"
},
{
"id": "22",
"label": "Funny"
},
{
"id": "23",
"label": "Spiritual"
},
{
"id": "24",
"label": "Loving"
}
],
"meta": {
"min": 1
}
},
{
"id": "idol",
"text": "Last two questions... who is someone you admire or look up to most?",
"type": "short-text"
},
{
"id": "idol-qualities",
"text": "What characteristics do you admire most about {{responses.idol}}?",
"type": "multi-select",
"options": [
{
"id": "1",
"label": "Creative"
},
{
"id": "2",
"label": "Curious"
},
{
"id": "3",
"label": "Critical-thinker"
},
{
"id": "4",
"label": "Learner"
},
{
"id": "5",
"label": "Wise"
},
{
"id": "6",
"label": "Courageous"
},
{
"id": "7",
"label": "Perseverent"
},
{
"id": "8",
"label": "Honest"
},
{
"id": "9",
"label": "Enthusiastic"
},
{
"id": "10",
"label": "Kind"
},
{
"id": "11",
"label": "Socially aware"
},
{
"id": "12",
"label": "Team-player"
},
{
"id": "13",
"label": "Fair"
},
{
"id": "14",
"label": "Leader"
},
{
"id": "15",
"label": "Forgiving"
},
{
"id": "16",
"label": "Humble"
},
{
"id": "17",
"label": "Careful"
},
{
"id": "18",
"label": "Level-headed"
},
{
"id": "19",
"label": "Appreciative of quality"
},
{
"id": "20",
"label": "Grateful"
},
{
"id": "21",
"label": "Optimistic"
},
{
"id": "22",
"label": "Funny"
},
{
"id": "23",
"label": "Spiritual"
},
{
"id": "24",
"label": "Loving"
}
],
"meta": {
"min": 1
}
},
{
"id": "strengths-complete",
"text": "That is the strengths section completed. Nice work",
"type": "single-select",
"options": [
{
"id": "ok",
"label": "Thanks Baz"
}
]
},
{
"id": "view-strengths",
"text": "Your top 6 strengths have now been added to your profile - we will explore these and others you may have in more detail in future chats. Enjoy learning about your personal strengths.<br/><br/>Bye for now Dean ",
"type": "single-select",
"options": [
{
"id": "ok",
"label": "View Top 6 Strengths"
}
]
},
{
"id": "todo",
"text": "TODO: Add navigation away to profile",
"type": "info"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment