SlideShare a Scribd company logo
Anirban Sen Chowdhary
Mule 4 connecting RingCentral
RingCentral as we all familiar with, deals with different kind of APIs that
offers reliable VoIP calling, web meetings, fax, & more features over
cloud communication.
Mulesoft on other hand provides the most widely used integration
platform to help businesses connect data, applications and devices
across on-premises and cloud environment.
The most recent version of Mulesoft is Mule version 4 or simply called
Mule 4 which simplifies the expression language and reduces
management complexity compared to it's previous versions.
In this blog we will see a simple demo of Mule 4 connecting RingCentral
APIs. We will connect RingCentral send SMS API with Mule 4 and will
try to send SMS from Mule 4 application.
Mule 4 has a great improvement compared to it's previous versions
that includes many features like:
• Seamless access to data with new expression
• Repeatable streaming which is a new feature
• New error handling features
• Self-tuning capabilities like threading, exchange pattern etc
• New connectors
Before we start, we know that the RingCentral API for sending SMS is:
POST
https://platform.devtest.ringcentral.com/restapi/v1.0/account/accou
ntId/extension/extensionId/sms
The request for the API is in below format:
Let's start by creating a new application in Mule 4 as below:
Once the application is created, we will create a following flow with a
Http listner, a payload transformer that will transform every incoming
payload request into json mime type followed by a Http request
component which will call the external RingCentral send SMS API as
below:
Next step is to configure the Http request element which will consume
and call RingCentral send SMS API as below:
If you noticed, we have configured with RingCentral platform with Http
protocol as HTTPS and port 443.
Then we configured the flow HTTP component with RingCentral send
SMS url base path:
Configuring Authentication
The last step before we call the RingCentral send SMS API via Mule 4
application, we need to configure the Authentication part as every
RingCentral API is secured with Oauth.
We will design a sub flow, that will call RingCentral Authorization API
and generate the access_token (Since RingCentral Create SMS API is
secured by Oauth and access_token is needed to send the SMS) as
below:
Here in this sub flow also have a Http component that calls RingCentral
Authorization API and collect the access_token in a variable. This
access_token variable will be internally pass to RingCentral Create SMS
API when we call that in our main flow (SendSMS).
The Http component for Oauth token call is configured below with
RingCentral Authentication API url:
The input request of RingCentral Authentication API to get
access_token is as below:
In the main flow, we call this Oauth sub flow before we call RingCentral
send SMS API to get the access_token and send the SMS text as below
via flow reference:
The access_token will be passed via header in the Http component:
Once we start the application, the application will be deployed and the
first step in the flow will be the RingCentral authentication API will be
called and once the access_token is collected in the variable, it's passed
in the main RingCentral send SMS API via header and the SMS is send!
We will see the testing of this application in the next part.
Mule 4 connecting ring central

More Related Content

What's hot

Apply Rate Limiting Policy
Apply Rate Limiting Policy Apply Rate Limiting Policy
Apply Rate Limiting Policy
Vince Soliza
 
Best Practices for API Security
Best Practices for API SecurityBest Practices for API Security
Best Practices for API Security
MuleSoft
 
Asp.net internal architecture
Asp.net internal architectureAsp.net internal architecture
Asp.net internal architecture
Om Vikram Thapa
 
Forcelandia 2018 - Create lively lightning components with streaming api
Forcelandia 2018 - Create lively lightning components with streaming apiForcelandia 2018 - Create lively lightning components with streaming api
Forcelandia 2018 - Create lively lightning components with streaming api
Anshul Verma
 
Download PowerPoint Presenation
Download PowerPoint PresenationDownload PowerPoint Presenation
Download PowerPoint Presenationwebhostingguy
 
Web service, wcf, web api
Web service, wcf, web apiWeb service, wcf, web api
Web service, wcf, web api
AbdeliDhankot
 
Mule Anypoint API Gateway
Mule Anypoint API GatewayMule Anypoint API Gateway
Mule Anypoint API Gateway
rkulandaivel
 
