Send SMS using SAP Cloud Integration while consuming a Twilio API
Intermediate
10 min.
Learn how to pass parameters with URL encoded form to a HTTP receiver adapter, to send SMS messages using a Twilio API, as a notification that the Order has been successfully created.
You will learn
- How to pass parameters with URL encoded form to a HTTP receiver adapter, to send SMS messages using a Twilio API, as a notification that the Order has been successfully created.
Prerequisites
- You have a SAP BTP account or trial account with access to the SAP Integration Suite.
- You have completed the previous tutorial Consume a SAP Sales and Service Core API to create Sales Orders using SAP Cloud Integration.
- You have a Twilio account or trial account. In the Twilio documentation, you’ll see 3 needed URL encoded parameters to be sent to trigger the API call, which are:
- From <Twilio sender's phone number>
- To <Recipient's phone number>
- Body <Body of the message / SMS to send>
Keep in mind that in fact the recommended way to consume Twilio APIs, is by leveraging its Connector with SAP Open Connectors, as you used in a previous tutorial with Stripe. This exercise is to learn how to do it with a standard HTTP adapter.