Automating Business Processes
with APIs
Saul	Caganoff
CTO,	Sixtree
@scaganoff @APIdaysAU
The Web is Now Programmable
• We	need	to	talk	about	consuming	APIs
• Each	API	will	have	thousands	or	millions	of	consumers
• Enterprise	digital	initiatives	– lean,	SaaS,	PaaS,	IaaS
• How	to	enable	the	Composable	Enterprise?
Automating Business Processes with APIs
SaaS - Different Levels of Specialization
• Infrastructure	– storage,	compute,	management,	integration
• Commodity – people,	places,	things,	payment,	security…
• Functional – sales,	marketing,	service	management,	financial,	
human	resources…
• Industry – healthcare,	education,	supply-chain…
• Your	unique	business	value	depends	on	how	you	integrate	
and	operate	all	these	services
– The	end-to-end	business	process
iPaaS & Cloud BPM
Consumer
Enterprise
Cloud	BPM
Data	Sync
This is what you want…
• The	business	process	ensemble
• Coordination	between	process	and	API?
• API	is	constrained	by	its	underlying	state	model
• Business	Process	has	its	own	goal	to	achieve
This is what you get…
• Each	SaaS	is	built	as	an	island
…or	with	point	integrations
• Not	designed	for	integration
• An	awful	lot	of	polling	going	on
“We’ve	got	a	long	way	to	go”	- @njyx
E.g. Bookstore
Finance
Sales
Fulfilment
Product
Customer
End-to-end Process
?
State: the “S” in REST
• Created
• Composed
• Addressed
• Quoted
• Paid
• Confirmed
• Declined
• Cancelled
Created Populated Addressed Quoted
PaidDeclined ConfirmedCancelled
Add
Item
Add
Item
Remove
Item
Accepted
Add
Credit	Card
Details
Add
Address
Calculate
Cost
Declined
Add
Credit	Card
Details
Cancel Cancel Cancel Cancel
Cancel
HATEOAS
• State	Model
• Business	Process	=	a	path	through	the	state	model
• API	Affordances
– Expose	hyperlinks	that	represent	available	state	transitions
HATEOAS
Empty
Cart
Full
Cart
Quoted
Paid
POST	/cart
PUT	/cart/:id
{	book:	…	}
PUT	/cart/:id
{	book:	…	}
DELETE	/cart/:id/books/:id
PUT	/cart/:id
{	address:	…	}
POST	/payments
{	cart:	…,	card:	{…}}
Commands
{create:	{	cart:	…	}	…	}
{add:	{	cart:	…,	book:	{…}}	..}
{add:	{	cart:	…,	book:	{…}}	..}
{del:	{	cart:	…,	book:	{…}}	..}
{quoted:	{	cart:	…	}	…	}
{paid:	{	cart:	…	}	…	}
Events	(EATNOAS)
HATEOAS and Events
• State	Model
• Business	Process	=	a	path	through	the	state	model
• Duality	between	state	transitions	and	events
• An	external	observer	can	infer	the	state	of	a	resource	from	its	
event-stream
– This	is	the	essence	of	event-sourcing	&	CQRS
• Affordances
– Expose	hyperlinks	that	represent	available	state	transitions
– Publish	events	that	notify	actual	state	transitions
Event Transports: Syndication
• API	exposes	list	of	events	– e.g.	an	RSS/atom	feed
• Consumers	do	all	the	hard	work:
– Subscription
– State	Management	(where	am	I	up	to?)
– Retries
• Positives
– Very	easy…well-known	pattern
• Negatives
– Polling
– High	latency
Event Transports: WebHooks
• Service	POSTs	events	to	subscribers
• Publishers	do	all	the	hard	work:
– Subscriber	management
– Consumers	must	provide	an	endpoint
• Positives
– Not	polling,	relatively	lower	latency
• Negatives
– Subscription	management	&	guaranteed	delivery	must	be	done	yourself
– Reliability requires	coordination	between	publisher	&	subscriber
Check out RESTHooks
• Sponsored	by	Zapier
• WebHooks with
• RESTful Subscription	Management
resthooks.org
Notification Services
End-to-end Process
Update
Inventory
Process
Payment
Initiate
Fulfilment
Update
Financials
Complete
Order
Affordances for Business Automation
• Have	an	explicit	State	Model
– With	published	hypermedia	controls
• Track	changes
– Allow	query	of	changes	since	last	“poll”
• Even	better	- notify	changes
– Event	streams
– WebHooks or	REST	Hooks
– Notification	Services
• Consider	the	importance	of	event	reliability

