SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
Giuliano Iacobelli, Co-founder / CEO
giuliano.iacobelli@stamplay.com
+1 (415) 481 8606
HOW APIS ARE
ENABLING
THE CHATBOT
CRAZE
g@stamplay.com
Messaging has taken over
Monthly active users for top 4 social networks and messaging apps
g@stamplay.com
HELLO BOTS
g@stamplay.com
More than 900 million monthly active
users only on Facebook Messenger
In 2015 messaging apps have been the
fastest growing In the global Top 10 of
most used apps 6 are messaging apps
No need to download yet another app
2016 is the year
of the bot
g@stamplay.com
Messaging platforms aim to change the way
brands communicate with consumers
Chat UX is more natural, dynamic and avoid
any friction opening new accounts
Do more from a familiar environment
where we already spend our time.
2016 is the year
of the bots
g@stamplay.com
ANATOMY
OF A BOT
g@stamplay.com
Messenger
Where you receive messages and route them to an appropriate handler. 

The point of the Messenger is to act as an interfact on top of our bot.
SMS
g@stamplay.com
Message Parser & Handler
The role of the handler is to handle the message passed from Messenger, 

delegate tasks to services, and send messages back to the user.
g@stamplay.com
Services
In charge of making API requests, parsing data, and formatting responses for our
handlers. The line between the responsibilities of message handling and actions.
g@stamplay.com
State stores
Stores help manage state from interactions as your bot might need to recall things.
Stores hold conversation data and keep track of what state the system is in.
g@stamplay.com
???
g@stamplay.com
g@stamplay.com
Bot API and tools landscape
Very low barrier of entrance thanks to extensive API offering
g@stamplay.com
Chatbots are entirely API-driven & event-driven
If you’re the type of developer who hates fiddling with CSS, 

this might be the happiest day of your life.
Receive message from user
Update conversation state
Reply to user
Submit request
to third party system
Understand request with API.ai
g@stamplay.com
Today Applications Are Composed 

With Many Services
No choice but to integrate with other systems.
Web app custom app
Mobile app custom app
g@stamplay.com
Benefits of API-glue
API connected and service based architecture bring value
+ Developer productivity: 

logic is distilled to its constituent parts and re-
used across different applications, duplication of
effort is avoided and allows developers to build
on each other’s efforts.
g@stamplay.com
Benefits of API-glue
API connected and service based architecture bring value
+ Predictable to changes: 

By ensuring a modularization of integration logic,
and by ensuring a logical separation between
modules, it’s easier to embrace changes.
g@stamplay.com
Benefits of API-glue
API connected and service based architecture bring value
+ Agile goveranance through loose coupling: 

Within a complex architecture, there are different
levels of governance that are appropriate. 



Separate API tiers allow a different level of
governance and control to exist at each layer,
making possible simultaneous loose-tight coupling.
g@stamplay.com
Not so fast…
g@stamplay.com
Composing Services Comes With Challenges
Different APIs. Different behaviors. Complex infrastructure.
Monitor availability
Authenticate
Data integration
Synchronize
Maintain changes
Manage events
Map & Transform Data
Manage process
Error handling
Data mapping
Handle rate limits
g@stamplay.com
API and services as if they are Lego blocks
A new class of products is emerging. Thos allow to chain together and orchestrate
APIs arranging them into service-based apps.
g@stamplay.com
Requirements for an API-glue
A comprehensive and easy to use set of tools to orchestrate your APIs.
Webhooks
Data
Service
User management
and authentication
On private or
public cloud
Run code
serverless
Storage
Service API
Third Party
Integrations
Extensibility
g@stamplay.com
Coding vs Programming
A fundamental distinction
New HTTP request
Lookup public contact detail
Save it on Salesforce
Post on #sales channel
Say hello via email
g@stamplay.com
Requirements for modern APIs
Simple, consistent, flexible, friendly, explorable via URL 

and use web standards where they make sense.
Token based Auth

(e.g OAuth2)
Machine readable
docs (Swagger, RAML)
Human readable docs
(Slate, readme.io)
Webhooks Effectively use of HTTP codes
Rate Limiting
Query Param all the things!
?max_results=20&page=2 ?projection={"avatar": 0}?sort=-total
?where={“lastname”: “Doe”} ?embedded={"author": 1}
g@stamplay.com
YOUR APIS API-GLUE 10X development
power
g@stamplay.com
Giuliano Iacobelli
g@stamplay.com
+1 (415) 481 8606
Thank you!

Contenu connexe

En vedette

AI Agent and Chatbot Trends For Enterprises
AI Agent and Chatbot Trends For EnterprisesAI Agent and Chatbot Trends For Enterprises
AI Agent and Chatbot Trends For EnterprisesTeewee Ang
 
