• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

TeraTech

The ColdFusion Experts: Develop | Secure | Optimize

  • Services
    • Consulting
    • Crash
    • Development
    • Maintenance
    • Modernization
    • Security
  • About Us
  • Testimonials
  • Free Assessment
  • Get in touch!

  • Services
    • Consulting
    • Crash
    • Development
    • Maintenance
    • Modernization
    • Security
  • About Us
  • Testimonials
  • Free Assessment
  • Get in touch!

CF Summit 2018: Adobe ColdFusion 2018 and Amazon Alexa Skills

January 17, 2025 By Michaela Light 2 Comments

In today’s ever-changing technological landscape, new visions are emerging every day. One of the latest developments is “voice command tech”. Amazon leads the way with its flagship platform, Alexa. One of the best things about Alexa is the ability for custom skills to be made. Adobe ColdFusion and its JVM core can help you do just that. Let’s take a look at what Alexa is, the basics that surround it, and some CF frameworks that can help you develop your very own Alexa skills.

Contents

  • What is Amazon Alexa?
  • Alexa and ColdFusion
    • Related: Framework for CF developed Alexa Skills
  • Developing Skills
  • Framework Creation for Amazon Alexa Skills
  • Ok. So, what can Alexa do?
  • Where can you Obtain Third Party Apps?

What is Amazon Alexa?

So what is Amazon Alexa? It is Amazon’s cloud-based voice service used with many compatible devices. Using just your voice, you can use Alexa to access and perform an ever-growing array of functions and tasks.

Fun Fact!—Alexa’s roots actually came from Star Trek! The computer voice and navigational command system from the Starship Enterprise from Star Trek: TOS and Star Trek: The Next Generation serves as inspiration.

The name “Alexa”  was due to the hard consonant “X” sound. This makes it easier for it to recognize for voice activation. It came out in November 2014 alongside the Echo, the first Amazon Alexa compatible speaker. Since its release, Alexa can now register with not only the Echo series but with third-party speakers such as:

  • Belkin
  • D-Link
  • iHome
  • Samsung
  • Huawei
  • And much much more!

Alexa and ColdFusion

Alexa operates and performs functions called skills. There are many different types of skills that Alexa can perform. The great thing about developing Alexa skills is the correlation between Alexa and Java. Any Java-based language is so easy to use when building new Alexa skills. CFML is no exception. At the 2017 CFCamp in Munich, Evagoras Charalambous gave a presentation on the foundation of using ColdFusion to build Alexa skills. He focused first on defining your app on the Amazon Development Portal. Next, he discussed how to make the skill talk to your ColdFusion code. He provided a sample CF project for the user to take away and use to develop their own app.

In order to run any Alexa Skill, it uses a custom web server or AWS Lambda. Non-lambda functions must be accessible with HTTPS. Enter ColdFusion. Coldfusion and CFML may be used to create the custom web server. Things to note are the conversion factors needed. There are differences in code format and syntax between platforms. Switching must be made between Amazon’s raw JSON format to ColdFusion’s format construct. Once done, CF can be used to handle launch and intent requests, sample utterances, and session end requests. ColdFusion can be the primary input, but it must be output as usable JSON for Alexa. The tricky part is debugging. If a CF error occurs, the error message only indicates as an error and not as a CF error. Free third-party apps such as Postman can help you out with this issue.

Related: Framework for CF developed Alexa Skills

Developing Skills

There are two major parts of skill when developing. These are the “skill service” and the “skill interface.” The skill service is the part that implements the logic associated with speech request can generate a response to the POST. The second part is the skill interface, which handles several different functions:

  • Speech Recognition
  • Parsing your Request into an HTTP POST
  • Receive Responses from Skill Implementation
  • Synthesize Response Speech

When developing skills, activation utterances will be defined directly on the skill interface. This is what is used to address Alexa and known as the invocation name. All activation utterances may be developed using ColdFusion as long as the primary output is converted into usable JSON. If building a greeting skill, for example, enter greeter as the invocation name. You may then call upon Alexa to call upon “greeter”.

