SlideShare a Scribd company logo
1 of 26
Download to read offline
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!

More Related Content

Viewers also liked

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
 

Viewers also liked (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
 

More from 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
 

More from 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
 

Recently uploaded

Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/MLBig Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/MLAlluxio, Inc.
 
Sales Territory Management: A Definitive Guide to Expand Sales Coverage
Sales Territory Management: A Definitive Guide to Expand Sales CoverageSales Territory Management: A Definitive Guide to Expand Sales Coverage
Sales Territory Management: A Definitive Guide to Expand Sales CoverageDista
 
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdfARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdfTobias Schneck
 
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.Sharon Liu
 
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...Jaydeep Chhasatia
 
eAuditor Audits & Inspections - conduct field inspections
eAuditor Audits & Inspections - conduct field inspectionseAuditor Audits & Inspections - conduct field inspections
eAuditor Audits & Inspections - conduct field inspectionsNirav Modi
 
ERP For Electrical and Electronics manufecturing.pptx
ERP For Electrical and Electronics manufecturing.pptxERP For Electrical and Electronics manufecturing.pptx
ERP For Electrical and Electronics manufecturing.pptxAutus Cyber Tech
 
Streamlining Your Application Builds with Cloud Native Buildpacks
Streamlining Your Application Builds  with Cloud Native BuildpacksStreamlining Your Application Builds  with Cloud Native Buildpacks
Streamlining Your Application Builds with Cloud Native BuildpacksVish Abrams
 
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine HarmonyLeveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmonyelliciumsolutionspun
 
Introduction-to-Software-Development-Outsourcing.pptx
Introduction-to-Software-Development-Outsourcing.pptxIntroduction-to-Software-Development-Outsourcing.pptx
Introduction-to-Software-Development-Outsourcing.pptxIntelliSource Technologies
 
Fields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptxFields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptxJoão Esperancinha
 
How Does the Epitome of Spyware Differ from Other Malicious Software?
How Does the Epitome of Spyware Differ from Other Malicious Software?How Does the Epitome of Spyware Differ from Other Malicious Software?
How Does the Epitome of Spyware Differ from Other Malicious Software?AmeliaSmith90
 
Kawika Technologies pvt ltd Software Development Company in Trivandrum
Kawika Technologies pvt ltd Software Development Company in TrivandrumKawika Technologies pvt ltd Software Development Company in Trivandrum
Kawika Technologies pvt ltd Software Development Company in TrivandrumKawika Technologies
 
AI Embracing Every Shade of Human Beauty
AI Embracing Every Shade of Human BeautyAI Embracing Every Shade of Human Beauty
AI Embracing Every Shade of Human BeautyRaymond Okyere-Forson
 
Deep Learning for Images with PyTorch - Datacamp
Deep Learning for Images with PyTorch - DatacampDeep Learning for Images with PyTorch - Datacamp
Deep Learning for Images with PyTorch - DatacampVICTOR MAESTRE RAMIREZ
 
Why Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdfWhy Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdfBrain Inventory
 
Cybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and BadCybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and BadIvo Andreev
 
Top Software Development Trends in 2024
Top Software Development Trends in  2024Top Software Development Trends in  2024
Top Software Development Trends in 2024Mind IT Systems
 
Watermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security ChallengesWatermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security ChallengesShyamsundar Das
 

Recently uploaded (20)

Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/MLBig Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
 
Sales Territory Management: A Definitive Guide to Expand Sales Coverage
Sales Territory Management: A Definitive Guide to Expand Sales CoverageSales Territory Management: A Definitive Guide to Expand Sales Coverage
Sales Territory Management: A Definitive Guide to Expand Sales Coverage
 
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdfARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
 
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
20240319 Car Simulator Plan.pptx . Plan for a JavaScript Car Driving Simulator.
 
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
 
eAuditor Audits & Inspections - conduct field inspections
eAuditor Audits & Inspections - conduct field inspectionseAuditor Audits & Inspections - conduct field inspections
eAuditor Audits & Inspections - conduct field inspections
 
ERP For Electrical and Electronics manufecturing.pptx
ERP For Electrical and Electronics manufecturing.pptxERP For Electrical and Electronics manufecturing.pptx
ERP For Electrical and Electronics manufecturing.pptx
 
Streamlining Your Application Builds with Cloud Native Buildpacks
Streamlining Your Application Builds  with Cloud Native BuildpacksStreamlining Your Application Builds  with Cloud Native Buildpacks
Streamlining Your Application Builds with Cloud Native Buildpacks
 
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine HarmonyLeveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
 
Introduction-to-Software-Development-Outsourcing.pptx
Introduction-to-Software-Development-Outsourcing.pptxIntroduction-to-Software-Development-Outsourcing.pptx
Introduction-to-Software-Development-Outsourcing.pptx
 
Fields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptxFields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptx
 
How Does the Epitome of Spyware Differ from Other Malicious Software?
How Does the Epitome of Spyware Differ from Other Malicious Software?How Does the Epitome of Spyware Differ from Other Malicious Software?
How Does the Epitome of Spyware Differ from Other Malicious Software?
 
Kawika Technologies pvt ltd Software Development Company in Trivandrum
Kawika Technologies pvt ltd Software Development Company in TrivandrumKawika Technologies pvt ltd Software Development Company in Trivandrum
Kawika Technologies pvt ltd Software Development Company in Trivandrum
 
AI Embracing Every Shade of Human Beauty
AI Embracing Every Shade of Human BeautyAI Embracing Every Shade of Human Beauty
AI Embracing Every Shade of Human Beauty
 
Deep Learning for Images with PyTorch - Datacamp
Deep Learning for Images with PyTorch - DatacampDeep Learning for Images with PyTorch - Datacamp
Deep Learning for Images with PyTorch - Datacamp
 
Salesforce AI Associate Certification.pptx
Salesforce AI Associate Certification.pptxSalesforce AI Associate Certification.pptx
Salesforce AI Associate Certification.pptx
 
Why Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdfWhy Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdf
 
Cybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and BadCybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and Bad
 
Top Software Development Trends in 2024
Top Software Development Trends in  2024Top Software Development Trends in  2024
Top Software Development Trends in 2024
 
Watermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security ChallengesWatermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security Challenges
 

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