how apis enable contextual communications

41
HOW APIS ENABLE CONTEXTUAL COMMUNICATIONS APIDAYS PARIS - DECEMBER 2016

Upload: phil-leggetter

Post on 16-Apr-2017

279 views

Category:

Software


3 download

TRANSCRIPT

Page 1: How APIs Enable Contextual Communications

HOW APIS ENABLE CONTEXTUAL COMMUNICATIONS

APIDAYS PARIS - DECEMBER 2016

Page 2: How APIs Enable Contextual Communications

PHIL @LEGGETTER HEAD OF DEVELOPER RELATIONS

[email protected] @LEGGETTER

Page 3: How APIs Enable Contextual Communications

Chat Apps Transport Social Communication FinanceTravel eCommerce

Page 4: How APIs Enable Contextual Communications

WHAT WE’LL COVER

▸ What is Contextual Communication?

▸ Why it matters?

▸ How APIs enable Contextual Communications

▸ Thoughts & Summary

Page 5: How APIs Enable Contextual Communications

WHAT?

Page 6: How APIs Enable Contextual Communications

“By 2017, 70% of customer communications will be digital, contextualized and consumed on demand via multiple channels, including the web, mobile devices and social media.”

Gartner (2014)

AN OBVIOUS TREND

LET USERS COMMUNICATE

WHEN AND WHERE SUITS THEM

?

?

Page 7: How APIs Enable Contextual Communications

Context (n): the situation in which something happens : the group of conditions that exist where and when something happens

Page 8: How APIs Enable Contextual Communications

AMAZON MAYDAY

Page 9: How APIs Enable Contextual Communications

AMAZON MAYDAY

▸ Knows who you are?

▸ Knows what you're doing on your Kindle

▸ Can annotate your screen

▸ Can Control your Kindle (?)

Page 10: How APIs Enable Contextual Communications

Multiple Channels/Omni-channel (n): a synchronized operating model in which all of the company’s channels are aligned and present a single face to the customer

Accenture (2015)

Page 11: How APIs Enable Contextual Communications

Social

Website

Store

Phone

Mobile

Email

App

1

2

4

3

5

6

7

MULTIPLE CHANNELS (OMNI CHANNEL)

Page 12: How APIs Enable Contextual Communications

INTERCOM

Page 13: How APIs Enable Contextual Communications

INTERCOM

▸ Knows who you are

▸ Has a lot of data about your product usage

▸ Communicate on-demand

▸ Provides "Omni Channel" Communication

▸ In-App Messaging

▸ Push Notifications

▸ Email

Page 14: How APIs Enable Contextual Communications

Contextual communication (n): the bidirectional transfer of information between two parties where both parties are aware of the relational, environmental and cultural context of the exchangeWHAT IS THE

RELATIONSHIP?

VIRTUAL (APP/DEVICE)

PHYSICAL

INFORM DECISIONS ON HOW TO

COMMUNICATE

Page 15: How APIs Enable Contextual Communications

WHY?

Page 16: How APIs Enable Contextual Communications

EXISTING EXPERIENCES SUCK

Page 17: How APIs Enable Contextual Communications

Social

Website

Store

Phone

Mobile

Email

App

1 2

LOSING CONTEXT ACROSS A SINGLE CHANNEL!

POTENTIAL LOSS OF CONTEXT

Page 18: How APIs Enable Contextual Communications
Page 19: How APIs Enable Contextual Communications
Page 20: How APIs Enable Contextual Communications

MAINTAINING CONTEXT THROUGH STATE IMPROVES THE USER EXPERIENCE

Page 21: How APIs Enable Contextual Communications

Social

Website

Store

Phone

Mobile

Email

App

1

2

4

3

5

CONVERSATIONS CAN TAKE PLACE ACROSS MULTIPLE CHANNELS (OMNI CHANNEL)

6

POTENTIAL LOSS OF CONTEXT

7

Page 22: How APIs Enable Contextual Communications

IP MessagingPSTN IP Voice SMS

COMMUNICATIONS ACROSS CHANNELS

Email

Page 23: How APIs Enable Contextual Communications

MY PREFERENCENOT FOR ME!

MAYBE I’M PUT OFF BY HUMAN

INTERACTION!?!

Page 24: How APIs Enable Contextual Communications