Anypoint Platform Deployment Strategies
Anypoint Platform Deployment StrategiesAnypoint Platform Deployment Strategies
Anypoint Platform Deployment Strategies
Govind Mulinti
 
Mule api management
Mule  api managementMule  api management
Mule api management
Bhanu Chandra Nalleboyina
 
HTTP Services & REST API Security
HTTP Services & REST API SecurityHTTP Services & REST API Security
HTTP Services & REST API Security
Taiseer Joudeh
 
OpenAPI 2.0 with SAP PO / SAP PI & KaTe's RESTful adapter
OpenAPI 2.0 with SAP PO / SAP PI & KaTe's RESTful adapterOpenAPI 2.0 with SAP PO / SAP PI & KaTe's RESTful adapter
OpenAPI 2.0 with SAP PO / SAP PI & KaTe's RESTful adapter
Kate_RESTful
 
Mule esb stripe
Mule esb stripeMule esb stripe
Mule esb stripe
D.Rajesh Kumar
 
Best way to Deploy a Mule ESB Application
Best way to Deploy a Mule ESB ApplicationBest way to Deploy a Mule ESB Application
Best way to Deploy a Mule ESB Application
Coforge (Erstwhile WHISHWORKS)
 
How to publish Open api 3.0 with SAP PO and KaTe RESTful adapter
How to publish Open api 3.0 with SAP PO and KaTe RESTful adapterHow to publish Open api 3.0 with SAP PO and KaTe RESTful adapter
How to publish Open api 3.0 with SAP PO and KaTe RESTful adapter
Kate_RESTful
 
메시지 발송 브로커를 만들어보자
메시지 발송 브로커를 만들어보자메시지 발송 브로커를 만들어보자
메시지 발송 브로커를 만들어보자
Bongki Seo
 
Android & Monkey Web Services
Android & Monkey Web ServicesAndroid & Monkey Web Services
Android & Monkey Web Services
Jonathan Gonzalez
 
Rate Limiting - SLA Based Policy
Rate Limiting - SLA Based PolicyRate Limiting - SLA Based Policy
Rate Limiting - SLA Based Policy
Vince Soliza
 
Securing Microservices with Istio
Securing Microservices with IstioSecuring Microservices with Istio
Securing Microservices with Istio
Daniel Berg
 

What's hot (18)

Apply Rate Limiting Policy
Apply Rate Limiting Policy Apply Rate Limiting Policy
Apply Rate Limiting Policy
 
Best Practices for API Security
Best Practices for API SecurityBest Practices for API Security
Best Practices for API Security
 
Asp.net internal architecture
Asp.net internal architectureAsp.net internal architecture
Asp.net internal architecture
 
Forcelandia 2018 - Create lively lightning components with streaming api
Forcelandia 2018 - Create lively lightning components with streaming apiForcelandia 2018 - Create lively lightning components with streaming api
Forcelandia 2018 - Create lively lightning components with streaming api
 
Download PowerPoint Presenation
Download PowerPoint PresenationDownload PowerPoint Presenation
Download PowerPoint Presenation
 
Web service, wcf, web api
Web service, wcf, web apiWeb service, wcf, web api
Web service, wcf, web api
 
Mule Anypoint API Gateway
Mule Anypoint API GatewayMule Anypoint API Gateway
Mule Anypoint API Gateway
 
Anypoint Platform Deployment Strategies
Anypoint Platform Deployment StrategiesAnypoint Platform Deployment Strategies
Anypoint Platform Deployment Strategies
 
Mule api management
Mule  api managementMule  api management
Mule api management
 
HTTP Services & REST API Security
HTTP Services & REST API SecurityHTTP Services & REST API Security
HTTP Services & REST API Security
 
OpenAPI 2.0 with SAP PO / SAP PI & KaTe's RESTful adapter
OpenAPI 2.0 with SAP PO / SAP PI & KaTe's RESTful adapterOpenAPI 2.0 with SAP PO / SAP PI & KaTe's RESTful adapter
OpenAPI 2.0 with SAP PO / SAP PI & KaTe's RESTful adapter
 