More Related Content

PDF
Events and microservices
PDF
WSO2Con USA 2017: Driving Insights for Your Digital Business With Analytics
PPTX
Webinar: Implementation of 10 Integration Patterns on iPaaS Platform
PDF
Responsive open digital platform- Rajay Rai (ThoughtWorks Live)
PPTX
Stream events across your enterprise with the Solace Platform
PPTX
Melbourne Microservices Meetup: Agenda for a new Architecture
PDF
DataOps on Streaming Data: From Kafka to InfluxDB via Kubernetes Native Flows...
PPTX
API Management, Meet Event Management
Events and microservices
WSO2Con USA 2017: Driving Insights for Your Digital Business With Analytics
Webinar: Implementation of 10 Integration Patterns on iPaaS Platform
Responsive open digital platform- Rajay Rai (ThoughtWorks Live)
Stream events across your enterprise with the Solace Platform
Melbourne Microservices Meetup: Agenda for a new Architecture
DataOps on Streaming Data: From Kafka to InfluxDB via Kubernetes Native Flows...
API Management, Meet Event Management

What's hot (19)

PDF
WSO2Con USA 2017: AESP(Arizona Enterprise Services Platform), Rollout and Ado...
PPTX
Building Event Driven Cloud Solutions with Microsoft Azure Event
PDF
WSO2Con USA 2015: Optimizing Service Platforms with SOA Governance
PPTX
Event driven architectures for eCommerce Integration
PDF
A Quick Guide to the Now and Future of Integration Platforms and iPaaS
PDF
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
PDF
Customer Event Hub – a modern Customer 360° view with DataStax Enterprise (DSE)
PDF
WSO2Con USA 2017: Brokerage as a Service (BaaS), Transforming Fidelity Broker...
PDF
Customer Event Hub – a modern Customer 360° view with DataStax Enterprise (DSE)
PPTX
Hybrid integration with self hosted azure api gateways - published v1.0
PDF
Event-Driven Transformation in Banking and FSI
PDF
Barry Russel - AWS and Marketplace :: AWS 20151120 Partner Techshift
PPTX
Mule iON - OSS ESB to iPaaS
PPTX
Enterprise Architecture in Practice: from Datastore to APIs and Apps
PPTX
Building Analytics and Data Science at A Start-Up, by Kathleen Siminyu, Head ...
PDF
Event-Driven Architecture (EDA)
PDF
API Management Building Blocks and Business value
PPTX
MicroStrategy on Amazon Web Services (AWS) Cloud
 
PDF
Ariba, SAP Procurement and Business Network Roadmap [Amsterdam]
WSO2Con USA 2017: AESP(Arizona Enterprise Services Platform), Rollout and Ado...
Building Event Driven Cloud Solutions with Microsoft Azure Event
WSO2Con USA 2015: Optimizing Service Platforms with SOA Governance
Event driven architectures for eCommerce Integration
A Quick Guide to the Now and Future of Integration Platforms and iPaaS
Webinar: iPaaS in the Enterprise - What to Look for in a Cloud Integration Pl...
Customer Event Hub – a modern Customer 360° view with DataStax Enterprise (DSE)
WSO2Con USA 2017: Brokerage as a Service (BaaS), Transforming Fidelity Broker...
Customer Event Hub – a modern Customer 360° view with DataStax Enterprise (DSE)
Hybrid integration with self hosted azure api gateways - published v1.0
Event-Driven Transformation in Banking and FSI
Barry Russel - AWS and Marketplace :: AWS 20151120 Partner Techshift
Mule iON - OSS ESB to iPaaS
Enterprise Architecture in Practice: from Datastore to APIs and Apps
Building Analytics and Data Science at A Start-Up, by Kathleen Siminyu, Head ...
Event-Driven Architecture (EDA)
API Management Building Blocks and Business value
MicroStrategy on Amazon Web Services (AWS) Cloud
 
