A Salesforce flow needs to connect to external APIs provided by Northern Trail Outfitters (NTO) and AnyAirlines to retrieve data.
Which three steps should be taken to connect to the external APIs? (Choose three.)
Answer : A, B, E
To connect a Salesforce flow to external APIs, follow these steps:
Create Named Credentials in Salesforce:
Named Credentials in Salesforce simplify the authentication process by storing the URL and authentication details needed to call the external service. Set up Named Credentials for both NTO and AnyAirlines APIs.
Navigate to Salesforce Setup > Named Credentials > New Named Credential.
Enter the details for NTO API, including the endpoint URL and authentication settings.
Repeat the process for the AnyAirlines API.
Create External Services in Salesforce:
External Services allow you to register the external APIs with Salesforce so that they can be invoked from a flow.
Navigate to Salesforce Setup > External Services > New External Service.
Use the OpenAPI/Swagger or RAML specification files provided by NTO and AnyAirlines to register their APIs.
This step involves importing the API specifications and configuring the services, which will be used in the flow.
Use an Action Element in Salesforce Flow:
Within Salesforce Flow, use the Action element to call the external services that were registered.
This involves adding an Action to your flow and selecting the appropriate External Service action that corresponds to the API method you want to invoke.
Salesforce External Services Documentation
Salesforce Named Credentials Documentation
AnyAirlines wants to share the Flight Path API through their public Anypoint Exchange Portal.
What should be configured before the API can be shared?
Answer : A
Before sharing an API on the public Anypoint Exchange Portal, several configurations must be in place:
Set Visibility Level to Public:
Ensure the API's visibility level is configured as public within the Anypoint Platform so that it can be shared and accessed by external users.
Navigate to Anypoint Platform > API Manager > Select the API > Settings > Set Visibility to Public.
Ensure API Functionality and Accessibility:
Make sure the API is fully functional and accessible so that users can interact with it once shared.
Configure Security:
While setting the visibility to public is crucial, ensuring that the API is secured using one of the supported authentication/authorization mechanisms is a best practice to control access.
MuleSoft Anypoint Exchange Documentation
MuleSoft API Manager Documentation
Which Connected App scope should be used to connect RPA Manager with an Anypoint Platform account?
Answer : C
To connect RPA Manager with an Anypoint Platform account, the appropriate Connected App scope is RPA Integrator:
RPA Integrator Scope:
The RPA Integrator scope is designed to provide the necessary permissions for integrating RPA Manager with Anypoint Platform. This scope allows the connected app to interact with the RPA Manager and manage RPA processes.
Connected App Configuration:
When setting up a connected app in Anypoint Platform, select the RPA Integrator scope to ensure that the integration can access and manage the RPA processes as required.
MuleSoft RPA Documentation
Anypoint Platform Connected Apps Documentation
An AnyAirlines employee determines that an RPA process is a strong candidate for automation. When approving the process, the employee needs to specify a group of potential users to manage the RPA process throughout its lifecycle.
According to best practices, which group should the employee choose?
Answer : C
When approving an RPA process and specifying a group of potential users to manage it throughout its lifecycle, the best practice is to choose the Center of Excellence (CoE):
Center of Excellence (CoE):
The CoE is a team of experts who are responsible for overseeing the implementation, governance, and management of RPA processes within the organization.
They ensure that best practices are followed, provide guidance and support to project teams, and manage the overall RPA strategy and roadmap.
Lifecycle Management:
The CoE is well-equipped to manage the RPA process from initial development through deployment and ongoing maintenance. They have the expertise to handle any issues that arise and ensure the process remains efficient and effective.
Best Practices:
By involving the CoE, the organization ensures that the RPA process adheres to established best practices, maintains high quality, and delivers the expected benefits.
MuleSoft RPA Documentation
RPA Center of Excellence Best Practices
Northern Trail Outfitters is concerned about security in their Salesforce org regarding their newly created hyperautomation flow that calls a MuleSoft API. A mechanism needs to be implemented that restricts which users can invoke the flow.
Which setting is available to a hyperautomation practitioner that meets this security requirement?
Answer : C
Profiles and Permission Sets: Assigning the appropriate profile or permission set to users in the connected app restricts access to the MuleSoft API. This method ensures that only authorized users can invoke the hyperautomation flow.
OAuth 2.0 Configuration: Configuring OAuth 2.0 is important for authentication, but it does not directly control which users can invoke the flow. The profile or permission set is used to manage user permissions.
External Service Permissions: Assigning permissions in the external service is less relevant than managing permissions within Salesforce, where the flow is executed.
Connected App Security: Properly securing the connected app by configuring user profiles and permission sets ensures compliance with security policies and restricts access as required.
The customer support team at Northern Trail Outfitters manages and maintains customer service cases using Service Cloud. The team collaborates with other stakeholders such as the sales, product, and technical support teams to resolve cases using Slack.
The team needs to use a MuleSoft Composer flow to automatically trigger when a case is created or modified in Service Cloud with notifications in Slack. Based on these specific case requirements, the team routes the cases to the sales, product, or the technical support team.
What flow component must the customer support team use to route the cases?
Answer : C
To route cases based on specific criteria to different teams (sales, product, or technical support) using MuleSoft Composer, the Switch/Case component is the most appropriate choice:
Create a MuleSoft Composer Flow:
Start by creating a flow in MuleSoft Composer that triggers when a case is created or modified in Service Cloud.
Use the Switch/Case Component:
Add a Switch/Case component to the flow. This component allows you to define multiple conditions and route the flow based on these conditions.
Define the different case routing criteria (e.g., case type, priority) within the Switch/Case component. For each case, specify the condition that determines which team the case should be routed to.
Configure Notifications in Slack:
For each case defined in the Switch/Case component, configure the corresponding actions to send notifications to the appropriate Slack channels.
The Switch/Case component enables complex conditional logic, making it ideal for routing cases to different teams based on predefined criteria.
MuleSoft Composer Documentation
Northern Trail Outfitters (NTO) is building a hyperautomation solution using Salesforce and MuleSoft. Their Salesforce admin needs to automate a comprehensive, multi-step process that a single user will execute after a case record is created.
How should the Salesforce Flow solution be structured to meet this requirement?
Answer : B
To address the comprehensive, multi-step process automation requirement at Northern Trail Outfitters (NTO), a single flow orchestration that uses Stages and Steps is the best solution.
Flow Orchestration in Salesforce:
Stages and Steps: Flow Orchestration allows Salesforce admins to build sophisticated automations by structuring the flow into Stages (representing different parts of the process) and Steps (individual actions within each Stage).
User Inputs and Automated Actions: By leveraging Stages and Steps, Salesforce Flow Orchestration can handle both user inputs and backend automated steps seamlessly, ensuring the entire process is automated and organized efficiently.
Error Handling and Conditional Logic: It also allows for conditional logic and error handling, ensuring that the flow can adapt to various scenarios that may arise during the automation process.
Comprehensive Process Automation:
Single User Execution: Given that the requirement specifies that a single user will execute the process after a case record is created, Flow Orchestration is ideal as it can manage the end-to-end process in a structured manner, without requiring multiple flows or complex configurations.
Salesforce documentation on Flow Orchestration provides detailed insights on how to design and implement such solutions.