Mule esb stripe
Mule esb stripeMule esb stripe
Mule esb stripe
 
Best way to Deploy a Mule ESB Application
Best way to Deploy a Mule ESB ApplicationBest way to Deploy a Mule ESB Application
Best way to Deploy a Mule ESB Application
 
How to publish Open api 3.0 with SAP PO and KaTe RESTful adapter
How to publish Open api 3.0 with SAP PO and KaTe RESTful adapterHow to publish Open api 3.0 with SAP PO and KaTe RESTful adapter
How to publish Open api 3.0 with SAP PO and KaTe RESTful adapter
 
메시지 발송 브로커를 만들어보자
메시지 발송 브로커를 만들어보자메시지 발송 브로커를 만들어보자
메시지 발송 브로커를 만들어보자
 
Android & Monkey Web Services
Android & Monkey Web ServicesAndroid & Monkey Web Services
Android & Monkey Web Services
 
Rate Limiting - SLA Based Policy
Rate Limiting - SLA Based PolicyRate Limiting - SLA Based Policy
Rate Limiting - SLA Based Policy
 
Securing Microservices with Istio
Securing Microservices with IstioSecuring Microservices with Istio
Securing Microservices with Istio
 

Similar to Mule 4 connecting ring central

Web Connections & Services in FME Webinar
Web Connections & Services in FME WebinarWeb Connections & Services in FME Webinar
Web Connections & Services in FME Webinar
Safe Software
 
Web Connections & Services in FME: Tips & Tricks to Setting Up and Harnessing...
Web Connections & Services in FME: Tips & Tricks to Setting Up and Harnessing...Web Connections & Services in FME: Tips & Tricks to Setting Up and Harnessing...
Web Connections & Services in FME: Tips & Tricks to Setting Up and Harnessing...
Safe Software
 
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
Krishna-Kumar
 
A Practical Guide to Automating End-to-End API Testing
A Practical Guide to Automating End-to-End API TestingA Practical Guide to Automating End-to-End API Testing
A Practical Guide to Automating End-to-End API Testing
pCloudy
 
Secure Coding: SSL, SOAP, and REST
Secure Coding: SSL, SOAP, and RESTSecure Coding: SSL, SOAP, and REST
Secure Coding: SSL, SOAP, and REST
Salesforce Developers
 
Web application in mule to send ring central sms
Web application in mule to send ring central smsWeb application in mule to send ring central sms
Web application in mule to send ring central sms
Anirban Sen Chowdhary
 
Rest web services
Rest web servicesRest web services
Rest web services
sathyaraj Anand
 
Apache con@home 2021_sha
Apache con@home 2021_shaApache con@home 2021_sha
Apache con@home 2021_sha
Hitachi, Ltd. OSS Solution Center.
 
Is authorization always needed for sms messages in ringcentral-api
Is authorization always needed for sms messages in ringcentral-apiIs authorization always needed for sms messages in ringcentral-api
Is authorization always needed for sms messages in ringcentral-api
Anirban Sen Chowdhary
 
How to use Informatica Power Center as a RESTful Web Service Client?
How to use Informatica Power Center as a RESTful Web Service Client?How to use Informatica Power Center as a RESTful Web Service Client?
How to use Informatica Power Center as a RESTful Web Service Client?
AmeliaWong21
 
Session 1: The SOAP Story
Session 1: The SOAP StorySession 1: The SOAP Story
Session 1: The SOAP Story
ukdpe
 
Api security
Api security Api security
Api security
teodorcotruta
 
SoftLayer API 12032015
SoftLayer API  12032015SoftLayer API  12032015
SoftLayer API 12032015
Nacho Daza
 
Managing Identities in the World of APIs
Managing Identities in the World of APIsManaging Identities in the World of APIs
Managing Identities in the World of APIs
Apigee | Google Cloud
 
API Force Presentation
API Force PresentationAPI Force Presentation
API Force Presentation
Amir Khan
 
