Worksheets
Checklist
Track your class progress with this handy checklist
Design Your Bot
- [ ] Activity: Try out a chatbot
- [ ] Activity: Create your chatbot character and story flow
- [ ] Activity: Map out your story with cards
Create Your App
- [ ] Copy the Glitch base app
- [ ] Sign up as a FB developer
- [ ] Create a FB app
- [ ] Add Messenger to your FB app
- [ ] Create a FB Page for your Chatbot
- [ ] Activity: Decorate your FB page
- [ ] Get a page access token for your page
- [ ] Add your page access token to your Glitch app
- [ ] Create a âverify tokenâ password and add it to the Glitch app
- [ ] Setup your webhooks
- [ ] Subscribe your page to the webhooks
- [ ] View your Glitch app logs to ensure itâs running
- [ ] Activity: Test your chatbot
Write Your Story With Code
- [ ] Activity: Cast a spell
- [ ] Activity: Find the bug
- [ ] Activity: Identify data types
- [ ] Activity: Write some functions
- [ ] Activity: Find the app secret messages
- [ ] Activity: Find the data structures
- [ ] Activity: Complete the test code
- [ ] Activity: Map your story to code
- [ ] Activity: Write your code
Story Worksheet
A blank copy of the story worksheet:
What character will your bot have? Get creative: you can use an existing character, a new one you make up or even yourself!
-
- - -
What things would you your character to tell people talking to them?
-
- - -
What kind of questions would someone ask your character in order to get them to say those things?
-
- - -
Now we need to give your conversation a flow - can you divide your questions up into some categories with about 2-3 questions per category?
-
- - -
Now letâs turn those categories into questions themselves. How might someone ask about this aspect of your character?
-
- - -
Give your bot some personality! Write your answers in your characters voice. Donât forget a greeting and goodbye!
-
- - -
Story Alternatives With Examples
Quiz
What will the quiz tell people who take it? For example âWhat Disney Character Are You?â
What are 4 potential outcomes? Pocahantas, Jasmine, Mulan, Ariel
Draw out your quiz structure
*Pocahantas Vs. Jasmine
- Jasmine vs. Mulan
- Mulan vs. Ariel
- Jasmine vs. Ariel
- Pocahantas vs. Mulan
- Mulan vs. Ariel
- Pocahantas Vs. Ariel
What questions will determine the outcomes?
- Pocahantas Vs. Jasmine: Which animal is your favorite?
- Pocahantas: A raccoon
- Jasmine: A tiger
- Jasmine vs. Mulan: Which is more important to you?
- Jasmine: Making your own way in the world
- Mulan: Protecting my family
- Mulan vs. Ariel: Whatâs your favorite color?
- Mulan: Teal
- Ariel: Blue
- Jasmine vs. Ariel: Which would you rather do?
- Jasmine: Travel to a new place
- Ariel: Visit a muesuem
- Pocahantas vs. Mulan: Are you more independent or caring?
- Pocahantas: Caring
- Mulan: Independent
- Mulan vs. Ariel: Do you like dressing up?
- Mulan : No
- Ariel: Yes
- Pocahantas Vs. Ariel: Which subject do you prefer?
- Ariel: History
- Pocahantas: Biology
Further Resources
- Javascript
- Codecademy Javascript: a free interactive course that teaches the basics really well.
- NodeSchool: in person and online Node.js resources
- Going out to eat and understanding the basics of Express.js
- NLP
- https://tomassetti.me/guide-natural-language-processing/
## Thank you! Thanks to Kristi Leach, Samantha Goodman, and Karl Thomas for your reviews and feedback :D
build-a-bot-workshop is maintained by melissamcewen.
This page was generated by GitHub Pages.