Map message data

To complete our integration we need to map the messages between Salesforce and Twilio and vice versa. The inbound notification from Salesforce maps to the request of the synchronous call to Twilio, the response of Twilio is mapped to the create CaseComment callback, and a fault response from Twilio is mapped to the create FeedItem callback.

Map Salesforce notifications to Twilio requests

Let's create the request mapping. First, click the mapping icon, in the middle of the flow, and then on the plus sign to create a new mapping. This will be a little more complex than in the previous chapter. In this test, we are going to send the SMS message to our own phone.

Since we don't receive this phone number in our notification, we need to ...

Get Implementing Oracle Integration Cloud Service now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.