Webapp security (with notes)
Webapp security (with notes)Webapp security (with notes)
Webapp security (with notes)
Igor Bossenko
 
APIs_ An Introduction.pptx
APIs_ An Introduction.pptxAPIs_ An Introduction.pptx
APIs_ An Introduction.pptx
AkashThorat25
 
Integration step up session
Integration step up sessionIntegration step up session
Integration step up session
Amit Behere
 
10135 a 04
10135 a 0410135 a 04
10135 a 04Bố Su
 
Best Practices for API Security
Best Practices for API SecurityBest Practices for API Security
Best Practices for API Security
Bui Kiet
 

Similar to Mule 4 connecting ring central (20)

Web Connections & Services in FME Webinar
Web Connections & Services in FME WebinarWeb Connections & Services in FME Webinar
Web Connections & Services in FME Webinar
 
Web Connections & Services in FME: Tips & Tricks to Setting Up and Harnessing...
Web Connections & Services in FME: Tips & Tricks to Setting Up and Harnessing...Web Connections & Services in FME: Tips & Tricks to Setting Up and Harnessing...
Web Connections & Services in FME: Tips & Tricks to Setting Up and Harnessing...
 
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
 
A Practical Guide to Automating End-to-End API Testing
A Practical Guide to Automating End-to-End API TestingA Practical Guide to Automating End-to-End API Testing
A Practical Guide to Automating End-to-End API Testing
 
Secure Coding: SSL, SOAP, and REST
Secure Coding: SSL, SOAP, and RESTSecure Coding: SSL, SOAP, and REST
Secure Coding: SSL, SOAP, and REST
 
Web application in mule to send ring central sms
Web application in mule to send ring central smsWeb application in mule to send ring central sms
Web application in mule to send ring central sms
 
Rest web services
Rest web servicesRest web services
Rest web services
 
Apache con@home 2021_sha
Apache con@home 2021_shaApache con@home 2021_sha
Apache con@home 2021_sha
 
Is authorization always needed for sms messages in ringcentral-api
Is authorization always needed for sms messages in ringcentral-apiIs authorization always needed for sms messages in ringcentral-api
Is authorization always needed for sms messages in ringcentral-api
 
How to use Informatica Power Center as a RESTful Web Service Client?
How to use Informatica Power Center as a RESTful Web Service Client?How to use Informatica Power Center as a RESTful Web Service Client?
How to use Informatica Power Center as a RESTful Web Service Client?
 
Session 1: The SOAP Story
Session 1: The SOAP StorySession 1: The SOAP Story
Session 1: The SOAP Story
 
Api security
Api security Api security
Api security
 
SoftLayer API 12032015
SoftLayer API  12032015SoftLayer API  12032015
SoftLayer API 12032015
 
Managing Identities in the World of APIs
Managing Identities in the World of APIsManaging Identities in the World of APIs
Managing Identities in the World of APIs
 
API Force Presentation
API Force PresentationAPI Force Presentation
API Force Presentation
 
Webapp security (with notes)
Webapp security (with notes)Webapp security (with notes)
Webapp security (with notes)
 
APIs_ An Introduction.pptx
APIs_ An Introduction.pptxAPIs_ An Introduction.pptx
APIs_ An Introduction.pptx
 
Integration step up session
Integration step up sessionIntegration step up session
Integration step up session
 
10135 a 04
10135 a 0410135 a 04
10135 a 04
 
Best Practices for API Security
Best Practices for API SecurityBest Practices for API Security
Best Practices for API Security
 

More from Anirban Sen Chowdhary

Change the game with Game changer
Change the game with Game changerChange the game with Game changer
Change the game with Game changer
Anirban Sen Chowdhary
 
Ring central desktop app overview
Ring central desktop app overviewRing central desktop app overview
Ring central desktop app overview
Anirban Sen Chowdhary
 
Overview in ringcentral digital line
Overview in ringcentral digital lineOverview in ringcentral digital line
Overview in ringcentral digital line
Anirban Sen Chowdhary
 