Ariba, SAP Procurement and Business Network Roadmap [Amsterdam]
Ad

Viewers also liked (18)

PDF
GAFANOMICS Season 2: 4 superpowers to outperform in the Network Economy
PDF
GAFAnomics: New Economy, New Rules
PPT
Managing Software Inventories & Automating Open Source Software Compliance
PPTX
Automating Inventory Management. Manage your inventory efficiently!
PPT
Automating Supply Chain Mgmt And Its Impact
PDF
Présentation transfleet ODOO
PPTX
Automating Sales Processes To Drive Competitive Advantage
PDF
Business Process Automation: Are You Ready for It?
PPTX
UiPath - Business Process Automation Software
PDF
Business process automation: The past, present and future
PDF
REST - Representational State Transfer
PDF
MOM - Message Oriented Middleware
PPT
Introduction to accounting software tally
PPTX
OpenERP / Odoo Fleet management
PDF
Project Proposal Sample: RFID on Warehouse Management System
PPTX
PROCESS VALIDATION
PPT
Planejamento Estratégico
PDF
Web Hooks and the Programmable World of Tomorrow
GAFANOMICS Season 2: 4 superpowers to outperform in the Network Economy
GAFAnomics: New Economy, New Rules
Managing Software Inventories & Automating Open Source Software Compliance
Automating Inventory Management. Manage your inventory efficiently!
Automating Supply Chain Mgmt And Its Impact
Présentation transfleet ODOO
Automating Sales Processes To Drive Competitive Advantage
Business Process Automation: Are You Ready for It?
UiPath - Business Process Automation Software
Business process automation: The past, present and future
REST - Representational State Transfer
MOM - Message Oriented Middleware
Introduction to accounting software tally
OpenERP / Odoo Fleet management
Project Proposal Sample: RFID on Warehouse Management System
PROCESS VALIDATION
Planejamento Estratégico
Web Hooks and the Programmable World of Tomorrow
Ad

Similar to Automating Business Processes with APIs (20)

PDF
Continuous API Strategies for Integrated Platforms
PDF
Building an API Platform for Digital Transformation
PPTX
How APIs Are Driving the New Commerce Landscape
PDF
The ultimate api checklist by Blendr.io
PDF
WSO2Con USA 2017: APIs as Your Digital Connector
PDF
API and App Ecosystems - Build The Best: a deep dive
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
PPTX
Webinar- API Strategy - Are we doing it right?
PPT
#1922 rest-push2 ap-im-v6
PDF
Manage your ap is securely and easily ibm apim 4.0
PDF
SOA Strategy for Connected Business
PPTX
code talks Commerce: The API Economy as an E-Commerce Operating System
PDF
Craft and Execute your Enterprise API Strategy with SAP Cloud Platform
PPTX
Guide to an API-first Strategy
PDF
Microservices meetupnz dec16
PDF
Your API is your Product - Arun Ravindran, Unisys
PPTX
The Business of APIs, an Introduction for Everyone Else
PDF
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
PDF
Dependency Down, Flexibility Up – The Benefits of API-First Development
PPTX
APIs as your digital connector
Continuous API Strategies for Integrated Platforms
Building an API Platform for Digital Transformation
How APIs Are Driving the New Commerce Landscape
The ultimate api checklist by Blendr.io
WSO2Con USA 2017: APIs as Your Digital Connector
API and App Ecosystems - Build The Best: a deep dive
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
Webinar- API Strategy - Are we doing it right?
#1922 rest-push2 ap-im-v6
Manage your ap is securely and easily ibm apim 4.0
SOA Strategy for Connected Business
code talks Commerce: The API Economy as an E-Commerce Operating System
Craft and Execute your Enterprise API Strategy with SAP Cloud Platform
Guide to an API-first Strategy
Microservices meetupnz dec16
Your API is your Product - Arun Ravindran, Unisys
The Business of APIs, an Introduction for Everyone Else
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
Dependency Down, Flexibility Up – The Benefits of API-First Development
APIs as your digital connector

