+
+

Lab 1: Create Composer Flow

Overview

With an account provisioned, Audrey will explore how she can quickly create a flow that reads patient information in a Google Sheet, and automatically create a new patient account record in Salesforce Health Cloud.

Lab 1 will guide you through setting up this automated flow, using simple, pre-built connectors and no code.

Login screen

Setting up your systems for Composer Flow Build:

  1. Now lets create a Patient Enrollment Form to collect the Patient information and save it into a google sheets. Copy & Paste the below URL in a new Google Chrome window. This will require you to login to a google account

    Your instructor will provide google credentials.

    module1 lab1 google form copy
    1. Enter the google credentials and Make a copy of the Patient Pre-Registration form.

    2. This will open the Google Form titled: Patient Enrollment Form. Rename the google form with the prefix of your initials

      module1 lab1 google form rename
    3. In the new copy - go to Responses and create a new Google Sheet to capture responses - also be sure to add your initials on the Google Sheet name.

      module1 lab1 google form link
  2. In a new chrome tab, sign in to Slack. You’ll receive a Slack message when the flow is complete.

    Use the "Sign in with Google" option to sign into Slack with the current Google Account.

    In case if Slack asks for any security code to login, you can find that in the same gmail account.

Step 2: In MuleSoft Composer, clone the Composer Flow

  1. In a new Google Chrome tab, log in to Mulesoft Composer using the below URL.

    Your instructor will provide credentials.

  2. Clone the flow named "HLS Automation Workshop - Patient Pre-Registration Flow ". Add your initials to the front of the flow name. (i.e. "JD - HLS Automation Workshop - Patient Pre-Registration Flow)

    1. Click into the flow by selecting its name

    2. On the next page, click the "Clone" button

    3. Click the pencil icon to rename the flow and save

      API Manager Icon
      API Manager Icon
  3. Expand the Google Sheets "Trigger: On New Row in Google Sheets" by clicking Caret right icon.

    1. Change the sheet to the one you previously created with your initials. This sheet is connected to the copy of the Google Form that you created as well.

    2. Select your newly created Worksheet Name from the drop down list.

      Anypoint Exchange
  4. Salesforce - Create Account Record - Review the Data Pills (data populated from Google Sheets)

    Anypoint Exchange
  5. Slack message - Review the data pills and note the custom expression to create a user-friendly message

    Anypoint Exchange
  6. Review the subsequent Salesforce Create New Record and Slack Send Message steps to ensure the data pills in those steps are not showing any errors.

  7. To See Data In Action:

    1. Click Test and wait for the test to start

    2. Open the Patient Pre-Registration google form copy you made with your initials in Preview Mode.

    3. Add a new patient response with the following data:

      1. First Name:

      2. Last Name:

      3. DOB:

      4. etc.

    4. Click Submit in the form

    5. Go back to Composer to see the flow catch the trigger and wait for your Slack message!

      When your slack message comes - notice the details of the patient that we mapped in Composer! Magical!!

Summary

In this lab, we saw how a business users without any coding experience can quickly create new digitally native workflows, and augment those workflows with helpful notifications.

Audrey is excited that she’s been able to contribute to creating a better patient experience, and saving her team a ton of manual effort in automating away boring data entry work.

As Audrey is preparing to publish the flow, she remembers that the patient records also need to be created in Open Hospital - a legacy Java App that doesn’t have any APIs. Audrey meets with Steven to discuss how to approach this problem…​

Move on to Module 2 to learn more!!

Submit your feedback!
Share your thoughts to help us build the best workshop experience for you!
Take our latest survey!