CONTEXT CAN ALSO IMPACT THE BEST FORM OF COMMUNICATION

▸ e.g. Communicate with me whilst I’m travelling

▸ The User - who am I?

▸ Geolocation - traveling outside of normal location

▸ Connectivity - I have Wifi connectivity

▸ Calendar - I’m giving a talk

▸ Message Priority

▸ Email (Read at some point)

▸ Push Notification/SMS (Read soon)

Page 25: How APIs Enable Contextual Communications

WHY CONTEXTUAL COMMUNICATIONS

▸ Maintain context through state/data

▸ Continue conversations across channels

▸ Allow users to communicate in the ways that suits them

▸ Use multiple sources of data to make intelligent decisions

▸ Provide a more efficient and better UX

Page 26: How APIs Enable Contextual Communications

HOW? (APIS ENABLE CONTEXTUAL COMMUNICATIONS)

Page 27: How APIs Enable Contextual Communications

API FOR COMMUNICATIONS

IP MessagingPSTN IP Voice SMS Email

Page 28: How APIs Enable Contextual Communications

DEVICE API FOR ACCESSING CONTEXT

Icons made by madebyoliver via www.flaticon.com is licensed by CC 3.0 BY

IDENTITY APP DATA

GEOLOCATION CONTACTS

CALENDAR CONNECTIVITY

MICROPHONE CAMERA

PHONESMS

ORIENTATION BATTERY

Page 29: How APIs Enable Contextual Communications

WEB APIS FOR ACCESSING CONTEXT

IDENTITY APP DATA

GEOLOCATION CONTACTS

CALENDAR CONNECTIVITY

MICROPHONE CAMERA

PHONESMS

ORIENTATION BATTERY

?

Page 30: How APIs Enable Contextual Communications

APIS PROVIDING CONTEXT

▸ e.g. Communicate with me whilst I’m travelling

▸ The User - who am I?

▸ Location - traveling outside of normal location

▸ Connectivity - I have Wifi connectivity

▸ Calendar - I’m giving a talk

▸ Message Priority

▸ Email (Read at some point)

▸ SMS/Push Notification (Read soon)

Page 31: How APIs Enable Contextual Communications

THINGS TO CONSIDER

Page 32: How APIs Enable Contextual Communications

API FOR COMMUNICATIONS

IP MessagingPSTN IP Voice SMS Email

Page 33: How APIs Enable Contextual Communications

COMMUNICATIONS TRANSPORTS, PATTERNS AND PROTOCOLS

HTTP

WebSocket

RTCPeerConnection

WebHookPubSub

MQTT

EventSource

Evented PubSub

DataSync

RPC/RMI

GRIP

LiveResource

WAMP

SMPP

SIP

Page 34: How APIs Enable Contextual Communications

CONTEXT

VOICE IS THE MOST NATURAL UI VOICE HAS THE POTENTIAL OF SIGNIFICANT REACH

http://www.slideshare.net/kleinerperkins/2016-internet-trends-report

Page 35: How APIs Enable Contextual Communications

EXAMPLE OF BRIDGING TRANSPORTS (WEBSOCKET VISUALIZER)

Page 36: How APIs Enable Contextual Communications

VOICE AND BOTS? IBM WATSON INTU - WEBSOCKET <-> PSTN

Page 37: How APIs Enable Contextual Communications

EXAMPLE OF INTEGRATION WITH COGNITIVE SERVICES

Page 38: How APIs Enable Contextual Communications

SUMMARY

▸ Contextual Communications provides the User with an experience where…

▸ UX is enhanced by state/conversation history

▸ Context is maintained across communications channels

▸ APIs give us the power to…

▸ Communicate across channels and maintain context

▸ Add rich data to provide intelligent communication solutions

▸ Maintain and enhance experience further

Page 39: How APIs Enable Contextual Communications

PSTN

SIP

SMS

WebRTC

Bot

Nexmo API

IP Messaging

Social Connectors

NEXMO CONVERSATION API: THE CONTEXT AWARE API

Page 40: How APIs Enable Contextual Communications

GET EARLY ACCESS JOIN THE NEXMO COMMUNITY SLACK

http://bit.ly/nexmo-slack

Page 41: How APIs Enable Contextual Communications

PHIL @LEGGETTER DEVELOPER ADVOCATE

[email protected] @LEGGETTER