SlideShare a Scribd company logo
Anirban Sen Chowdhary
Web application in Mule to send RingCentral SMS
We have seen in our previous post the way of integrating RingCentral
with MuleSoft and sending SMS messages by consuming RingCentral
APIs.
This post we will create a small web application in MuleSoft using
HTML pages that will be calling RingCentral APIs and will be send SMS.
In Anypoint Studio IDE, after we create a new MuleSoft project, we will
be creating HTML that will be providing the interface to the users and
take the input.
Let's create the following HTML page in our Mule project:
As we see, we are taking 3 visual input (To, From, Text Message) from
user in HTML form. The user here will put the phone number where
the message will be send as well as the phone number from which the
message will be send. The 3rd parameter message will take the input
SMS message from users. We can also see, once the form is submitted
by users, it will call an Mule API.
Next steps will be design the Mule flows that will expose the Mule API
and will be called internally by the user from the web portal. The main
task of this Mule API will be calling RingCentral Authentication API first,
get the access_token from /restapi/oauth/token API , and then call the
messaging API of RingCentral to send SMS.
Web application in mule to send ring central sms
Here we can see, the main flow is using parse template component to
host HTML page in form of web application.
Once the submit button is clicked by users, the input payload will arrive
at SendSMS flow, where it will call RingCentral Authentication API to
get access_token and then use this token while calling messaging API of
RingCentral next to send the SMS message.
The OAuth token flow is kept under Cache to avoid multiple call to the
RingCentral authentication API before the access_token expires.
Finally, at the end we need to design our response web application
HTML page to show the successful response message to the web
application users:
Here we are showing the successfully message send response along
with message id.
Web application in mule to send ring central sms
Once the web application is deployed in server, we can start our Mule
web application as follow:
The web application is asking the users to fill the web form with phone
number from which the SMS will be send and the number where the
message will be delivered. It also provide the user the visual field to
enter their input SMS text.
Once users hit submit button, we will see the response from the web
application:
As we can see, the message is send successfully using back-end
RingCentral messaging API leaving the user with above response.
The response will display unique message id each time users send a
SMS with successful response.
Web application in mule to send ring central sms

More Related Content

PPTX
Messaging APIs of RingCentral
PDF
Line Messaging API Integration with Spring-Boot
PPTX
Can mule integrate with ring central part2
PPTX
Mule esb stripe
PPTX
Setting up organization with api access
PPTX
Build and graduate your app in ring central
PPTX
Create custom authentication provider and forget the hassle of managing token...
PPTX
Whatsapp integration with SuiteCRM| SugarCRM
Messaging APIs of RingCentral
Line Messaging API Integration with Spring-Boot
Can mule integrate with ring central part2
Mule esb stripe
Setting up organization with api access
Build and graduate your app in ring central
Create custom authentication provider and forget the hassle of managing token...
Whatsapp integration with SuiteCRM| SugarCRM

Similar to Web application in mule to send ring central sms (20)

PPTX
Can mule integrate with ring central
PPTX
Applying OAuth on RingCentral API (part 3)
PPTX
Getting started with RingCentral
PPTX
Setting up your ring central sandbox in steps
PPTX
Mule 4 connecting ring central
PPTX
Mule ESB integration with Stripe
DOCX
How to integrate bulk sms api in ASP.NET
PDF
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...
PPTX
Mule esb stripe
PPTX
Mule esb stripe
PPTX
Mule esb stripe
PPTX
Mule esb stripe
PPTX
Mule esb stripe
PPTX
Mule esb stripe
PPTX
Mule esb stripe
PPTX
Mule esb stripe
PPTX
STOCK MARKET TIPS
PDF
StackMob & Appcelerator Module Part One
PPTX
2011 1-11 txt web overview
PPTX
2011 1-11 txt web push and response
Can mule integrate with ring central
Applying OAuth on RingCentral API (part 3)
Getting started with RingCentral
Setting up your ring central sandbox in steps
Mule 4 connecting ring central
Mule ESB integration with Stripe
How to integrate bulk sms api in ASP.NET
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...
Mule esb stripe
Mule esb stripe
Mule esb stripe
Mule esb stripe
Mule esb stripe
Mule esb stripe
Mule esb stripe
Mule esb stripe
STOCK MARKET TIPS
StackMob & Appcelerator Module Part One
2011 1-11 txt web overview
2011 1-11 txt web push and response
Ad

