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.
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
In addition, you will…
learn how CommandBox dramatically enhances
your development and testing process with the
use of “modules” to automate tasks
7. The cloud converts the “output speech”
from text to audio and sends the audio to
the Alexa device
8. The Alexa device speaks the results
back to the user
Let’s take a more detailed look
That’s the high level view
How does all this hook together?
How do you define your skill to Alexa?
How do you map the user request to an action?
How are parameters passed?
How does Alexa know where to send the JSON?
And of course, here’s the big question…
How do we do this in ColdFusion?
Let’s first walk through the non ColdFusion stuff
Alexa, open my voice template
launch invocation name
alexa, echo, amazon, computer
open, start, launch, load, use, begin, run
defined in the developers dashboard
Invocation: the name the user refers to when asking
Alexa to activate your skill.
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”.
Endpoint: the URL to the entry point of
Let’s move in to the ColdFusion code
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.