So here we can see how we can send messages to multiple receivers based on the workflow condition for the outbound interface. We can take the example of sending data to google drive. For that, we need permission from google drive. After getting permission we will add all the properties in creating a rest adapter. The whole procedure we will see in this chapter.
Firstly we need to get permission from google drive for that we have document, the link is given below:-
https://docs.skyvva-dev.com/docs/tutorial-v2-41-lightning/overview-of-existing-skyvva-adapters/how-to-use-the-rest-adapter-to-consume-google-api/
After getting permission we need to follow certain steps:-
The scenario is that using workflow for routing data to different google drive then creates the file, using REST Adapter with method POST. #
The steps given below are the main steps we need to create:-
- Manual create message type for REST template (google drive api)
- Create a custom field on object Account
- Configuration on Interface using for google #1
Request Interface:-
Link response Interface:-
Link rest Adapter to Request interface:-
Mapping:-
Response Interface:-
Mapping:-
- Configuration on Interface on google #2
Request Interface:-
Link rest Adapter to Request interface:-
Link response to Request interface:-
Mapping:-
Response Interface:-
Mapping:-
Create Adapter:-
+ Click Test connection to confirm Adapter that what we created will connect to google drive or not.
Define workflow:-
Callout:-
- Result:-