More from Anirban Sen Chowdhary (20)

PPTX
Change the game with Game changer
PPTX
Ring central desktop app overview
PPTX
Overview in ringcentral digital line
PPTX
Some basics with ring central
PPTX
Ring central and python
PPTX
RingCentral application development overview
PPTX
Cloze connect ringcentral
PPTX
Overview on ring central errors part 4
PPTX
Overview on ring central errors: part 2
PPTX
Overview on ring central errors
PPTX
Call recording overview ring central
PPTX
Ring central engaging with amazon alexa
PPTX
How ring central sdk changing the game
PPTX
When ring central connect salesforce
PPTX
Ring central sdk
PPTX
Ring central with okta
PPTX
Ring central connecting salesforce overview
PPTX
Ring central call logs overview (part 2)
PPTX
Call recording of ring central
PPTX
Ring central fax
Change the game with Game changer
Ring central desktop app overview
Overview in ringcentral digital line
Some basics with ring central
Ring central and python
RingCentral application development overview
Cloze connect ringcentral
Overview on ring central errors part 4
Overview on ring central errors: part 2
Overview on ring central errors
Call recording overview ring central
Ring central engaging with amazon alexa
How ring central sdk changing the game
When ring central connect salesforce
Ring central sdk
Ring central with okta
Ring central connecting salesforce overview
Ring central call logs overview (part 2)
Call recording of ring central
Ring central fax
Ad

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Electronic commerce courselecture one. Pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Machine Learning_overview_presentation.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPT
Teaching material agriculture food technology
PDF
cuic standard and advanced reporting.pdf
Machine learning based COVID-19 study performance prediction
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Building Integrated photovoltaic BIPV_UPV.pdf
Big Data Technologies - Introduction.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
NewMind AI Weekly Chronicles - August'25-Week II
Electronic commerce courselecture one. Pdf
Empathic Computing: Creating Shared Understanding
Assigned Numbers - 2025 - Bluetooth® Document
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Reach Out and Touch Someone: Haptics and Empathic Computing
Machine Learning_overview_presentation.pptx
Approach and Philosophy of On baking technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Spectral efficient network and resource selection model in 5G networks
Teaching material agriculture food technology
cuic standard and advanced reporting.pdf

Web application in mule to send ring central sms

  • 1. Anirban Sen Chowdhary Web application in Mule to send RingCentral SMS
  • 2. We have seen in our previous post the way of integrating RingCentral with MuleSoft and sending SMS messages by consuming RingCentral APIs. This post we will create a small web application in MuleSoft using HTML pages that will be calling RingCentral APIs and will be send SMS.
  • 3. In Anypoint Studio IDE, after we create a new MuleSoft project, we will be creating HTML that will be providing the interface to the users and take the input.
  • 4. Let's create the following HTML page in our Mule project:
  • 5. As we see, we are taking 3 visual input (To, From, Text Message) from user in HTML form. The user here will put the phone number where the message will be send as well as the phone number from which the message will be send. The 3rd parameter message will take the input SMS message from users. We can also see, once the form is submitted by users, it will call an Mule API.
  • 6. Next steps will be design the Mule flows that will expose the Mule API and will be called internally by the user from the web portal. The main task of this Mule API will be calling RingCentral Authentication API first, get the access_token from /restapi/oauth/token API , and then call the messaging API of RingCentral to send SMS.
  • 8. Here we can see, the main flow is using parse template component to host HTML page in form of web application. Once the submit button is clicked by users, the input payload will arrive at SendSMS flow, where it will call RingCentral Authentication API to get access_token and then use this token while calling messaging API of RingCentral next to send the SMS message. The OAuth token flow is kept under Cache to avoid multiple call to the RingCentral authentication API before the access_token expires.
  • 9. Finally, at the end we need to design our response web application HTML page to show the successful response message to the web application users:
  • 10. Here we are showing the successfully message send response along with message id.
  • 12. Once the web application is deployed in server, we can start our Mule web application as follow:
  • 13. The web application is asking the users to fill the web form with phone number from which the SMS will be send and the number where the message will be delivered. It also provide the user the visual field to enter their input SMS text.
  • 14. Once users hit submit button, we will see the response from the web application:
  • 15. As we can see, the message is send successfully using back-end RingCentral messaging API leaving the user with above response. The response will display unique message id each time users send a SMS with successful response.