View Praveen Gandluri's profile on LinkedIn
Home Posts

Alexa, ask Tyrion how's Winterfell doing?


Amazon Alexa (Echo) has been around for only about two years, but it feels like a lifetime. We use Alexa for everything from checking weather to controlling other devices, to playing music and whatnot. The real power of Alexa lies in the Alexa Skills kit (ASK), which lets third party developers build skills (Apps) for Alexa.
In this blog post, I will use a sample business use case to show how to build an end to end Alexa skill that lets users to interact with Salesforce.

Here is the demo of the Alexa Skill:

The sample use case is, as the King/Queen sitting on the Iron throne (Alexa user), you want to ask your Hand, Tyrion Lannister (Alexa Skill) to know how's Winterfell (a Salesforce Account) doing. Alexa can fetch the account's annual revenue from Salesforce.

As part of building this skill, we are going to:

Before you proceed, make sure you have an AWS account, an Alexa device, Salesforce developer org account. The Lambda function is written in Python and Salesforce REST Web Service is written in Apex language.

Let's get started

Disclaimer: This is a personal blog. Any views or opinions represented in this blog are personal and belong solely to the author and do not necesserily represent the author's employer or the clients the author works for. All content provided on this blog is for informational purposes only. The author will not be liable for any errors or omissions in this information nor for the availability of this information. All trademarks, logos,icons and images cited herein are the property of their respective owners.