Ondrisek @ DevTernity "Insights into Chatbot Development - Implementing Cros...
Ondrisek @ DevTernity  "Insights into Chatbot Development - Implementing Cros...Ondrisek @ DevTernity  "Insights into Chatbot Development - Implementing Cros...
Ondrisek @ DevTernity "Insights into Chatbot Development - Implementing Cros...Barbara Ondrisek
 
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...Paul Prae
 
Twitter botのレシピ
Twitter botのレシピTwitter botのレシピ
Twitter botのレシピTakuto Matsuu
 
twitter bot わけちの作り方
twitter bot わけちの作り方twitter bot わけちの作り方
twitter bot わけちの作り方kaiba d
 
実はできている!? Webアクセシビリティ2
実はできている!? Webアクセシビリティ2実はできている!? Webアクセシビリティ2
実はできている!? Webアクセシビリティ2株式会社トライブ
 
Microsoft Azure Machine Learning "ちょっと"だけ触ってみた
Microsoft Azure Machine Learning "ちょっと"だけ触ってみたMicrosoft Azure Machine Learning "ちょっと"だけ触ってみた
Microsoft Azure Machine Learning "ちょっと"だけ触ってみたYuki Katada
 
21st Century University feasibility study
21st Century University feasibility study 21st Century University feasibility study
21st Century University feasibility study Jouni Eho
 
意味表現の学習
意味表現の学習意味表現の学習
意味表現の学習nozyh
 
APIs and Process automation at APIDays Global 2016
APIs and Process automation at APIDays Global 2016APIs and Process automation at APIDays Global 2016
APIs and Process automation at APIDays Global 2016Giuliano Iacobelli
 
The lifecycle of a chatbot
The lifecycle of a chatbotThe lifecycle of a chatbot
The lifecycle of a chatbotSohan Maheshwar
 
中國六四天安門事件/懶人包
中國六四天安門事件/懶人包中國六四天安門事件/懶人包
中國六四天安門事件/懶人包Li_ZhengYing
 
Chatbot - new opportunities and insights
Chatbot - new opportunities and insightsChatbot - new opportunities and insights
Chatbot - new opportunities and insightsPo-Cheng Chu
 
Chatbot 101 - Robert McGovern
Chatbot 101 - Robert McGovernChatbot 101 - Robert McGovern
Chatbot 101 - Robert McGovernRobert McGovern
 
GBM in H2O with Cliff Click: H2O API
GBM in H2O with Cliff Click: H2O APIGBM in H2O with Cliff Click: H2O API
GBM in H2O with Cliff Click: H2O APISri Ambati
 

En vedette (18)

AI Agent and Chatbot Trends For Enterprises
AI Agent and Chatbot Trends For EnterprisesAI Agent and Chatbot Trends For Enterprises
AI Agent and Chatbot Trends For Enterprises
 
Ondrisek @ DevTernity "Insights into Chatbot Development - Implementing Cros...
Ondrisek @ DevTernity  "Insights into Chatbot Development - Implementing Cros...Ondrisek @ DevTernity  "Insights into Chatbot Development - Implementing Cros...
Ondrisek @ DevTernity "Insights into Chatbot Development - Implementing Cros...
 
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
 
La rivoluzione dei chatbot
La rivoluzione dei chatbotLa rivoluzione dei chatbot
La rivoluzione dei chatbot
 
Facebook template
Facebook templateFacebook template
Facebook template
 
Twitter botのレシピ
Twitter botのレシピTwitter botのレシピ
Twitter botのレシピ
 
twitter bot わけちの作り方
twitter bot わけちの作り方twitter bot わけちの作り方
twitter bot わけちの作り方
 
実はできている!? Webアクセシビリティ2
実はできている!? Webアクセシビリティ2実はできている!? Webアクセシビリティ2
実はできている!? Webアクセシビリティ2
 
Microsoft Azure Machine Learning "ちょっと"だけ触ってみた
Microsoft Azure Machine Learning "ちょっと"だけ触ってみたMicrosoft Azure Machine Learning "ちょっと"だけ触ってみた
Microsoft Azure Machine Learning "ちょっと"だけ触ってみた
 
21st Century University feasibility study
21st Century University feasibility study 21st Century University feasibility study
21st Century University feasibility study
 
意味表現の学習
意味表現の学習意味表現の学習
意味表現の学習
 
The Chatbot Revolution
The Chatbot RevolutionThe Chatbot Revolution
The Chatbot Revolution
 
APIs and Process automation at APIDays Global 2016
APIs and Process automation at APIDays Global 2016APIs and Process automation at APIDays Global 2016
APIs and Process automation at APIDays Global 2016
 
The lifecycle of a chatbot
The lifecycle of a chatbotThe lifecycle of a chatbot
The lifecycle of a chatbot
 