Some basics with ring central
Some basics with ring centralSome basics with ring central
Some basics with ring central
Anirban Sen Chowdhary
 
Ring central and python
Ring central and pythonRing central and python
Ring central and python
Anirban Sen Chowdhary
 
RingCentral application development overview
RingCentral application development overviewRingCentral application development overview
RingCentral application development overview
Anirban Sen Chowdhary
 
Cloze connect ringcentral
Cloze connect ringcentralCloze connect ringcentral
Cloze connect ringcentral
Anirban Sen Chowdhary
 
Overview on ring central errors part 4
Overview on ring central errors part 4Overview on ring central errors part 4
Overview on ring central errors part 4
Anirban Sen Chowdhary
 
Setting up your ring central sandbox in steps
Setting up your ring central sandbox in stepsSetting up your ring central sandbox in steps
Setting up your ring central sandbox in steps
Anirban Sen Chowdhary
 
Overview on ring central errors: part 2
Overview on ring central errors: part 2Overview on ring central errors: part 2
Overview on ring central errors: part 2
Anirban Sen Chowdhary
 
Overview on ring central errors
Overview on ring central errorsOverview on ring central errors
Overview on ring central errors
Anirban Sen Chowdhary
 
Call recording overview ring central
Call recording overview  ring centralCall recording overview  ring central
Call recording overview ring central
Anirban Sen Chowdhary
 
Ring central engaging with amazon alexa
Ring central engaging with amazon alexaRing central engaging with amazon alexa
Ring central engaging with amazon alexa
Anirban Sen Chowdhary
 
How ring central sdk changing the game
How ring central sdk changing the gameHow ring central sdk changing the game
How ring central sdk changing the game
Anirban Sen Chowdhary
 
When ring central connect salesforce
When ring central connect salesforceWhen ring central connect salesforce
When ring central connect salesforce
Anirban Sen Chowdhary
 
Ring central sdk
Ring central sdkRing central sdk
Ring central sdk
Anirban Sen Chowdhary
 
Ring central with okta
Ring central with oktaRing central with okta
Ring central with okta
Anirban Sen Chowdhary
 
Ring central connecting salesforce overview
Ring central connecting salesforce overviewRing central connecting salesforce overview
Ring central connecting salesforce overview
Anirban Sen Chowdhary
 
Ring central call logs overview (part 2)
Ring central call logs overview (part 2)Ring central call logs overview (part 2)
Ring central call logs overview (part 2)
Anirban Sen Chowdhary
 
Call recording of ring central
Call recording of ring centralCall recording of ring central
Call recording of ring central
Anirban Sen Chowdhary
 

More from Anirban Sen Chowdhary (20)

Change the game with Game changer
Change the game with Game changerChange the game with Game changer
Change the game with Game changer
 
Ring central desktop app overview
Ring central desktop app overviewRing central desktop app overview
Ring central desktop app overview
 
Overview in ringcentral digital line
Overview in ringcentral digital lineOverview in ringcentral digital line
Overview in ringcentral digital line
 
Some basics with ring central
Some basics with ring centralSome basics with ring central
Some basics with ring central
 
Ring central and python
Ring central and pythonRing central and python
Ring central and python
 
RingCentral application development overview
RingCentral application development overviewRingCentral application development overview
RingCentral application development overview
 
Cloze connect ringcentral
Cloze connect ringcentralCloze connect ringcentral
Cloze connect ringcentral
 
Overview on ring central errors part 4
Overview on ring central errors part 4Overview on ring central errors part 4
Overview on ring central errors part 4
 
Setting up your ring central sandbox in steps
Setting up your ring central sandbox in stepsSetting up your ring central sandbox in steps
Setting up your ring central sandbox in steps
 
Overview on ring central errors: part 2
Overview on ring central errors: part 2Overview on ring central errors: part 2
Overview on ring central errors: part 2
 
Overview on ring central errors
Overview on ring central errorsOverview on ring central errors
Overview on ring central errors
 
