78
DevNet @TAG Rome May 5th, Milan May 12th 2016 Catalyzing Digital Transformations by leveraging CISCO APIs Cisco Spark & Tropo APIs

DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

Embed Size (px)

Citation preview

Page 1: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

DevNet @TAGRome May 5th, Milan May 12th 2016

Catalyzing Digital Transformations

by leveraging CISCO APIs

Cisco Spark & Tropo APIs

Page 2: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

2© 2016 Cisco and/or its affiliates. All rights reserved

Cisco Platforms for Innovation

Developer Resources

Market Opportunities

Vibrant Developer Ecosystem

2

Page 3: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

Developer Portal• Dev Centers• Support Centers

370,000 Members(April 2016)

Learning labsSpringboards & Sandbox

Hackathons, CodeCamps DevNet Express

Standards & Open Source

DevNet Zone at Cisco Lives

DevNet Kids, IEEE Women in Engineering

API DocumentationProjet Showcases

Forums, Community blogs

Page 4: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

4© 2016 Cisco and/or its affiliates. All rights reserved

Partners and Developer Communities TrainingAPIs, Coding, Collab, SDN, IoT, Cloud, DevOps

https://developer.cisco.com/site/devnet/events-contests/events/

Page 5: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

5© 2016 Cisco and/or its affiliates. All rights reserved

Sandbox – Remote labs

Page 6: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

6© 2016 Cisco and/or its affiliates. All rights reserved

Visit developer.cisco.com/devnetlabs

DevNet Labs – Inspiration

Page 7: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

7© 2016 Cisco and/or its affiliates. All rights reserved

Developer Community and ForumsGet free support from communities forums

Moderated by Cisco

communities.cisco.com

Page 8: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

8© 2016 Cisco and/or its affiliates. All rights reserved

Cube

• Dedicated Space

• Ongoing dialogue

• Events

• Learning

Page 9: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

Stève Sfartz, [email protected] Evangelist @CiscoDevNet

twitter://@SteveSfartz, github://@ObjectIsAdvantag

Cisco Spark and Tropo APIs

Page 10: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

10© 2016 Cisco and/or its affiliates. All rights reserved

Never better time to innovate with Cisco Introduction to Cisco Spark & Tropo APIs Spark & Tropo all together

Agenda

Page 11: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

11© 2016 Cisco and/or its affiliates. All rights reserved

Innovations for the Digital BusinessLeveraging Cisco APIs

Internet of Things

Big Data & Real-time Streaming Analytics

Software Defined Networking

Cloud &Data Center

Digital Convergence

Page 12: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

12© 2016 Cisco and/or its affiliates. All rights reserved

Cisco Collaboration Developer Platforms

Complete collaboration

solution

Modular building blocks

Integrate, extend, and customize Spark experiences

Cisco Spark Platform Embed voice and SMS services to enhance

business processes

Tropo Platform

Our flexible platforms offer businesses a comprehensive set of tools to extend and embed cloud collaboration services, increasing team productivity and deepening customer engagement.

Connect people, services and business processes like never before

Connect people, services and business processes like never before

Page 13: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

Introductionto Tropo APIs

Page 14: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

Cloud APIs enabling developers to quickly and easily embed communication capabilities into their applications and business processes.

Page 15: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

15© 2016 Cisco and/or its affiliates. All rights reserved

Old-styleCommunicationDevelopment

Page 16: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

16© 2016 Cisco and/or its affiliates. All rights reserved

+• Ask • Call • Conference • Hangup

• Record • Reject • Say • Transfer

Page 17: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

17© 2016 Cisco and/or its affiliates. All rights reserved

say("hello world");

Speak or Text

Page 18: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

18© 2016 Cisco and/or its affiliates. All rights reserved

Play an Audio File