中國六四天安門事件/懶人包
中國六四天安門事件/懶人包中國六四天安門事件/懶人包
中國六四天安門事件/懶人包
 
Chatbot - new opportunities and insights
Chatbot - new opportunities and insightsChatbot - new opportunities and insights
Chatbot - new opportunities and insights
 
Chatbot 101 - Robert McGovern
Chatbot 101 - Robert McGovernChatbot 101 - Robert McGovern
Chatbot 101 - Robert McGovern
 
GBM in H2O with Cliff Click: H2O API
GBM in H2O with Cliff Click: H2O APIGBM in H2O with Cliff Click: H2O API
GBM in H2O with Cliff Click: H2O API
 

Plus de Giuliano Iacobelli

Easily Build a FAQ Spark Bot with IBM Watson
Easily Build a FAQ Spark Bot with IBM WatsonEasily Build a FAQ Spark Bot with IBM Watson
Easily Build a FAQ Spark Bot with IBM WatsonGiuliano Iacobelli
 
Grow as you go: lesson learned as a tech startupper
Grow as you go: lesson learned as a tech startupperGrow as you go: lesson learned as a tech startupper
Grow as you go: lesson learned as a tech startupperGiuliano Iacobelli
 
Stamplay: Scale your business with Microsoft Bizspark and Windows Azure
Stamplay: Scale your business with Microsoft Bizspark and Windows AzureStamplay: Scale your business with Microsoft Bizspark and Windows Azure
Stamplay: Scale your business with Microsoft Bizspark and Windows AzureGiuliano Iacobelli
 
Social Media: The Web Wide World
Social Media: The Web Wide WorldSocial Media: The Web Wide World
Social Media: The Web Wide WorldGiuliano Iacobelli
 
Mobile Zen - Improve your life through your device
Mobile Zen - Improve your life through your deviceMobile Zen - Improve your life through your device
Mobile Zen - Improve your life through your deviceGiuliano Iacobelli
 
Get things done with Yii - quickly build webapplications
Get things done with Yii - quickly build webapplicationsGet things done with Yii - quickly build webapplications
Get things done with Yii - quickly build webapplicationsGiuliano Iacobelli
 
Social is the new normal: Thoughts, tips and insights in a strongly connected...
Social is the new normal: Thoughts, tips and insights in a strongly connected...Social is the new normal: Thoughts, tips and insights in a strongly connected...
Social is the new normal: Thoughts, tips and insights in a strongly connected...Giuliano Iacobelli
 
Poke the Web and see what happen
Poke the Web and see what happenPoke the Web and see what happen
Poke the Web and see what happenGiuliano Iacobelli
 

Plus de Giuliano Iacobelli (12)

Easily Build a FAQ Spark Bot with IBM Watson
Easily Build a FAQ Spark Bot with IBM WatsonEasily Build a FAQ Spark Bot with IBM Watson
Easily Build a FAQ Spark Bot with IBM Watson
 
APIs as building blocks
APIs as building blocksAPIs as building blocks
APIs as building blocks
 
Grow as you go: lesson learned as a tech startupper
Grow as you go: lesson learned as a tech startupperGrow as you go: lesson learned as a tech startupper
Grow as you go: lesson learned as a tech startupper
 
Mobile Trends 2013
Mobile Trends 2013Mobile Trends 2013
Mobile Trends 2013
 
Stamplay: Scale your business with Microsoft Bizspark and Windows Azure
Stamplay: Scale your business with Microsoft Bizspark and Windows AzureStamplay: Scale your business with Microsoft Bizspark and Windows Azure
Stamplay: Scale your business with Microsoft Bizspark and Windows Azure
 
Social Media: The Web Wide World
Social Media: The Web Wide WorldSocial Media: The Web Wide World
Social Media: The Web Wide World
 
From an idea to a Startup
From an idea to a StartupFrom an idea to a Startup
From an idea to a Startup
 
Mobile Zen - Improve your life through your device
Mobile Zen - Improve your life through your deviceMobile Zen - Improve your life through your device
Mobile Zen - Improve your life through your device
 
Get things done with Yii - quickly build webapplications
Get things done with Yii - quickly build webapplicationsGet things done with Yii - quickly build webapplications
Get things done with Yii - quickly build webapplications
 
Social is the new normal: Thoughts, tips and insights in a strongly connected...
Social is the new normal: Thoughts, tips and insights in a strongly connected...Social is the new normal: Thoughts, tips and insights in a strongly connected...
Social is the new normal: Thoughts, tips and insights in a strongly connected...
 
Poke the Web and see what happen
Poke the Web and see what happenPoke the Web and see what happen
Poke the Web and see what happen
 
Un universo di App
Un universo di AppUn universo di App
Un universo di App
 

Dernier

Patterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencePatterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencessuser9e7c64
 
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonApplitools
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolsosttopstonverter
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingShane Coughlan
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingShane Coughlan
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldRoberto Pérez Alcolea
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdfAndrey Devyatkin
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogueitservices996
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...Bert Jan Schrijver
 
SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?Alexandre Beguel
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITmanoharjgpsolutions
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesVictoriaMetrics
 
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxThe Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxRTS corp
 

Dernier (20)

Patterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencePatterns for automating API delivery. API conference
Patterns for automating API delivery. API conference
 
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration tools
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository world
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogue
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
 
SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh IT
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 Updates
 
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxThe Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
 

How APIs are enabling the Chatbot Craze - All About the API

  • 1. Giuliano Iacobelli, Co-founder / CEO giuliano.iacobelli@stamplay.com +1 (415) 481 8606 HOW APIS ARE ENABLING THE CHATBOT CRAZE
  • 2. g@stamplay.com Messaging has taken over Monthly active users for top 4 social networks and messaging apps
  • 4. g@stamplay.com More than 900 million monthly active users only on Facebook Messenger In 2015 messaging apps have been the fastest growing In the global Top 10 of most used apps 6 are messaging apps No need to download yet another app 2016 is the year of the bot
  • 5. g@stamplay.com Messaging platforms aim to change the way brands communicate with consumers Chat UX is more natural, dynamic and avoid any friction opening new accounts Do more from a familiar environment where we already spend our time. 2016 is the year of the bots
  • 7. g@stamplay.com Messenger Where you receive messages and route them to an appropriate handler. 
 The point of the Messenger is to act as an interfact on top of our bot. SMS
  • 8. g@stamplay.com Message Parser & Handler The role of the handler is to handle the message passed from Messenger, 
 delegate tasks to services, and send messages back to the user.
  • 9. g@stamplay.com Services In charge of making API requests, parsing data, and formatting responses for our handlers. The line between the responsibilities of message handling and actions.
  • 10. g@stamplay.com State stores Stores help manage state from interactions as your bot might need to recall things. Stores hold conversation data and keep track of what state the system is in.
  • 13. g@stamplay.com Bot API and tools landscape Very low barrier of entrance thanks to extensive API offering
  • 14. g@stamplay.com Chatbots are entirely API-driven & event-driven If you’re the type of developer who hates fiddling with CSS, 
 this might be the happiest day of your life. Receive message from user Update conversation state Reply to user Submit request to third party system Understand request with API.ai
  • 15. g@stamplay.com Today Applications Are Composed 
 With Many Services No choice but to integrate with other systems. Web app custom app Mobile app custom app
  • 16. g@stamplay.com Benefits of API-glue API connected and service based architecture bring value + Developer productivity: 
 logic is distilled to its constituent parts and re- used across different applications, duplication of effort is avoided and allows developers to build on each other’s efforts.
  • 17. g@stamplay.com Benefits of API-glue API connected and service based architecture bring value + Predictable to changes: 
 By ensuring a modularization of integration logic, and by ensuring a logical separation between modules, it’s easier to embrace changes.
  • 18. g@stamplay.com Benefits of API-glue API connected and service based architecture bring value + Agile goveranance through loose coupling: 
 Within a complex architecture, there are different levels of governance that are appropriate. 
 
 Separate API tiers allow a different level of governance and control to exist at each layer, making possible simultaneous loose-tight coupling.
  • 20. g@stamplay.com Composing Services Comes With Challenges Different APIs. Different behaviors. Complex infrastructure. Monitor availability Authenticate Data integration Synchronize Maintain changes Manage events Map & Transform Data Manage process Error handling Data mapping Handle rate limits
  • 21. g@stamplay.com API and services as if they are Lego blocks A new class of products is emerging. Thos allow to chain together and orchestrate APIs arranging them into service-based apps.
  • 22. g@stamplay.com Requirements for an API-glue A comprehensive and easy to use set of tools to orchestrate your APIs. Webhooks Data Service User management and authentication On private or public cloud Run code serverless Storage Service API Third Party Integrations Extensibility
  • 23. g@stamplay.com Coding vs Programming A fundamental distinction New HTTP request Lookup public contact detail Save it on Salesforce Post on #sales channel Say hello via email
  • 24. g@stamplay.com Requirements for modern APIs Simple, consistent, flexible, friendly, explorable via URL 
 and use web standards where they make sense. Token based Auth
 (e.g OAuth2) Machine readable docs (Swagger, RAML) Human readable docs (Slate, readme.io) Webhooks Effectively use of HTTP codes Rate Limiting Query Param all the things! ?max_results=20&page=2 ?projection={"avatar": 0}?sort=-total ?where={“lastname”: “Doe”} ?embedded={"author": 1}
  • 25. g@stamplay.com YOUR APIS API-GLUE 10X development power