“Alexa, tell greeter to say hello.”

Along with activation utterances, the skill interface defines intent utterances. Once again, these intents can be developed using CFML.

These are the responses that are generated by Alexa.

“Alexa, tell greeter to say hello.” (ACTIVATION)

“Hello.”

The route from start to finish for skill activation is as follows:

Alexa sends received audio to the skill interface. Skill Interface resolves words to spoken intent which then gets sent to the skill service. The skill service then triggers the intended response.

Framework Creation for Amazon Alexa Skills

There are three basic steps to creating a framework for Amazon Skills according to  Leor Brenmen on appcelerator.com:

  1. Define your Skill Interface on the Amazon Developer portal
  2. **Add a custom API to your API Builder Project that will
    • Handle the request (a POST from the Skill Interface)
    • Construct a JSON object response of a certain structure
  3. Configure your Skill Interface to point to the URL of your custom API

**These custom APIs are easily developed using CFML in coordination with a tool such as Adobe ColdFusion API Manager**

Ok. So, what can Alexa do?

  • Ordering
  • Home Automation
  • Music
  • Sports
  • Messaging and Call Services
  • Business Purposes

Remember to test your skills prior to deployment to eliminate any bugs that may interfere with proper operations. Also, keep in mind, that outsiders with malicious intent may try to exploit your Skill. Using a modern CF web server can help to maximize stability and security.

Related: 020 Secrets of High-Security ColdFusion Code, With Pete Freitag

Where can you Obtain Third Party Apps?

We can obtain Alexa skills through a companion app. This app is available on the Apple store, Google Play Store, and Amazon Appstore. Once downloaded, this app allows you to pick up a multitude of Alexa skills. Also, Amazon makes it easy for developers to create their own custom skills using the Alexa Skills Kit.    

Now, another opportunity has arisen in regards to learning about ColdFusion’s interaction with Alexa. At the 2018 CF Summit, Mike Callahan will speak on developing Alexa skills. His session will cover everything from consuming utterances, intents, and slots. Attendees will also walk away with a custom framework and all the information needed to start constructing Alexa skills. Don’t miss out on this exciting chance to learn more about the future of CF and voice tech.

Reserve your ticket for the CF Summit 2018 today!

 

And to continue learning how to make your ColdFusion apps more modern and alive, I encourage you to download our free ColdFusion Alive Best Practices Checklist.

Because… perhaps you are responsible for a mission-critical or revenue-generating CF application that you don’t trust 100%, where implementing new features is a painful ad-hoc process with slow turnaround even for simple requests.

What if you have no contingency plan for a sudden developer departure or a server outage? Perhaps every time a new freelancer works on your site, something breaks. Or your application availability, security, and reliability are poor.

And if you are depending on ColdFusion for your job, then you can’t afford to let your CF development methods die on the vine.

You’re making a high-stakes bet that everything is going to be OK using the same old app creation ways in that one language — forever.

All it would take is for your fellow CF developer to quit or for your CIO to decide to leave the (falsely) perceived sinking ship of CFML and you could lose everything—your project, your hard-won CF skills, and possibly even your job.

Luckily, there are a number of simple, logical steps you can take now to protect yourself from these obvious risks.

No Brainer ColdFusion Best Practices to Ensure You Thrive No Matter What Happens Next

ColdFusion Alive Best Practices Checklist

ColdFusion Alive Best Practices Checklist

Modern ColdFusion development best practices that reduce stress, inefficiency, project lifecycle costs while simultaneously increasing project velocity and innovation.

√ Easily create a consistent server architecture across development, testing, and production

√ A modern test environment to prevent bugs from spreading

√ Automated continuous integration tools that work well with CF

√ A portable development environment baked into your codebase… for free!

 

Learn about these and many more strategies in our free ColdFusion Alive Best Practices Checklist.

  • Facebook
  • Twitter
  • LinkedIn

Filed Under: Adobe ColdFusion 2018

