Code Examples: https://github.com/mikecallahan/cfalexa
Learn how super simple it can be to create custom "Skills" with ColdFusion to use on Amazon Alexa devices. Walk away with an understanding of how Alexa voice technology works and, most importantly, how you can utilize ColdFusion to easily build your own custom skills. This session will cover everything from using CommandBox to initiate your development using a ForgeBox package to consuming utterances, intents and slots and creating custom voice responses that engage and interact with your user. Learn how to use the Amazon Developer portal in conjunction with ColdFusion to rapidly build your own custom Alexa skills. At the end of the session you will walk away with everything you will need including a ColdFusion framework and template to immediately get started. Voice technology is the future and ColdFusion is the tool that can deliver rapid results. Join this session to see just how super easy it can be.
9. You will walk away with…
a fairly good understanding of how the alexa process works
know what intents, utterances, slots and invocation names are
know how to define those and your endpoint in the developer dashboard
understand how to use cfalexa and the voice template
how to easily create Alexa skills in ColdFusion
10. In addition, you will…
learn how CommandBox dramatically enhances
your development and testing process with the
use of “modules” to automate tasks
19. 7. The cloud converts the “output speech”
from text to audio and sends the audio to
the Alexa device
20. 8. The Alexa device speaks the results
back to the user
21. Let’s take a more detailed look
That’s the high level view
22. How does all this hook together?
(developer dashboard)
How do you define your skill to Alexa?
(invocation name)
How do you map the user request to an action?
(intents)
How are parameters passed?
(slots)
How does Alexa know where to send the JSON?
(endpoint)
23. And of course, here’s the big question…
How do we do this in ColdFusion?
<cfalexa>
35. Alexa, open my voice template
wake
word
launch invocation name
alexa, echo, amazon, computer
open, start, launch, load, use, begin, run
defined in the developers dashboard
Alexa, open
my voice
template
Invocation: the name the user refers to when asking
Alexa to activate your skill.
36.
37.
38. Intents: An intent represents an action that
is called based on what the user says or
“utters”. Essentially, intents represent
functions and can optionally have
arguments that are referred to as “slots”.
39.
40.
41.
42.
43. Endpoint: the URL to the entry point of
your skill.
https://{your website}/alexaskills/{skill
folder}/{skillname.cfc}?method=start
94. What is ngrok?
ngrok exposes our local server to the public internet over secure channels
which means we can use ColdFusion on our laptop or desktop to serve
up our Alexa skill while we’re developing and testing.
How it works: you download and run a program on your machine and
provide it the web server port. ngrok gives you a url that connects to the
ngrok cloud service which accepts traffic from the public and relays that
traffic to your laptop or desktop.