SlideShare a Scribd company logo
1 of 62
Download to read offline
Conversational Commerce
and Magento 2
Breaking new ground with Alexa,
Facebook and Slack
Conversational Commerce: Magento, Facebook and Alexa | October 2016 1
@philwinkle
github.com/philwinkle
Conversational Commerce: Magento, Facebook and Alexa | October 2016 2
@magetalk
Conversational Commerce: Magento, Facebook and Alexa | October 2016 3
Conversational Commerce: Magento, Facebook and Alexa | October 2016 4
somethingdigital.com/careers
Conversational Commerce: Magento, Facebook and Alexa | October 2016 5
What is Conversational
Commerce?
(C12L)
Conversational Commerce: Magento, Facebook and Alexa | October 2016 6
What is it not?
C12L is not about shopping online in a chat bot. It is
about creating opportunities to engage with customers
in an asynchronous way
Conversational Commerce: Magento, Facebook and Alexa | October 2016 7
So then what is Conversational Commerce?
— Conversational, when done well, is assistive
— It is engaging
— It is helpful
— It creates value
Conversational Commerce: Magento, Facebook and Alexa | October 2016 8
C12L Commerce
This is not a new concept. "Bots" have been around for
ages. What is new is that we can now interact with them
outside of our traditional desktop computer contexts.
Conversational Commerce: Magento, Facebook and Alexa | October 2016 9
We shouldn't be repurposing
APIs for every medium. Each
medium excels in its own
particular niche given its
audience.
Conversational Commerce: Magento, Facebook and Alexa | October 2016 10
— Not for all contexts
— Alexa: Store Insights / Administration
— Slack: Developer Support
— Facebook: Consumer
Conversational Commerce: Magento, Facebook and Alexa | October 2016 11
Why not Alexa for purchasing on Magento?
— API could be used, so it's possible
— Purchase decisions are hard
— Predciated on choice
— Search and browse is impossible via spoken word
— Write one API, use it many places...
Conversational Commerce: Magento, Facebook and Alexa | October 2016 12
Why would we want this?
— We're moving away from Visual UI
— Spoken word is the fastest way to communicate
(send)
— Written text is the fastest way to consume
Conversational Commerce: Magento, Facebook and Alexa | October 2016 13
We're becoming increasingly
distracted
Conversational Commerce: Magento, Facebook and Alexa | October 2016 14
What kind of change does this mean for businesses?
— Change of jobs and expertise
— Fewer creative arts, more communications
— Call trees replaced by chat trees
— Asynchronous, on your time === 24/7
Conversational Commerce: Magento, Facebook and Alexa | October 2016 15
Obvious commerce applications
— Beyond the purchase:
— Status, update, cancel, replacement
— Reorder
— 1-click, ephemeral
Conversational Commerce: Magento, Facebook and Alexa | October 2016 16
Challenges
Conversational Commerce: Magento, Facebook and Alexa | October 2016 17
Challenges
— Fragmented APIs mean lots of boilerplate code to
interact with your store capabilities
— For Magento this is likely REST API
— Different UIs mean different skillsets
Conversational Commerce: Magento, Facebook and Alexa | October 2016 18
Technologies
Conversational Commerce: Magento, Facebook and Alexa | October 2016 19
— Alexa
— Facebook
— Slack
Conversational Commerce: Magento, Facebook and Alexa | October 2016 20
Alexa
Upside:
— Robust API
— Geared toward commerce (future)
— Rapid dev
— 3rd party consumer
— FREE (Raspberry Pi)
— BYOL(anguage)
Conversational Commerce: Magento, Facebook and Alexa | October 2016 21
Alexa (cont.)
Downside:
— Physical devices (right now)
— Lower adoption with dependence on physical devices
Conversational Commerce: Magento, Facebook and Alexa | October 2016 22
Thankfully
— Serverless.js
— Alexa App on Node.js
Conversational Commerce: Magento, Facebook and Alexa | October 2016 23
Developer boilerplate without Alexa App:
exports.handler = (event, context, callback) => {
try {
console.log(`event.session.application.applicationId=${event.session.application.applicationId}`);
/**
* Uncomment this if statement and populate with your skill's application ID to
* prevent someone else from configuring a skill that sends requests to this function.
*/
/*
if (event.session.application.applicationId !== 'amzn1.echo-sdk-ams.app.[unique-value-here]') {
callback('Invalid Application ID');
}
*/
if (event.session.new) {
onSessionStarted({ requestId: event.request.requestId }, event.session);
}
if (event.request.type === 'LaunchRequest') {
onLaunch(event.request,
event.session,
(sessionAttributes, speechletResponse) => {
callback(null, buildResponse(sessionAttributes, speechletResponse));
});
} else if (event.request.type === 'IntentRequest') {
onIntent(event.request,
event.session,
(sessionAttributes, speechletResponse) => {
callback(null, buildResponse(sessionAttributes, speechletResponse));
});
} else if (event.request.type === 'SessionEndedRequest') {
onSessionEnded(event.request, event.session);
callback();
}
} catch (err) {
callback(err);
}
};
Conversational Commerce: Magento, Facebook and Alexa | October 2016 24
With Alexa App:
'use strict';
var rp = require('request-promise');
var alexa = require('alexa-app');
var app = new alexa.app('sample');
var options = require('config');
app.intent('SalesVolumeIntent', function(request, response) {
options.uri = 'http://c12l.philwinkle.com/index.php/rest/V1/admin/sales/totals/today';
rp(options)
.then(function (res) {
response.say("Your sales for today are currently " + res.grand_total + " dollars");
response.send();
});
return false;
});
exports.handler = app.lambda();
Conversational Commerce: Magento, Facebook and Alexa | October 2016 25
Siri
Upside:
— Billions of devices (literally)
— Soon in our ears (thanks Airpods)
Downside:
— Swift / App dev focus
Conversational Commerce: Magento, Facebook and Alexa | October 2016 26
Implementation details
Conversational Commerce: Magento, Facebook and Alexa | October 2016 27
Alexa Taxonomony
Conversational Commerce: Magento, Facebook and Alexa | October 2016 28
Utterances
Utterances is the phrase that maps to an intent to
process a request
CheckStoreOnline is my store online
CheckStoreOnline are you online
CheckStoreOnline if it is online
CheckStoreOnline status
CheckStoreOnline current status
Conversational Commerce: Magento, Facebook and Alexa | October 2016 29
Intents and Slots
An intent allows you to map a phrase or phrases to a
static function
CheckStockLevel how many {item} are in stock
CheckStockLevel how many {color} {item} are in stock
CheckStockLevel how many {item} do I have
CheckStockLevel how many {color} {item} do I have
CheckStockLevel what is the stock level of {item}
CheckStockLevel what is the stock level of {color} {item}
Conversational Commerce: Magento, Facebook and Alexa | October 2016 30
Skill
A skill is a group of utterances which represent common
functionality. Essentially, an "app", for Alexa.
Conversational Commerce: Magento, Facebook and Alexa | October 2016 31
Conversational Commerce: Magento, Facebook and Alexa | October 2016 32
Serverless = Stateless
Because Alexa runs Lambda functions it is inherently
stateless. State can be stored either
- as a long-running session with multi-step question
and answer workflows
- stored in DynamoDb for later retrieval
Conversational Commerce: Magento, Facebook and Alexa | October 2016 33
Conversational Commerce: Magento, Facebook and Alexa | October 2016 34
Magento 2 REST APIs
Conversational Commerce: Magento, Facebook and Alexa | October 2016 35
Interesting endpoints to consume for logged-in
customers:
Quote REST API:
GET /V1/carts/mine
GET /V1/carts/mine/items
GET /V1/carts/mine/payment-methods
GET /V1/carts/mine/selected-payment-method
GET /V1/carts/mine/shipping-methods
GET /V1/carts/mine/totals
Conversational Commerce: Magento, Facebook and Alexa | October 2016 36
Use tokens for customer-
authenticated REST
Conversational Commerce: Magento, Facebook and Alexa | October 2016 37
Generate a token:
/rest/V1/integration/customer/token
Conversational Commerce: Magento, Facebook and Alexa | October 2016 38
Example:
curl -X "POST" "http://c12l.philwinkle.com/index.php/rest/V1/integration/customer/token" 
-H "Content-Type: application/json" 
-d $'{"username":"philwinkle@gmail.com", "password":"asdf;lkj1234"}
'
Conversational Commerce: Magento, Facebook and Alexa | October 2016 39
Get cart totals:
curl -X "GET" "http://c12l.philwinkle.com/index.php/rest/V1/carts/mine" 
-H "Authorization: Bearer 3g43lph2w0lcfh6719ltaa0fiml6sma1" 
-H "Content-Type: application/json"
Conversational Commerce: Magento, Facebook and Alexa | October 2016 40
Things that help
— Having an Alexa Device
— https://echosim.io/
— Testing tools in AWS Lambda Available
— Testing tools in Developer Portal
— Paw / REST testing tool
Conversational Commerce: Magento, Facebook and Alexa | October 2016 41
Facebook Messenger
Conversational Commerce: Magento, Facebook and Alexa | October 2016 42
Messenger
Messenger's approach is vastly different and is
essentially the same experience as creating a
Conversational Commerce: Magento, Facebook and Alexa | October 2016 43
Upsides
— Fit for commerce
— Cards
— Long interactions
— Initiate / Push
— Customer Matching (phone #)
— Can use any language
— XMPP should be familiar
Conversational Commerce: Magento, Facebook and Alexa | October 2016 44
Downsides
— XMPP is limiting, requires persistence
— We emulate more human-like qualities via text so we
have to fake interactions and pauses
Conversational Commerce: Magento, Facebook and Alexa | October 2016 45
Top 3 tips to creating engaging bot experiences1
1. Don't be dense
2. Have a vibe
3. Speak, don't print
1
GARY LEVITT, YOLA; VENTUREBEAT SEPTEMBER 2016
Conversational Commerce: Magento, Facebook and Alexa | October 2016 46
1. Don't be dense
Bad:
Me: help.
Bot: I can help by answering simple questions about
how Chatbot works. I’m just a bot, though! If you need
more help, try our Help Center for loads of useful
information about Chatbot...
```
Conversational Commerce: Magento, Facebook and Alexa | October 2016 47
1. Don't be dense
Better
Me: help.
Bot: Help is here, Gary!
Bot is typing…
Bot: Ask me a simple question.
Me: how to I blah blah blah?
Conversational Commerce: Magento, Facebook and Alexa | October 2016 48
Don't be dense
1. Constructing a concise chronological narrative helps
reduce denseness. When content is in little chunks,
it’s easier to process.
2. When your chatbot provides the right forms and
buttons at the right time, it can outperform its visual
interface counterpart.
3. Combining concepts or distinct sets of details in one
response causes mental static, and should be
Conversational Commerce: Magento, Facebook and Alexa | October 2016 49
2. Have a Vibe
Conversational Commerce: Magento, Facebook and Alexa | October 2016 50
Have a Vibe
1. Break up your communication into parts based on
their functions: actions, greetings, goodbyes,
thankyous, updates, loading, processing, intros,
descriptions, notifications, etc.
2. Pick one or two parts and — while keeping all other
parts neutral, concise, and direct — make that part a
little zesty or animated.
Conversational Commerce: Magento, Facebook and Alexa | October 2016 51
3. Speak, don’t print
In short, emulate typing and build in pauses. You can
split-test engagement based on pause time for a more
data-centric approach.
Conversational Commerce: Magento, Facebook and Alexa | October 2016 52
Messenger Differentiators
Conversational Commerce: Magento, Facebook and Alexa | October 2016 53
Messenger Differentiators
The key differentiators for Messenger are:
— A robust interaction platform:
— Card types
— Media
— Video
— Interaction
Conversational Commerce: Magento, Facebook and Alexa | October 2016 54
Downsides
— No discernment of "intent" like in Alexa
— Developer left to parse intent from AI human
language engine
Conversational Commerce: Magento, Facebook and Alexa | October 2016 55
Intent generation
Conversational Commerce: Magento, Facebook and Alexa | October 2016 56
Welcome screen
Conversational Commerce: Magento, Facebook and Alexa | October 2016 57
Rich cards
Conversational Commerce: Magento, Facebook and Alexa | October 2016 58
Prompt / Push
Conversational Commerce: Magento, Facebook and Alexa | October 2016 59
Push a message
Your package has shipped
curl -X POST -H "Content-Type: application/json" -d '{
"recipient":{
"id":"USER_ID"
},
"message":{
"text":"hello, world!"
}
}' "https://graph.facebook.com/v2.6/me/messages?access_token=PAGE_ACCESS_TOKEN"
Conversational Commerce: Magento, Facebook and Alexa | October 2016 60
Q&A
Conversational Commerce: Magento, Facebook and Alexa | October 2016 61
Thank you!
Conversational Commerce: Magento, Facebook and Alexa | October 2016 62

More Related Content

What's hot

Mli 2017 technical first steps to building secure Magento extensions
Mli 2017 technical first steps to building secure Magento extensionsMli 2017 technical first steps to building secure Magento extensions
Mli 2017 technical first steps to building secure Magento extensionsHanoi MagentoMeetup
 
Introducing eZ Publish Platform 5.1 - webinar
Introducing eZ Publish Platform 5.1 - webinarIntroducing eZ Publish Platform 5.1 - webinar
Introducing eZ Publish Platform 5.1 - webinarRoland Benedetti
 
Anatomy of a Progressive Web App
Anatomy of a Progressive Web AppAnatomy of a Progressive Web App
Anatomy of a Progressive Web AppMike North
 
PWA - Progressive Web App
PWA - Progressive Web AppPWA - Progressive Web App
PWA - Progressive Web AppRobert Robinson
 
Flex presentation1
Flex presentation1Flex presentation1
Flex presentation1Nguyen Tran
 
Lightning Web Components
Lightning Web ComponentsLightning Web Components
Lightning Web ComponentsAhmed Keshk
 
Progressive Web App
Progressive Web AppProgressive Web App
Progressive Web AppVinci Rufus
 
Customizing nopCommerce with Plugins and Themes
Customizing nopCommerce with Plugins and ThemesCustomizing nopCommerce with Plugins and Themes
Customizing nopCommerce with Plugins and ThemesGaines Kergosien
 
Federico Soich - Upgrading Magento Version
Federico Soich - Upgrading Magento VersionFederico Soich - Upgrading Magento Version
Federico Soich - Upgrading Magento VersionMeet Magento Italy
 
Mli 2017 technical intro to magento 2
Mli 2017 technical intro to magento 2Mli 2017 technical intro to magento 2
Mli 2017 technical intro to magento 2Hanoi MagentoMeetup
 
Building a MVC eCommerce Site in Under 5 Minutes
Building a MVC eCommerce Site in Under 5 MinutesBuilding a MVC eCommerce Site in Under 5 Minutes
Building a MVC eCommerce Site in Under 5 MinutesGaines Kergosien
 
Offline-First Progressive Web Apps
Offline-First Progressive Web AppsOffline-First Progressive Web Apps
Offline-First Progressive Web AppsAditya Punjani
 
Introduction to Progressive Web Apps, Google Developer Summit, Seoul - South ...
Introduction to Progressive Web Apps, Google Developer Summit, Seoul - South ...Introduction to Progressive Web Apps, Google Developer Summit, Seoul - South ...
Introduction to Progressive Web Apps, Google Developer Summit, Seoul - South ...Robert Nyman
 

What's hot (15)

Mli 2017 technical first steps to building secure Magento extensions
Mli 2017 technical first steps to building secure Magento extensionsMli 2017 technical first steps to building secure Magento extensions
Mli 2017 technical first steps to building secure Magento extensions
 
Introducing eZ Publish Platform 5.1 - webinar
Introducing eZ Publish Platform 5.1 - webinarIntroducing eZ Publish Platform 5.1 - webinar
Introducing eZ Publish Platform 5.1 - webinar
 
Anatomy of a Progressive Web App
Anatomy of a Progressive Web AppAnatomy of a Progressive Web App
Anatomy of a Progressive Web App
 
PWA - Progressive Web App
PWA - Progressive Web AppPWA - Progressive Web App
PWA - Progressive Web App
 
Flex presentation1
Flex presentation1Flex presentation1
Flex presentation1
 
Lightning Web Components
Lightning Web ComponentsLightning Web Components
Lightning Web Components
 
Progressive Web App
Progressive Web AppProgressive Web App
Progressive Web App
 
Customizing nopCommerce with Plugins and Themes
Customizing nopCommerce with Plugins and ThemesCustomizing nopCommerce with Plugins and Themes
Customizing nopCommerce with Plugins and Themes
 
Federico Soich - Upgrading Magento Version
Federico Soich - Upgrading Magento VersionFederico Soich - Upgrading Magento Version
Federico Soich - Upgrading Magento Version
 
Mli 2017 technical intro to magento 2
Mli 2017 technical intro to magento 2Mli 2017 technical intro to magento 2
Mli 2017 technical intro to magento 2
 
Building a MVC eCommerce Site in Under 5 Minutes
Building a MVC eCommerce Site in Under 5 MinutesBuilding a MVC eCommerce Site in Under 5 Minutes
Building a MVC eCommerce Site in Under 5 Minutes
 
Progressive Web-App (PWA)
Progressive Web-App (PWA)Progressive Web-App (PWA)
Progressive Web-App (PWA)
 
Offline-First Progressive Web Apps
Offline-First Progressive Web AppsOffline-First Progressive Web Apps
Offline-First Progressive Web Apps
 
Progressive Web Apps(PWA)
Progressive Web Apps(PWA)Progressive Web Apps(PWA)
Progressive Web Apps(PWA)
 
Introduction to Progressive Web Apps, Google Developer Summit, Seoul - South ...
Introduction to Progressive Web Apps, Google Developer Summit, Seoul - South ...Introduction to Progressive Web Apps, Google Developer Summit, Seoul - South ...
Introduction to Progressive Web Apps, Google Developer Summit, Seoul - South ...
 

Viewers also liked

"The Shopping Cart is Dead" - The Future of Commerce
"The Shopping Cart is Dead" - The Future of Commerce"The Shopping Cart is Dead" - The Future of Commerce
"The Shopping Cart is Dead" - The Future of CommercePhillip Jackson
 
denkwerk @ dmexco 2016 (Vortrag): Conversational Commerce: Sell where your co...
denkwerk @ dmexco 2016 (Vortrag): Conversational Commerce: Sell where your co...denkwerk @ dmexco 2016 (Vortrag): Conversational Commerce: Sell where your co...
denkwerk @ dmexco 2016 (Vortrag): Conversational Commerce: Sell where your co...denkwerk GmbH
 
Mage Titans USA 2016 M2 deployment
Mage Titans USA 2016  M2 deploymentMage Titans USA 2016  M2 deployment
Mage Titans USA 2016 M2 deploymentOlga Kopylova
 
Conversational commerce: why you should care what @joe public had for lunch
Conversational commerce: why you should care what @joe public had for lunchConversational commerce: why you should care what @joe public had for lunch
Conversational commerce: why you should care what @joe public had for lunchSebastien Provencher
 
hellofuture conversational commerce and chatbots
hellofuture conversational commerce and chatbotshellofuture conversational commerce and chatbots
hellofuture conversational commerce and chatbotsChris Kalaboukis
 
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational InterfacesThe Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational InterfacesTWG
 
PCI Compliance for Hipsters
PCI Compliance for HipstersPCI Compliance for Hipsters
PCI Compliance for HipstersPhillip Jackson
 
VISA - Conversational Commerce
VISA - Conversational CommerceVISA - Conversational Commerce
VISA - Conversational CommerceDiluk Perera (MBA)
 
How to Install Magento 2 Enterprise Edition
How to Install Magento 2 Enterprise EditionHow to Install Magento 2 Enterprise Edition
How to Install Magento 2 Enterprise EditionPhillip Jackson
 
Conversational Commerce in Indonesia 2016 - by Chris Franke
Conversational Commerce in Indonesia 2016 - by Chris FrankeConversational Commerce in Indonesia 2016 - by Chris Franke
Conversational Commerce in Indonesia 2016 - by Chris FrankeChris Franke
 
7 things you need to know on conversational commerce
7 things you need to know on conversational commerce7 things you need to know on conversational commerce
7 things you need to know on conversational commerceLetsclap
 
Kata.ai - Artificial Intelligence in Indonesia through conversational chatbot...
Kata.ai - Artificial Intelligence in Indonesia through conversational chatbot...Kata.ai - Artificial Intelligence in Indonesia through conversational chatbot...
Kata.ai - Artificial Intelligence in Indonesia through conversational chatbot...Chris Franke
 
The Rise of Messenger Apps & The Advent of ‘Conversational Commerce’
The Rise of Messenger Apps & The Advent of ‘Conversational Commerce’The Rise of Messenger Apps & The Advent of ‘Conversational Commerce’
The Rise of Messenger Apps & The Advent of ‘Conversational Commerce’In the Company of Huskies
 
Chatbots - The Business Opportunity
Chatbots - The Business OpportunityChatbots - The Business Opportunity
Chatbots - The Business OpportunityAlexandros Ivos
 
Conversational Commerce
Conversational CommerceConversational Commerce
Conversational CommerceBen Kosinski
 

Viewers also liked (18)

"The Shopping Cart is Dead" - The Future of Commerce
"The Shopping Cart is Dead" - The Future of Commerce"The Shopping Cart is Dead" - The Future of Commerce
"The Shopping Cart is Dead" - The Future of Commerce
 
denkwerk @ dmexco 2016 (Vortrag): Conversational Commerce: Sell where your co...
denkwerk @ dmexco 2016 (Vortrag): Conversational Commerce: Sell where your co...denkwerk @ dmexco 2016 (Vortrag): Conversational Commerce: Sell where your co...
denkwerk @ dmexco 2016 (Vortrag): Conversational Commerce: Sell where your co...
 
Mage Titans USA 2016 M2 deployment
Mage Titans USA 2016  M2 deploymentMage Titans USA 2016  M2 deployment
Mage Titans USA 2016 M2 deployment
 
Conversational commerce: why you should care what @joe public had for lunch
Conversational commerce: why you should care what @joe public had for lunchConversational commerce: why you should care what @joe public had for lunch
Conversational commerce: why you should care what @joe public had for lunch
 
hellofuture conversational commerce and chatbots
hellofuture conversational commerce and chatbotshellofuture conversational commerce and chatbots
hellofuture conversational commerce and chatbots
 
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational InterfacesThe Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
The Chatbots Are Coming: A Guide to Chatbots, AI and Conversational Interfaces
 
PCI Compliance for Hipsters
PCI Compliance for HipstersPCI Compliance for Hipsters
PCI Compliance for Hipsters
 
VISA - Conversational Commerce
VISA - Conversational CommerceVISA - Conversational Commerce
VISA - Conversational Commerce
 
How to Install Magento 2 Enterprise Edition
How to Install Magento 2 Enterprise EditionHow to Install Magento 2 Enterprise Edition
How to Install Magento 2 Enterprise Edition
 
Bots are loving you
Bots are loving youBots are loving you
Bots are loving you
 
Text Mining - Data Mining
Text Mining - Data MiningText Mining - Data Mining
Text Mining - Data Mining
 
Conversational Commerce in Indonesia 2016 - by Chris Franke
Conversational Commerce in Indonesia 2016 - by Chris FrankeConversational Commerce in Indonesia 2016 - by Chris Franke
Conversational Commerce in Indonesia 2016 - by Chris Franke
 
7 things you need to know on conversational commerce
7 things you need to know on conversational commerce7 things you need to know on conversational commerce
7 things you need to know on conversational commerce
 
Text Mining and Thai NLP
Text Mining and Thai NLP Text Mining and Thai NLP
Text Mining and Thai NLP
 
Kata.ai - Artificial Intelligence in Indonesia through conversational chatbot...
Kata.ai - Artificial Intelligence in Indonesia through conversational chatbot...Kata.ai - Artificial Intelligence in Indonesia through conversational chatbot...
Kata.ai - Artificial Intelligence in Indonesia through conversational chatbot...
 
The Rise of Messenger Apps & The Advent of ‘Conversational Commerce’
The Rise of Messenger Apps & The Advent of ‘Conversational Commerce’The Rise of Messenger Apps & The Advent of ‘Conversational Commerce’
The Rise of Messenger Apps & The Advent of ‘Conversational Commerce’
 
Chatbots - The Business Opportunity
Chatbots - The Business OpportunityChatbots - The Business Opportunity
Chatbots - The Business Opportunity
 
Conversational Commerce
Conversational CommerceConversational Commerce
Conversational Commerce
 

Similar to Conversational Commerce and Magento 2: Breaking new ground with Facebook, Alexa, and Slack

Getting Started with Office 365 Development
Getting Started with Office 365 DevelopmentGetting Started with Office 365 Development
Getting Started with Office 365 DevelopmentDragan Panjkov
 
Bootstrapping an App for Launch
Bootstrapping an App for LaunchBootstrapping an App for Launch
Bootstrapping an App for LaunchCraig Phares
 
Mobile features with ruby
Mobile features with rubyMobile features with ruby
Mobile features with rubyMaksim Golivkin
 
SharePoint 2013 Apps and the App Model
SharePoint 2013 Apps and the App ModelSharePoint 2013 Apps and the App Model
SharePoint 2013 Apps and the App ModelJames Tramel
 
Google Opening up to Developers - From 2 to 55 APIs in 3 years
Google Opening up to Developers - From 2 to 55 APIs in 3 yearsGoogle Opening up to Developers - From 2 to 55 APIs in 3 years
Google Opening up to Developers - From 2 to 55 APIs in 3 yearsPatrick Chanezon
 
sitNL masterclass - (handson) session - Create your first chatbot
sitNL masterclass - (handson) session - Create your first chatbotsitNL masterclass - (handson) session - Create your first chatbot
sitNL masterclass - (handson) session - Create your first chatbotWim Snoep
 
"How to create an efficient API.. with a business model?" by Nicolas Grenié
"How to create an efficient API.. with a business model?" by Nicolas Grenié"How to create an efficient API.. with a business model?" by Nicolas Grenié
"How to create an efficient API.. with a business model?" by Nicolas GreniéTheFamily
 
Overview Of Kaizala Extensibility and Programmability
Overview Of Kaizala Extensibility and ProgrammabilityOverview Of Kaizala Extensibility and Programmability
Overview Of Kaizala Extensibility and ProgrammabilityVijai Anand Ramalingam
 
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017Alex Smith
 
Jarkko Moilanen, APInf, “Get Control of Your IoT Cruisers” - Mindtrek 2017
Jarkko Moilanen, APInf, “Get Control of Your IoT Cruisers” - Mindtrek 2017Jarkko Moilanen, APInf, “Get Control of Your IoT Cruisers” - Mindtrek 2017
Jarkko Moilanen, APInf, “Get Control of Your IoT Cruisers” - Mindtrek 2017Mindtrek
 
Platform Product Management in 2021 by Square Product Leader
Platform Product Management in 2021 by Square Product LeaderPlatform Product Management in 2021 by Square Product Leader
Platform Product Management in 2021 by Square Product LeaderProduct School
 
ValoBox - Targeting Customers with APIs
ValoBox - Targeting Customers with APIsValoBox - Targeting Customers with APIs
ValoBox - Targeting Customers with APIsValoBox
 
apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays LIVE Jakarta - What will the next generation of API Portals look like...apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays LIVE Jakarta - What will the next generation of API Portals look like...apidays
 
Integrate drupal 8 with alexa - Rakshith
Integrate drupal 8 with alexa - RakshithIntegrate drupal 8 with alexa - Rakshith
Integrate drupal 8 with alexa - RakshithRakshith Tb
 
Guest Lecture _ Python Basics _ Alexa Skill Dev _ by Shivam Dutt Sharma
Guest Lecture _ Python Basics _ Alexa Skill Dev _ by Shivam Dutt SharmaGuest Lecture _ Python Basics _ Alexa Skill Dev _ by Shivam Dutt Sharma
Guest Lecture _ Python Basics _ Alexa Skill Dev _ by Shivam Dutt SharmaShivamDuttSharma
 
Automating the API Product Lifecycle
Automating the API Product LifecycleAutomating the API Product Lifecycle
Automating the API Product LifecycleOlyaSurits
 

Similar to Conversational Commerce and Magento 2: Breaking new ground with Facebook, Alexa, and Slack (20)

Getting Started with Office 365 Development
Getting Started with Office 365 DevelopmentGetting Started with Office 365 Development
Getting Started with Office 365 Development
 
Bootstrapping an App for Launch
Bootstrapping an App for LaunchBootstrapping an App for Launch
Bootstrapping an App for Launch
 
Mobile features with ruby
Mobile features with rubyMobile features with ruby
Mobile features with ruby
 
SharePoint 2013 Apps and the App Model
SharePoint 2013 Apps and the App ModelSharePoint 2013 Apps and the App Model
SharePoint 2013 Apps and the App Model
 
Resume
ResumeResume
Resume
 
Resume
ResumeResume
Resume
 
Google Opening up to Developers - From 2 to 55 APIs in 3 years
Google Opening up to Developers - From 2 to 55 APIs in 3 yearsGoogle Opening up to Developers - From 2 to 55 APIs in 3 years
Google Opening up to Developers - From 2 to 55 APIs in 3 years
 
sitNL masterclass - (handson) session - Create your first chatbot
sitNL masterclass - (handson) session - Create your first chatbotsitNL masterclass - (handson) session - Create your first chatbot
sitNL masterclass - (handson) session - Create your first chatbot
 
Graphql
GraphqlGraphql
Graphql
 
"How to create an efficient API.. with a business model?" by Nicolas Grenié
"How to create an efficient API.. with a business model?" by Nicolas Grenié"How to create an efficient API.. with a business model?" by Nicolas Grenié
"How to create an efficient API.. with a business model?" by Nicolas Grenié
 
Overview Of Kaizala Extensibility and Programmability
Overview Of Kaizala Extensibility and ProgrammabilityOverview Of Kaizala Extensibility and Programmability
Overview Of Kaizala Extensibility and Programmability
 
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
 
Jarkko Moilanen, APInf, “Get Control of Your IoT Cruisers” - Mindtrek 2017
Jarkko Moilanen, APInf, “Get Control of Your IoT Cruisers” - Mindtrek 2017Jarkko Moilanen, APInf, “Get Control of Your IoT Cruisers” - Mindtrek 2017
Jarkko Moilanen, APInf, “Get Control of Your IoT Cruisers” - Mindtrek 2017
 
Platform Product Management in 2021 by Square Product Leader
Platform Product Management in 2021 by Square Product LeaderPlatform Product Management in 2021 by Square Product Leader
Platform Product Management in 2021 by Square Product Leader
 
ValoBox - Targeting Customers with APIs
ValoBox - Targeting Customers with APIsValoBox - Targeting Customers with APIs
ValoBox - Targeting Customers with APIs
 
apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays LIVE Jakarta - What will the next generation of API Portals look like...apidays LIVE Jakarta - What will the next generation of API Portals look like...
apidays LIVE Jakarta - What will the next generation of API Portals look like...
 
Deep Dive: AWS Lambda
Deep Dive: AWS LambdaDeep Dive: AWS Lambda
Deep Dive: AWS Lambda
 
Integrate drupal 8 with alexa - Rakshith
Integrate drupal 8 with alexa - RakshithIntegrate drupal 8 with alexa - Rakshith
Integrate drupal 8 with alexa - Rakshith
 
Guest Lecture _ Python Basics _ Alexa Skill Dev _ by Shivam Dutt Sharma
Guest Lecture _ Python Basics _ Alexa Skill Dev _ by Shivam Dutt SharmaGuest Lecture _ Python Basics _ Alexa Skill Dev _ by Shivam Dutt Sharma
Guest Lecture _ Python Basics _ Alexa Skill Dev _ by Shivam Dutt Sharma
 
Automating the API Product Lifecycle
Automating the API Product LifecycleAutomating the API Product Lifecycle
Automating the API Product Lifecycle
 

More from Phillip Jackson

"How to Start a Podcast" - Modern Content Marketing for Thought Leadership
"How to Start a Podcast" - Modern Content Marketing for Thought Leadership"How to Start a Podcast" - Modern Content Marketing for Thought Leadership
"How to Start a Podcast" - Modern Content Marketing for Thought LeadershipPhillip Jackson
 
PCI, ADA and COPPA - OH MY! Managing Regulatory Compliance - Magento Imagine ...
PCI, ADA and COPPA - OH MY! Managing Regulatory Compliance - Magento Imagine ...PCI, ADA and COPPA - OH MY! Managing Regulatory Compliance - Magento Imagine ...
PCI, ADA and COPPA - OH MY! Managing Regulatory Compliance - Magento Imagine ...Phillip Jackson
 
Beyond the Shopping Cart - Bronto Summit 2016
Beyond the Shopping Cart - Bronto Summit 2016Beyond the Shopping Cart - Bronto Summit 2016
Beyond the Shopping Cart - Bronto Summit 2016Phillip Jackson
 
Virtues of platform development
Virtues of platform developmentVirtues of platform development
Virtues of platform developmentPhillip Jackson
 

More from Phillip Jackson (8)

"How to Start a Podcast" - Modern Content Marketing for Thought Leadership
"How to Start a Podcast" - Modern Content Marketing for Thought Leadership"How to Start a Podcast" - Modern Content Marketing for Thought Leadership
"How to Start a Podcast" - Modern Content Marketing for Thought Leadership
 
Site search-bronto
Site search-brontoSite search-bronto
Site search-bronto
 
Future of-commerce-2.0
Future of-commerce-2.0Future of-commerce-2.0
Future of-commerce-2.0
 
PCI, ADA and COPPA - OH MY! Managing Regulatory Compliance - Magento Imagine ...
PCI, ADA and COPPA - OH MY! Managing Regulatory Compliance - Magento Imagine ...PCI, ADA and COPPA - OH MY! Managing Regulatory Compliance - Magento Imagine ...
PCI, ADA and COPPA - OH MY! Managing Regulatory Compliance - Magento Imagine ...
 
Beyond the Shopping Cart - Bronto Summit 2016
Beyond the Shopping Cart - Bronto Summit 2016Beyond the Shopping Cart - Bronto Summit 2016
Beyond the Shopping Cart - Bronto Summit 2016
 
Wow Such PCI Compliance
Wow Such PCI ComplianceWow Such PCI Compliance
Wow Such PCI Compliance
 
Imagine Recap
Imagine RecapImagine Recap
Imagine Recap
 
Virtues of platform development
Virtues of platform developmentVirtues of platform development
Virtues of platform development
 

Recently uploaded

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Recently uploaded (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

Conversational Commerce and Magento 2: Breaking new ground with Facebook, Alexa, and Slack

  • 1. Conversational Commerce and Magento 2 Breaking new ground with Alexa, Facebook and Slack Conversational Commerce: Magento, Facebook and Alexa | October 2016 1
  • 3. @magetalk Conversational Commerce: Magento, Facebook and Alexa | October 2016 3
  • 4. Conversational Commerce: Magento, Facebook and Alexa | October 2016 4
  • 6. What is Conversational Commerce? (C12L) Conversational Commerce: Magento, Facebook and Alexa | October 2016 6
  • 7. What is it not? C12L is not about shopping online in a chat bot. It is about creating opportunities to engage with customers in an asynchronous way Conversational Commerce: Magento, Facebook and Alexa | October 2016 7
  • 8. So then what is Conversational Commerce? — Conversational, when done well, is assistive — It is engaging — It is helpful — It creates value Conversational Commerce: Magento, Facebook and Alexa | October 2016 8
  • 9. C12L Commerce This is not a new concept. "Bots" have been around for ages. What is new is that we can now interact with them outside of our traditional desktop computer contexts. Conversational Commerce: Magento, Facebook and Alexa | October 2016 9
  • 10. We shouldn't be repurposing APIs for every medium. Each medium excels in its own particular niche given its audience. Conversational Commerce: Magento, Facebook and Alexa | October 2016 10
  • 11. — Not for all contexts — Alexa: Store Insights / Administration — Slack: Developer Support — Facebook: Consumer Conversational Commerce: Magento, Facebook and Alexa | October 2016 11
  • 12. Why not Alexa for purchasing on Magento? — API could be used, so it's possible — Purchase decisions are hard — Predciated on choice — Search and browse is impossible via spoken word — Write one API, use it many places... Conversational Commerce: Magento, Facebook and Alexa | October 2016 12
  • 13. Why would we want this? — We're moving away from Visual UI — Spoken word is the fastest way to communicate (send) — Written text is the fastest way to consume Conversational Commerce: Magento, Facebook and Alexa | October 2016 13
  • 14. We're becoming increasingly distracted Conversational Commerce: Magento, Facebook and Alexa | October 2016 14
  • 15. What kind of change does this mean for businesses? — Change of jobs and expertise — Fewer creative arts, more communications — Call trees replaced by chat trees — Asynchronous, on your time === 24/7 Conversational Commerce: Magento, Facebook and Alexa | October 2016 15
  • 16. Obvious commerce applications — Beyond the purchase: — Status, update, cancel, replacement — Reorder — 1-click, ephemeral Conversational Commerce: Magento, Facebook and Alexa | October 2016 16
  • 17. Challenges Conversational Commerce: Magento, Facebook and Alexa | October 2016 17
  • 18. Challenges — Fragmented APIs mean lots of boilerplate code to interact with your store capabilities — For Magento this is likely REST API — Different UIs mean different skillsets Conversational Commerce: Magento, Facebook and Alexa | October 2016 18
  • 19. Technologies Conversational Commerce: Magento, Facebook and Alexa | October 2016 19
  • 20. — Alexa — Facebook — Slack Conversational Commerce: Magento, Facebook and Alexa | October 2016 20
  • 21. Alexa Upside: — Robust API — Geared toward commerce (future) — Rapid dev — 3rd party consumer — FREE (Raspberry Pi) — BYOL(anguage) Conversational Commerce: Magento, Facebook and Alexa | October 2016 21
  • 22. Alexa (cont.) Downside: — Physical devices (right now) — Lower adoption with dependence on physical devices Conversational Commerce: Magento, Facebook and Alexa | October 2016 22
  • 23. Thankfully — Serverless.js — Alexa App on Node.js Conversational Commerce: Magento, Facebook and Alexa | October 2016 23
  • 24. Developer boilerplate without Alexa App: exports.handler = (event, context, callback) => { try { console.log(`event.session.application.applicationId=${event.session.application.applicationId}`); /** * Uncomment this if statement and populate with your skill's application ID to * prevent someone else from configuring a skill that sends requests to this function. */ /* if (event.session.application.applicationId !== 'amzn1.echo-sdk-ams.app.[unique-value-here]') { callback('Invalid Application ID'); } */ if (event.session.new) { onSessionStarted({ requestId: event.request.requestId }, event.session); } if (event.request.type === 'LaunchRequest') { onLaunch(event.request, event.session, (sessionAttributes, speechletResponse) => { callback(null, buildResponse(sessionAttributes, speechletResponse)); }); } else if (event.request.type === 'IntentRequest') { onIntent(event.request, event.session, (sessionAttributes, speechletResponse) => { callback(null, buildResponse(sessionAttributes, speechletResponse)); }); } else if (event.request.type === 'SessionEndedRequest') { onSessionEnded(event.request, event.session); callback(); } } catch (err) { callback(err); } }; Conversational Commerce: Magento, Facebook and Alexa | October 2016 24
  • 25. With Alexa App: 'use strict'; var rp = require('request-promise'); var alexa = require('alexa-app'); var app = new alexa.app('sample'); var options = require('config'); app.intent('SalesVolumeIntent', function(request, response) { options.uri = 'http://c12l.philwinkle.com/index.php/rest/V1/admin/sales/totals/today'; rp(options) .then(function (res) { response.say("Your sales for today are currently " + res.grand_total + " dollars"); response.send(); }); return false; }); exports.handler = app.lambda(); Conversational Commerce: Magento, Facebook and Alexa | October 2016 25
  • 26. Siri Upside: — Billions of devices (literally) — Soon in our ears (thanks Airpods) Downside: — Swift / App dev focus Conversational Commerce: Magento, Facebook and Alexa | October 2016 26
  • 27. Implementation details Conversational Commerce: Magento, Facebook and Alexa | October 2016 27
  • 28. Alexa Taxonomony Conversational Commerce: Magento, Facebook and Alexa | October 2016 28
  • 29. Utterances Utterances is the phrase that maps to an intent to process a request CheckStoreOnline is my store online CheckStoreOnline are you online CheckStoreOnline if it is online CheckStoreOnline status CheckStoreOnline current status Conversational Commerce: Magento, Facebook and Alexa | October 2016 29
  • 30. Intents and Slots An intent allows you to map a phrase or phrases to a static function CheckStockLevel how many {item} are in stock CheckStockLevel how many {color} {item} are in stock CheckStockLevel how many {item} do I have CheckStockLevel how many {color} {item} do I have CheckStockLevel what is the stock level of {item} CheckStockLevel what is the stock level of {color} {item} Conversational Commerce: Magento, Facebook and Alexa | October 2016 30
  • 31. Skill A skill is a group of utterances which represent common functionality. Essentially, an "app", for Alexa. Conversational Commerce: Magento, Facebook and Alexa | October 2016 31
  • 32. Conversational Commerce: Magento, Facebook and Alexa | October 2016 32
  • 33. Serverless = Stateless Because Alexa runs Lambda functions it is inherently stateless. State can be stored either - as a long-running session with multi-step question and answer workflows - stored in DynamoDb for later retrieval Conversational Commerce: Magento, Facebook and Alexa | October 2016 33
  • 34. Conversational Commerce: Magento, Facebook and Alexa | October 2016 34
  • 35. Magento 2 REST APIs Conversational Commerce: Magento, Facebook and Alexa | October 2016 35
  • 36. Interesting endpoints to consume for logged-in customers: Quote REST API: GET /V1/carts/mine GET /V1/carts/mine/items GET /V1/carts/mine/payment-methods GET /V1/carts/mine/selected-payment-method GET /V1/carts/mine/shipping-methods GET /V1/carts/mine/totals Conversational Commerce: Magento, Facebook and Alexa | October 2016 36
  • 37. Use tokens for customer- authenticated REST Conversational Commerce: Magento, Facebook and Alexa | October 2016 37
  • 38. Generate a token: /rest/V1/integration/customer/token Conversational Commerce: Magento, Facebook and Alexa | October 2016 38
  • 39. Example: curl -X "POST" "http://c12l.philwinkle.com/index.php/rest/V1/integration/customer/token" -H "Content-Type: application/json" -d $'{"username":"philwinkle@gmail.com", "password":"asdf;lkj1234"} ' Conversational Commerce: Magento, Facebook and Alexa | October 2016 39
  • 40. Get cart totals: curl -X "GET" "http://c12l.philwinkle.com/index.php/rest/V1/carts/mine" -H "Authorization: Bearer 3g43lph2w0lcfh6719ltaa0fiml6sma1" -H "Content-Type: application/json" Conversational Commerce: Magento, Facebook and Alexa | October 2016 40
  • 41. Things that help — Having an Alexa Device — https://echosim.io/ — Testing tools in AWS Lambda Available — Testing tools in Developer Portal — Paw / REST testing tool Conversational Commerce: Magento, Facebook and Alexa | October 2016 41
  • 42. Facebook Messenger Conversational Commerce: Magento, Facebook and Alexa | October 2016 42
  • 43. Messenger Messenger's approach is vastly different and is essentially the same experience as creating a Conversational Commerce: Magento, Facebook and Alexa | October 2016 43
  • 44. Upsides — Fit for commerce — Cards — Long interactions — Initiate / Push — Customer Matching (phone #) — Can use any language — XMPP should be familiar Conversational Commerce: Magento, Facebook and Alexa | October 2016 44
  • 45. Downsides — XMPP is limiting, requires persistence — We emulate more human-like qualities via text so we have to fake interactions and pauses Conversational Commerce: Magento, Facebook and Alexa | October 2016 45
  • 46. Top 3 tips to creating engaging bot experiences1 1. Don't be dense 2. Have a vibe 3. Speak, don't print 1 GARY LEVITT, YOLA; VENTUREBEAT SEPTEMBER 2016 Conversational Commerce: Magento, Facebook and Alexa | October 2016 46
  • 47. 1. Don't be dense Bad: Me: help. Bot: I can help by answering simple questions about how Chatbot works. I’m just a bot, though! If you need more help, try our Help Center for loads of useful information about Chatbot... ``` Conversational Commerce: Magento, Facebook and Alexa | October 2016 47
  • 48. 1. Don't be dense Better Me: help. Bot: Help is here, Gary! Bot is typing… Bot: Ask me a simple question. Me: how to I blah blah blah? Conversational Commerce: Magento, Facebook and Alexa | October 2016 48
  • 49. Don't be dense 1. Constructing a concise chronological narrative helps reduce denseness. When content is in little chunks, it’s easier to process. 2. When your chatbot provides the right forms and buttons at the right time, it can outperform its visual interface counterpart. 3. Combining concepts or distinct sets of details in one response causes mental static, and should be Conversational Commerce: Magento, Facebook and Alexa | October 2016 49
  • 50. 2. Have a Vibe Conversational Commerce: Magento, Facebook and Alexa | October 2016 50
  • 51. Have a Vibe 1. Break up your communication into parts based on their functions: actions, greetings, goodbyes, thankyous, updates, loading, processing, intros, descriptions, notifications, etc. 2. Pick one or two parts and — while keeping all other parts neutral, concise, and direct — make that part a little zesty or animated. Conversational Commerce: Magento, Facebook and Alexa | October 2016 51
  • 52. 3. Speak, don’t print In short, emulate typing and build in pauses. You can split-test engagement based on pause time for a more data-centric approach. Conversational Commerce: Magento, Facebook and Alexa | October 2016 52
  • 53. Messenger Differentiators Conversational Commerce: Magento, Facebook and Alexa | October 2016 53
  • 54. Messenger Differentiators The key differentiators for Messenger are: — A robust interaction platform: — Card types — Media — Video — Interaction Conversational Commerce: Magento, Facebook and Alexa | October 2016 54
  • 55. Downsides — No discernment of "intent" like in Alexa — Developer left to parse intent from AI human language engine Conversational Commerce: Magento, Facebook and Alexa | October 2016 55
  • 56. Intent generation Conversational Commerce: Magento, Facebook and Alexa | October 2016 56
  • 57. Welcome screen Conversational Commerce: Magento, Facebook and Alexa | October 2016 57
  • 58. Rich cards Conversational Commerce: Magento, Facebook and Alexa | October 2016 58
  • 59. Prompt / Push Conversational Commerce: Magento, Facebook and Alexa | October 2016 59
  • 60. Push a message Your package has shipped curl -X POST -H "Content-Type: application/json" -d '{ "recipient":{ "id":"USER_ID" }, "message":{ "text":"hello, world!" } }' "https://graph.facebook.com/v2.6/me/messages?access_token=PAGE_ACCESS_TOKEN" Conversational Commerce: Magento, Facebook and Alexa | October 2016 60
  • 61. Q&A Conversational Commerce: Magento, Facebook and Alexa | October 2016 61
  • 62. Thank you! Conversational Commerce: Magento, Facebook and Alexa | October 2016 62