say(“http://www.phono.com/audio/troporocks.mp3");

Page 19: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

19© 2016 Cisco and/or its affiliates. All rights reserved

call("+14155550100");say("Tag, you’re it!");

Asking a

Question

Outbound Voice Call

Page 20: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

20© 2016 Cisco and/or its affiliates. All rights reserved

Asking a

Question

Send a Text Message

call("+14155550100", {network:"SMS"});say("Tag, you’re it!");

Page 21: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

21© 2016 Cisco and/or its affiliates. All rights reserved

Asking a Question

var result = ask("What's your favorite color? Choose from red, blue or green.", { choices:"red, blue, green"});say("You said " + result.value);log("They said " + result.value);

Page 22: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

22© 2016 Cisco and/or its affiliates. All rights reserved

Voicemail Applicationrecord("Leave your message at the beep. Press pound when

finished.", { beep:true, timeout:10, silenceTimeout:7, maxTime:60, terminator:'#', recordFormat:"audio/mp3", recordURI:"ftp://example.com/1.mp3", recordUser:"tropocloud", recordPassword:"password" });

Page 23: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

23© 2016 Cisco and/or its affiliates. All rights reserved

Record an Entire Call

startCallRecording("http://example.com/recording.js");

ask("What's your favorite color? Choose from red, blue or green.", { choices:"red, blue, green"});

stopCallRecording();

Page 24: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

Interactive examples

http://usecases.tropo.com/outbound-text-voice-alerts/medical

Page 25: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

25© 2016 Cisco and/or its affiliates. All rights reserved

• Local Numbers

• Toll Free• 42+

countries• SIP Addresses

Numbers• Inbound• Outbound• Trunking

included

Voice• Inbound• Outbound• Two-way

Texting

Page 26: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

26© 2016 Cisco and/or its affiliates. All rights reserved

• Transfer• Conference• Headers

Call Control• Speech

Recognition• Text to

Speech• Audio

playback• Recording

Rich Media• Redundant

data centers• Auto-scaling• Usage-based

Cloud

Page 27: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

Tropo API Documentation

https://tropo.com

Page 28: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

28© 2016 Cisco and/or its affiliates. All rights reserved

24x7 supportAll featuresMonitored, Managed Cloud

Developer Production Enterprise

Page 29: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

Introduction to Cisco Spark

Page 30: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

30© 2016 Cisco and/or its affiliates. All rights reserved

increase in amount of information created by 2020

500%of organizations will offer mobility to workers by 2020

90%increase in innovation and creativity with collaboration outside the organization

35%

The Way We Work Has Changed

Agile Teams Work From Anywhere Ecosystem Collaboration

to to to

Individuals At a Corporate Desk Internal Interactions

Social Media Today Frost & Sullivan PGi

Page 31: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

31© 2016 Cisco and/or its affiliates. All rights reserved

Why Cisco Spark

Simple Secure Complete

Page 32: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

32© 2016 Cisco and/or its affiliates. All rights reserved

Secure

One Experience

Message Meeting Call1:1 and team messaging in virtual rooms

Persistent Chat, Content Sharing, Iteration

A Cloud-based phone system plus much more

Make calls within or outside organization via the PSTN

Audio, video, and web meetings

Before/during/after-meeting messaging and content

Cisco Spark

Page 33: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

33© 2016 Cisco and/or its affiliates. All rights reserved

Rooms, Messages, Calls, Meetings

Cisco Spark demo

Click icon to add picture

Page 34: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

34© 2016 Cisco and/or its affiliates. All rights reserved

Cisco Spark

Open Platform

Common Management

Spark for DevelopersUser Integrations, APIs/SDKs, etc.

Spark Hybrid ServicesCloud + Prem

Partner ServicesInterconnect

Message Meeting Call

Page 35: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

35© 2016 Cisco and/or its affiliates. All rights reserved

Cisco Spark for Developers

35© 2015 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Make it easy for users to integrate Cisco Spark with the apps they love and give developers tools to transform collaboration experiences.

Teams unify workstreams

in a click

Native Integrations

Power-users create their own apps

in minutes

App Integration Services

Developers accelerate the value of Spark in

their environments

PlatformAPIs / SDKs

Page 36: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

36© 2016 Cisco and/or its affiliates. All rights reserved

Who Uses the Integrations and APIs?

-

Developer

Power User

App Integration servicesNative Integration’s

/Rooms

/Memberships/Messages

/Webhooks/People

Page 37: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

37© 2016 Cisco and/or its affiliates. All rights reserved

• Unify workstreams from right inside the Cisco Spark app with native integrations

Use Native Integrations or Create Your Own

Page 38: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

38© 2016 Cisco and/or its affiliates. All rights reserved

Native integration

Trello integration

Page 39: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

39© 2016 Cisco and/or its affiliates. All rights reserved

App Integration Services

Build your own integrations between

Cisco Spark and the other apps you love

Use built-in filters to automate how content is shared

Platforms that create connections between

hundreds of apps

Page 40: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

40© 2016 Cisco and/or its affiliates. All rights reserved

App Integration Services

Zapierintegration Click icon to add picture

Page 41: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

41© 2016 Cisco and/or its affiliates. All rights reserved

Use Spark to stay up to date

Keep up with Twitter mentions

Your personal productivity tool

Page 42: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

42© 2016 Cisco and/or its affiliates. All rights reserved

App Integration Services

Built.iointegration

Page 43: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

43© 2016 Cisco and/or its affiliates. All rights reserved

SMS from Cisco Spark with Tropo

/sms +33678007899 “Hi Stève, can you call me back ? Enrico”

Page 44: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

44© 2016 Cisco and/or its affiliates. All rights reserved

• Create a Room • Advices: Team Room with 2 other YOU, rename to « Built.io Integration »

• Signup at: https://flow.built.io • Create a new Flow• Go to the settings• Toogle Webhook « on »• Copy link

Hands-on

Page 45: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

45© 2016 Cisco and/or its affiliates. All rights reserved

Let’s start with a webhook

no secret sauce, it’s just about REST & json

Page 46: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

46© 2016 Cisco and/or its affiliates. All rights reserved

no secret sauce, it’s just about REST & json

Page 47: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

47© 2016 Cisco and/or its affiliates. All rights reserved

Is new message a /sms command ?

Page 48: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

48© 2016 Cisco and/or its affiliates. All rights reserved

if yes …

Page 49: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

49© 2016 Cisco and/or its affiliates. All rights reserved

get all info about the Tropo send SMS script

call(phonenumber, { network:"SMS"});say(msg);

Page 50: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

50© 2016 Cisco and/or its affiliates. All rights reserved

check the SMS send script token url

Token URL

Page 51: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

51© 2016 Cisco and/or its affiliates. All rights reserved

test with Postman

Page 52: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

52© 2016 Cisco and/or its affiliates. All rights reserved

connect the Tropo SMS send script

Page 53: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

53© 2016 Cisco and/or its affiliates. All rights reserved

link request parameters to the Tropo script

Page 54: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

54© 2016 Cisco and/or its affiliates. All rights reserved

acknowledge into the Spark room

Page 55: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

55© 2016 Cisco and/or its affiliates. All rights reserved

SMS from Cisco Spark with Tropo

/sms +33678007899 “Hi Steve, can you call me ASAP ? Rui”

Page 56: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

56© 2016 Cisco and/or its affiliates. All rights reserved

‘Your App’ Now with

Cisco Collab!

Spark APIs Extend Cisco Collaboration Cloud

GET

POST

DELETE

PUT

/Rooms

/Memberships

/Messages

/Webhooks

/People

Page 57: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

57© 2016 Cisco and/or its affiliates. All rights reserved

Cisco Spark API v1/People /Rooms /Membership /Messages /Webhooks

List People List Rooms List Membership List Messages List Webhooks

Get Person Details Create a Room Create a Membership Create a Message Create a Webhook

Get My Details Get Room Details Get Membership Details Get Message Details Get Webhook Details

Update a Room Update a Membership Update a Webhook

Delete a Room Delete a Membership Delete a Message Delete a Webhook

GET

POST

DELETE

PUT

DELETE DELETE DELETE

PUT PUT

POST POST POST

GET GET GET

GET GET

GET

GET GET

GET

GET

Page 58: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

58© 2016 Cisco and/or its affiliates. All rights reserved

Page 59: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

59© 2016 Cisco and/or its affiliates. All rights reserved

Cisco Spark API create room, send messages, …

Interactive Documentation

Click icon to add picture

@CiscoSparkDev#spark4devs

Page 60: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

60© 2016 Cisco and/or its affiliates. All rights reserved

+441259340737

/fault <fault number> resolved <case closing comments>

https://tropofaultreport.herokuapp.com/faults

Page 61: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

61© 2016 Cisco and/or its affiliates. All rights reserved

• Helping partners develop new integrations with Spark

• Direct investments in partners

• Adding additional capabilities into Cisco/Tropo technology and platform

• Extensive support beyond just help desk

For more information and to sign up:https://developer.ciscospark.com/fund/

New $150M Spark Innovation Fund

Page 62: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

62© 2016 Cisco and/or its affiliates. All rights reserved

Developer Portal Interactive Docs

Server SDKs

Developer Site

24/7 Dev Support

Watch a Site Overview Now!

Page 63: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

63© 2016 Cisco and/or its affiliates. All rights reserved

Development Is Always Free

Registerhttps://www.tropo.com/register

Experiencehttp://usecases.tropo.com/

Page 64: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

64© 2016 Cisco and/or its affiliates. All rights reserved

Cisco DevNet Learning Labs

BeginnerSparkCallsCollaborationIntermediateJabber Guest

Jabber Web SDKJavaScriptMobilityPhoneRemote ExpertREST

SMSTTSTropoUDSVoiceWebex API

https://learninglabs.cisco.com

Page 65: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

65© 2016 Cisco and/or its affiliates. All rights reserved

Follow and Engage with Us!

@CiscoSparkDev

@Tropo

@CiscoDevNet

Page 66: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

Conclusions

@CiscoDevNet

Page 67: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

67© 2016 Cisco and/or its affiliates. All rights reserved

• It’s 100% cloud - no HW investment needed

• It’s flexible (e.g. pay per use - no hidden costs, no cost to develop)

• It’s easy: no need to take care of technical integration with SP networks

• Can fully leverage Communication/Collaboration assets and customers

• Can differentiate your offer with your customers

Why is this relevant to you?

Page 68: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

68© 2016 Cisco and/or its affiliates. All rights reserved

• Own your destiny: extend/enhance your existing product and service portfolio

• Enhance customer experience on existing processes

• Leverage Cisco market reach

• Catch Service Provider VAS wave

What are your monetization opportunities?

Page 70: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

70© 2016 Cisco and/or its affiliates. All rights reserved

Notification/IOT tied to education, gov-ed

Tropo and Spark integrate and extend Singlewire Software Solutions to increase the speed, reach, and success rate of emergency alerts.

Demo: Tropo & Spark integration with Singlewire InformaCastExte

nd product

portfolio

Page 71: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

71© 2016 Cisco and/or its affiliates. All rights reserved

Patient Optimization

Before30 – 60 minutes

Patient / Asset Tracking

Dashboard

Exceptions – Long Patient

Wait for Transfer

Nurse views exception

Coordinates with team members

over phone, voicemail

Exception resolved in App. Resolution Notes

Transfer scenarios:ER Hospital, Room OR, OR Room

After15 – 30 minutes

Spark room created,

care providers invited+ Tropo

SMS, Voice

Rapid resolution

on the exception

Conversation automatically

uploaded as notes

Business Value

• Faster patient transfers increased patient customer satisfaction • Virtual patient rooms caregivers come up to speed on patient history• Increased hospital staff productivity

Pilot at White Memorial Medical Center in Los Angeles, Randy Saad, Sr. Director:

“We are excited about the Cisco Collaboration partnership with Tagnos at White Memorial Hospital. The Cisco Spark and Tropo Collaboration integration with our Tagnos Patient Flow solution presents a significant opportunity to cut down patient wait times at various points in their hospital care. In fact, we see a broader opportunity to improve care provider productivity with Cisco Spark's room based messaging, voice, video features and with Tropo SMS and Voice we can easily communicate with patients and families resulting in responsive holistic care."

Extend pro

duct portf

olio

Page 72: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

72© 2016 Cisco and/or its affiliates. All rights reserved

Demo

Enhance

experi

ence

Page 73: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

73© 2016 Cisco and/or its affiliates. All rights reserved

Energy & Utility Companies Use Voice and SMS to engage with

consumers Opt-in for power savings and service

credits Reduces stress on the power grid

Smart Grid Notifications

WhyTropo?

• Highly seasonal traffic patterns necessitated a cloud solution.

Enhance

experi

ence

Page 74: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

74© 2016 Cisco and/or its affiliates. All rights reserved

Tropo Integrations by Intracol (a Bulpros Company)

Cisco Spark Voice Control

Issue being solvedFollow up Spark rooms while driving or unable to use smart device

Solution overviewCisco Spark Voice Control allows you to stay engaged with your conversations in situations where using other applications is inconvenient or inappropriate, for example, while driving or jogging. It is an interface to Cisco Spark utilizing Tropo-based text-to-speech and speech-to-text technologies. It provides a two-way voice communication where Tropo will notify the user upon new messages and read them out. The user can respond to the message by talking and Tropo will post the message in the corresponding room on user’s behalf.

FeaturesList favorite rooms with unread messagesSelect a room to interact withListen to unread messagesUse your voice to leave repliesStay on the line and wait for a reply

Video on YouTubeCisco Spark Voice Control

Levera

ge Cisc

o Colla

b

Page 75: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

75© 2016 Cisco and/or its affiliates. All rights reserved

Tropo Integrations by Intracol (a Bulpros Company)

WebEx Voice Control

Issue being solvedNever be late for Web meetings. Join and Schedule meetings with zero clicks.

Solution overviewThe WebEX Voice Control solution allows users to communicate with WebEx by simply calling a phone number and using their voice to check for, schedule or join meetings. After authentication the system checks for a meeting in progress and in case found it offers to transfer the call to the join the meeting automatically. The user can also request to get called automatically when the their next meeting has started.

FeaturesJoin a meeting in progressReceive a call from a meeting in progressCheck for upcoming meetingsSchedule a meetingAuthentication via PIN

Video on YouTubeWebEx Voice Control demo

Levera

ge Cisc

o Colla

b

Page 76: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

76© 2016 Cisco and/or its affiliates. All rights reserved

Cloverhound

Simple, drag and drop IVR builder

Make it easy for anyone to create an IVR for their business

Total development time < X weeks

Four active pilots with service providers

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Discovered by Biz Dev

Received commercialization

grant First pilotNegotiating equity seed

Catch SP VAS w

ave

Page 77: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016

77© 2016 Cisco and/or its affiliates. All rights reserved

http://www.zomnio.com/

Catch SP VAS w

ave

Page 78: DevNet @TAG - Spark & Tropo APIs - Milan/Rome May 2016