More from Saul Caganoff (6)

PPTX
Growing an API Culture - APIdays LIVE AU 2020
PDF
Events in a microservices architecture
PDF
Microservices: The View from the Peak of Expectations
PPTX
Serverless Architecture
PDF
Docker in the Enterprise
PDF
Delivering the Composable Enterprise
Growing an API Culture - APIdays LIVE AU 2020
Events in a microservices architecture
Microservices: The View from the Peak of Expectations
Serverless Architecture
Docker in the Enterprise
Delivering the Composable Enterprise

Recently uploaded (20)

PPTX
Presentation - Principles of Instructional Design.pptx
PDF
1_Keynote_Breaking Barriers_한계를 넘어서_Charith Mendis.pdf
PDF
Examining Bias in AI Generated News Content.pdf
PDF
Technical Debt in the AI Coding Era - By Antonio Bianco
PDF
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
PDF
GDG Cloud Southlake #45: Patrick Debois: The Impact of GenAI on Development a...
PDF
【AI論文解説】高速・高品質な生成を実現するFlow Map Models(Part 1~3)
PDF
TrustArc Webinar - Data Minimization in Practice_ Reducing Risk, Enhancing Co...
PDF
FASHION-DRIVEN TEXTILES AS A CRYSTAL OF A NEW STREAM FOR STAKEHOLDER CAPITALI...
PDF
Decision Optimization - From Theory to Practice
PDF
Advancements in abstractive text summarization: a deep learning approach
PDF
ELLIE29.pdfWETWETAWTAWETAETAETERTRTERTER
PDF
Applying Agentic AI in Enterprise Automation
PPTX
Slides World Game (s) Great Redesign Eco Economic Epochs.pptx
PPTX
Information-Technology-in-Human-Society (2).pptx
PPTX
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
PDF
Uncertainty-aware contextual multi-armed bandits for recommendations in e-com...
PPTX
Strategic Picks — Prioritising the Right Agentic Use Cases [2/6]
PDF
Secure Java Applications against Quantum Threats
PDF
Peak of Data & AI Encore: Scalable Design & Infrastructure
Presentation - Principles of Instructional Design.pptx
1_Keynote_Breaking Barriers_한계를 넘어서_Charith Mendis.pdf
Examining Bias in AI Generated News Content.pdf
Technical Debt in the AI Coding Era - By Antonio Bianco
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
GDG Cloud Southlake #45: Patrick Debois: The Impact of GenAI on Development a...
【AI論文解説】高速・高品質な生成を実現するFlow Map Models(Part 1~3)
TrustArc Webinar - Data Minimization in Practice_ Reducing Risk, Enhancing Co...
FASHION-DRIVEN TEXTILES AS A CRYSTAL OF A NEW STREAM FOR STAKEHOLDER CAPITALI...
Decision Optimization - From Theory to Practice
Advancements in abstractive text summarization: a deep learning approach
ELLIE29.pdfWETWETAWTAWETAETAETERTRTERTER
Applying Agentic AI in Enterprise Automation
Slides World Game (s) Great Redesign Eco Economic Epochs.pptx
Information-Technology-in-Human-Society (2).pptx
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
Uncertainty-aware contextual multi-armed bandits for recommendations in e-com...
Strategic Picks — Prioritising the Right Agentic Use Cases [2/6]
Secure Java Applications against Quantum Threats
Peak of Data & AI Encore: Scalable Design & Infrastructure

Automating Business Processes with APIs