Call recording overview ring central
Call recording overview  ring centralCall recording overview  ring central
Call recording overview ring central
 
Ring central engaging with amazon alexa
Ring central engaging with amazon alexaRing central engaging with amazon alexa
Ring central engaging with amazon alexa
 
How ring central sdk changing the game
How ring central sdk changing the gameHow ring central sdk changing the game
How ring central sdk changing the game
 
When ring central connect salesforce
When ring central connect salesforceWhen ring central connect salesforce
When ring central connect salesforce
 
Ring central sdk
Ring central sdkRing central sdk
Ring central sdk
 
Ring central with okta
Ring central with oktaRing central with okta
Ring central with okta
 
Ring central connecting salesforce overview
Ring central connecting salesforce overviewRing central connecting salesforce overview
Ring central connecting salesforce overview
 
Ring central call logs overview (part 2)
Ring central call logs overview (part 2)Ring central call logs overview (part 2)
Ring central call logs overview (part 2)
 
Call recording of ring central
Call recording of ring centralCall recording of ring central
Call recording of ring central
 

Recently uploaded

Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 

Recently uploaded (20)

Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 

Mule 4 connecting ring central

  • 1. Anirban Sen Chowdhary Mule 4 connecting RingCentral
  • 2. RingCentral as we all familiar with, deals with different kind of APIs that offers reliable VoIP calling, web meetings, fax, & more features over cloud communication. Mulesoft on other hand provides the most widely used integration platform to help businesses connect data, applications and devices across on-premises and cloud environment.
  • 3. The most recent version of Mulesoft is Mule version 4 or simply called Mule 4 which simplifies the expression language and reduces management complexity compared to it's previous versions. In this blog we will see a simple demo of Mule 4 connecting RingCentral APIs. We will connect RingCentral send SMS API with Mule 4 and will try to send SMS from Mule 4 application.
  • 4. Mule 4 has a great improvement compared to it's previous versions that includes many features like: • Seamless access to data with new expression • Repeatable streaming which is a new feature • New error handling features • Self-tuning capabilities like threading, exchange pattern etc • New connectors
  • 5. Before we start, we know that the RingCentral API for sending SMS is: POST https://platform.devtest.ringcentral.com/restapi/v1.0/account/accou ntId/extension/extensionId/sms The request for the API is in below format:
  • 6. Let's start by creating a new application in Mule 4 as below:
  • 7. Once the application is created, we will create a following flow with a Http listner, a payload transformer that will transform every incoming payload request into json mime type followed by a Http request component which will call the external RingCentral send SMS API as below:
  • 8. Next step is to configure the Http request element which will consume and call RingCentral send SMS API as below:
  • 9. If you noticed, we have configured with RingCentral platform with Http protocol as HTTPS and port 443. Then we configured the flow HTTP component with RingCentral send SMS url base path:
  • 10. Configuring Authentication The last step before we call the RingCentral send SMS API via Mule 4 application, we need to configure the Authentication part as every RingCentral API is secured with Oauth. We will design a sub flow, that will call RingCentral Authorization API and generate the access_token (Since RingCentral Create SMS API is secured by Oauth and access_token is needed to send the SMS) as below:
  • 11. Here in this sub flow also have a Http component that calls RingCentral Authorization API and collect the access_token in a variable. This access_token variable will be internally pass to RingCentral Create SMS API when we call that in our main flow (SendSMS). The Http component for Oauth token call is configured below with RingCentral Authentication API url:
  • 12. The input request of RingCentral Authentication API to get access_token is as below:
  • 13. In the main flow, we call this Oauth sub flow before we call RingCentral send SMS API to get the access_token and send the SMS text as below via flow reference:
  • 14. The access_token will be passed via header in the Http component: Once we start the application, the application will be deployed and the first step in the flow will be the RingCentral authentication API will be called and once the access_token is collected in the variable, it's passed in the main RingCentral send SMS API via header and the SMS is send! We will see the testing of this application in the next part.