Mulesoft RPA & Composer: how work together!
Francesco Suraci
? - Presales Senior Specialist Solution Engineer - 1st and only Italian to write for the official Mulesoft Blog - ?
About Mulesoft RPA and Composer
Mulesoft RPA (Robotic Process Automation) scope is to automate repetitive processes and tasks for every team,process and industry.
End-to-end lifecycle and project management with MuleSoft RPA:
Mulesoft Composer scope is to connect apps and data quickly and easily with clicks, not code.
What you can do with MuleSoft Composer: enrich your 360-degree customer view by empowering business teams with a no-code solution — embedded in MuleSoft or Salesforce — for quickly unlocking data, connecting apps, and automating integration workflows to boost productivity.
How integrate Mulesoft Composer with Mulesoft RPA
Mulesoft Composer has a MuleSoft RPA Connector to invoke RPA Processes.
To connect to a system, whether it is a source of data or the target where you are sending data, you must create a connection with that system’s required credentials:
Connection Display Name: a connection name to remember the details of this connection.
RPA API URL: is the RPA Manager URL with?/rpa/api/v1?appended to it.
API key: the authentication code for the user. The API key is generated in the?RPA User Management?module.
Scenario
In this scenario we will see how to connect Mulesoft Composer and RPA to check new record added in an Excel file, get Email field and invoke an RPA Process (NewsLetter process) passing this field.
RPA Process
Follow this tutorial -> Tutorial: Create an Automation from Start to Finish | MuleSoft Documentation but consider these changes:
领英推荐
Save and Republish!
After this, check process state with this configuration
Composer
First of all,create a new Google Sheet like this:
Where file name is RAPNewsletter and sheet name is 'Sheet1'.
Now, go to Composer and create a new Google Sheets Connection:
And configure the Trigger as below:
Add to the flow the invocation of the Mulesoft RPA Process and configure the connection with the informations discussed before in 'How integrate Mulesoft Composer with Mulesoft RPA'
Configure the flow in this way:
Where 'Newsletter demo-FS' is the name of your process created in RPA.
Check Input fields properties and config:
And after this, map the field with email field provided by Google Sheet.
Now the Composer flow is completed and ready to activate and execute!
Test
Add a new record into Google Sheet RPANewsletter and check how a new Firefox page will be opened, redirected to https://www.mulesoft.com/sign-up, email field for signup is filled with field retrieved form Google Sheet and the signup request is submitted automatically.
Francesco Suraci Awesome! Thanks for Sharing! ??