Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
Make a MuleSoft RPA Process Available to Flows

Make a MuleSoft RPA Process Available to Flows

Configure the connection between MuleSoft Anypoint platform and your org to import MuleSoft RPA APIs. Then, register the APIs as an external service to use them in flows.

Required Editions

Available in: Lightning Experience
View supported editions.
Note
Note To use Mulesoft RPA with Flow Builder, you requires a MuleSoft Automation subscription and a MuleSoft RPA user with all necessary permissions. See Anypoint Access Management RPA Permissions. 

Before you can make a MuleSoft RPA process available to flows:

  1. Connect Salesforce to MuleSoft Anypoint Exchange from Setup, create the initial connection between MuleSoft Anypoint platform and your org.
  2. Create an external credential for authenticating to MuleSoft RPA Manager with these values. The external credential details how Salesforce authenticates to MuleSoft RPA Manager. You link the external credential to a user’s permission set and to the named credential that specifies the URL for MuleSoft RPA Manager.
    Section Value
    Label A user-friendly name for the external credential that’s displayed in the Salesforce user interface, such as in list views.
    Name

    A unique identifier that’s used to refer to this external credential from callout definitions and through the API.

    The name can contain only underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.

    Authentication Protocol Custom
    Principals

    Create a principal with these values.

    Sequence Number
    1
    Authentication Parameters
    Add an authentication parameter whose value is the API key that you created before in RPA Manager. You use the name of the authentication parameter in the custom header for this external credential.
    Custom Headers

    Create a custom header with these values.

    Name
    x-apikey

    This value is case-sensitive.

    Value
    {!$Credential.External_Credential_Name.RPA_API_Key}

    External_Credential_Name is the name of the external credential.

    RPA_API_Key is the name of the authentication parameter that you created to store the API key that you created before in RPA Manager.

    Sequence Number
    1
  3. Enable the external credential principals using the permission set you created to enable users to invoke this RPA process.
  4. Create a named credential that stores the URL for MuleSoft RPA Manager.

    You link the named credential to the external credential you created in the previous step.

    Section Value
    Label A user-friendly name for the named credential that’s displayed in the Salesforce user interface, such as in list views.
    Name

    A unique identifier that’s used to refer to this named credential from callout definitions and through the API.

    The name can contain only underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.

    URL Your MuleSoft RPA Manager URL, for example, https://myOrg.rpa.mulesoft.com.
    External Credential Select the external credential that you created in the previous step.
    Generate Authorization Header Deselect this option.
    Allow Formulas in HTTP Header Select this option.
  5. Import the MuleSoft RPA API into Salesforce and use the named credential you created in the previous steps in the Import Service window.
  6. Select the startProcess and getProcessExecutionStatus operations for the MuleSoft RPA API.

Use the MuleSoft RPA process in a flow.

 
Loading
Salesforce Help | Article