← Previous Post Adobe CF Summit 2018: A Sneak Peek Into the Hottest Topics
Next Post → The Best Version Control System (3 Reasons Why It Matters to All ColdFusion Developers)

Primary Sidebar

Popular podcast episodes

  • Revealing ColdFusion 2021 – Rakshith Naresh
  • CF and Angular – Nolan Erck
  • Migrating legacy CFML – Nolan Erck
  • Adobe API manager – Brian Sappey
  • Improve your CFML code – Kai Koenig

CF Alive Best Practices Checklist

Modern ColdFusion development best practices that reduce stress, inefficiency, project lifecycle costs while simultaneously increasing project velocity and innovation.

Get your checklist

Top articles

  • CF Hosting (independent guide)
  • What is Adobe ColdFusion
  • Is Lucee CFML now better than ACF?
  • Is CF dead?
  • Learn CF (comprehensive list of resources)

Recent Posts

  • 141 Into The Box 2025 ColdFusion conference (all the details) with Daniel Garcia – Transcript
  • 141 Into The Box 2025 ColdFusion conference (all the details) with Daniel Garcia
  • 107 ColdFusion 2021 Revealing Details on How it was Created with Rakshith Naresh
  • The Legacy Continues: ColdFusion Summit East Conference Edition
  • 140 BoxLang modern JVM language that runs CFML code (new CFML engine and much more) with Luis Majano and Brad Wood – Transcript

Categories

  • Adobe ColdFusion 11 and older
  • Adobe ColdFusion 2018
  • Adobe ColdFusion 2020 Beta
  • Adobe ColdFusion 2021
  • Adobe ColdFusion 2023
  • Adobe ColdFusion 2024
  • Adobe ColdFusion 2025
  • Adobe ColdFusion Developer week
  • Adobe ColdFusion Project Stratus
  • Adobe ColdFusion Summit
  • AWS
  • BoxLang
  • CF Alive
  • CF Alive Podcast
  • CF Camp
  • CF Tags
  • CF Vs. Other Languages
  • CFEclipse
  • CFML
  • CFML Open- Source
  • CFUnited
  • ColdBox
  • ColdFusion and other news
  • ColdFusion Community
  • ColdFusion Conference
  • ColdFusion Consulting
  • ColdFusion Developer
  • ColdFusion Development
  • ColdFusion Hosting
  • ColdFusion Maintenance
  • ColdFusion Performance Tuning
  • ColdFusion Projects
  • ColdFusion Roadmap
  • ColdFusion Security
  • ColdFusion Training
  • ColdFusion's AI
  • CommandBox
  • Docker
  • Fixinator
  • Frameworks
  • Fusebox
  • FusionReactor
  • IntoTheBox Conference
  • Java
  • JavaScript
  • JVM
  • Learn CFML
  • Learn ColdFusion
  • Legacy Code
  • Load Testing
  • Lucee
  • Mindmapping
  • MockBox
  • Modernize ColdFusion
  • Ortus Developer Week
  • Ortus Roadshow
  • Server Crash
  • Server Software
  • Server Tuning
  • SQL
  • Survey
  • Survey results
  • TestBox
  • Transcript
  • Webinar
  • Women in Tech

TeraTech

  • About Us
  • Contact

Services

  • Free assessment
  • Consulting
  • Crash
  • Development
  • Maintenance
  • Modernization
  • Security
  • Case Studies

Resources

  • CF Alive Book
  • CF Alive Podcast
    • Podcast Guest Schedule
  • TeraTech Blog
  • CF Alive resources
  • CF e-course
  • CF best practice checklist

Community

  • CF Alive
  • CF Inner Circle
  • CF Facebook Group

TeraTech Inc
451 Hungerford Drive Suite 119
Rockville, MD 20850

Tel : +1 (301) 424 3903
Fax: +1 (301) 762 8185

Follow us on Facebook Follow us on LinkedIn Follow us on Twitter Follow us on Pinterest Follow us on YouTube



Copyright © 1998–2025 TeraTech Inc. All rights Reserved. Privacy Policy.