Salesforce certification · Exam OmniStudio-Consultant

OmniStudio-Consultant Mock Exam Page 3

Salesforce OmniStudio Consultant - Plat-Con-201

Free OmniStudio-Consultant mock exam questions 21–30, each with the answer and an explanation.

20 questions · 35 minutes · free, no sign-up

Free OmniStudio-Consultant questions

21–30 of 62 free
Question 21 Choose 1
A business process needs to perform a multi-step calculation on each contact record in a list.
Using an Integration Procedure to process the list, what feature can be used to meet this requirement?
Show answerHide answer

Correct answer: A Loop Block

Explanation

Explanation

The Loop Block is the essential feature in a Salesforce OmniStudio Integration Procedure (IP) used to iterate over a list or array of data and perform a series of actions (including multi-step calculations) on each item.

Iteration: You configure the Loop Block to target the list of contacts (the data array).

Execution: For every contact record in that list, the Loop Block executes the steps (Actions and other Blocks) contained inside it.

Multi-Step Calculation: Inside the Loop Block, you would place:

One or more Set Values actions using formulas to perform calculations.

A Calculation Action (calling an Expression Set or Calculation Procedure) to handle complex, multi-step math on the current contact's data.

A DataRaptor Load Action or Update Action to save the final calculated value back to the contact record.

Why the Other Options are Incorrect:

B. Batch Action: There is no standard "Batch Action" element in an Integration Procedure. Batching typically refers to asynchronous Apex processing for large data volumes, which is separate from the IP's synchronous flow control.

C. Conditional Block: This block is used for executing steps conditionally (based on a true/false evaluation) but does not handle repetition or iteration over a list.

D. DataRaptor Transform Action: This is a powerful tool for manipulating (re-shaping, merging, aggregating) JSON data in bulk, but it cannot execute a multi-step, sequential business process or calculation on each item in the same way a Loop Block can. While it can perform some aggregations, a Loop Block is necessary to run a full multi-step process for each record.

Reference (Salesforce OmniStudio)

The Loop Block property allows an Integration Procedure to process arrays, repeating all the actions contained within the block for every item in the list.
Question 22 Choose 1
Which OmniScript element can be used to retrieve data from more than one source?
Show answerHide answer

Correct answer: B Integration Procedure Action

Explanation

Explanation

The requirement is to identify an OmniScript element that can retrieve data from multiple sources. Let’s evaluate each option:

Integration Procedure Action (B):

An Integration Procedure Action in OmniScript is designed to execute an Integration Procedure, which can aggregate data from multiple sources, such as Salesforce objects (via DataRaptors), external systems (via REST/SOAP APIs), or other data transformations. Integration Procedures allow you to combine and manipulate data from various sources into a single JSON response, making this the ideal element for retrieving data from more than one source.

Why it fits: Integration Procedures are specifically built to handle complex data operations, including fetching and combining data from multiple sources (e.g., Salesforce and external legacy systems) in a single action.

Calculation Action (A):

A Calculation Action performs mathematical or logical operations on data already available within the OmniScript (e.g., summing values or concatenating strings). It does not retrieve data from external or multiple sources; it only manipulates existing data.

Why it’s incorrect: It lacks the capability to fetch data from any source, let alone multiple sources.

DataRaptor Extract Action (C): A DataRaptor Extract Action retrieves data from a single Salesforce object or related objects using a SOQL query or predefined mapping. While powerful for Salesforce data, it is limited to a single data source (Salesforce) and cannot natively combine data from external systems or multiple disparate sources without additional configuration.

Why it’s incorrect: DataRaptor Extract is restricted to one Salesforce-based data source per action, unlike Integration Procedures.

Matrix Action (D):

A Matrix Action is not a standard OmniScript element in Salesforce OmniStudio. The term may refer to Vlocity’s legacy Matrix Calculations or custom configurations, but it is not used for data retrieval from multiple sources. Even in legacy contexts, Matrix Actions were for calculations, not multi-source data fetching.

Why it’s incorrect: It’s either a distractor or irrelevant to OmniScript’s data retrieval capabilities.

Why Integration Procedure Action Stands Out:

Integration Procedures can orchestrate multiple data operations, such as calling multiple DataRaptors, invoking REST/SOAP APIs for external systems, or performing transformations, all within a single action. This makes them uniquely suited for retrieving and combining data from multiple sources (e.g., Salesforce objects, external APIs, or even static data).

In the OmniScript, the Integration Procedure Action references an Integration Procedure, which outputs a unified JSON response that OmniScript elements can use to display or process data.

References

Salesforce Help: Integration Procedures – Explains how Integration Procedures aggregate data from multiple sources, including Salesforce and external systems.

Trailhead: OmniStudio Integration Procedures – Details using Integration Procedure Actions in OmniScript to fetch and combine data from multiple sources.

Salesforce Help: OmniScript Actions – Describes the Integration Procedure Action as a tool for complex data retrieval compared to DataRaptor Extract’s single-source limitation.
Question 23 Choose 1
A business wants to add typeahead functionality to an existing OmniScript. The business wants the user to begin entering the name of a contact in Salesforce. and allow the user to select the contact once it has found a match. Once the contact has been selected, the OmniScript should retrieve the contact's email address for use in a later step of the process.
What data source is needed when using the TypeAhead element?
Show answerHide answer

Correct answer: D DataRaptor Extract Action

Explanation

Explanation

The TypeAhead element in OmniScript requires a data source that can perform a real-time search based on the user's input and return a list of matching records, along with their related fields.

The DataRaptor Extract Action is the standard and most efficient tool for this requirement because:

Search Functionality (Extract): A DataRaptor Extract is designed to query Salesforce data (like Contacts) and filter the results.

Input Parameter: The TypeAhead element automatically passes the text the user types into the input field to the DataRaptor Extract as a filter value (often called a LookupKey).

Real-Time Results: The DataRaptor uses this input to query the Contact object, typically filtering by Name using a LIKE operator, and returns the matching contacts to the OmniScript to display in the dropdown.

Retrieving Additional Data: Once the user selects a contact, the DataRaptor has already returned all mapped fields for that contact (including the Email Address), making the email instantly available in the OmniScript's Data JSON for use in a later step.

Other Supported Data Sources

While the DataRaptor Extract Action is the best fit for this specific scenario (searching Salesforce records), a TypeAhead element can also use:

HTTP Action (for external APIs)

Remote Action (for Apex code)

Integration Procedure Action (if you need complex logic before extracting data)

Data JSON (if the data is already in the OmniScript)
Question 24 Choose 1
What is the purpose of Step elements in OmniScript?
Show answerHide answer

Correct answer: D Organizes the script into one or more pages

Explanation

Explanation

In OmniStudio, the structure and user experience are paramount. The Step element is a fundamental building block that serves a specific organizational purpose.

What a Step Is: A Step is a container that represents a single "page" or "screen" in the OmniScript's guided flow. It groups other elements (like input fields, text, and selectors) together to be displayed at the same time.

How It Works: When an OmniScript runs, the user progresses through one Step at a time. Each Step is typically focused on collecting a related set of information or performing a specific action. For example, you might have a "Personal Details" step, followed by a "Billing Information" step, and then a "Review" step.

Why This is the Correct Answer:

Option D directly and accurately describes this primary function. Steps break down a potentially long and complex process into manageable, logical chunks for the user, organizing the overall script into a multi-page experience.

Why the Other Options Are Incorrect:

A. Allows the user to input data: This is the purpose of individual elements within a Step, such as Text, Number, Select, or Checkbox elements. The Step itself is just the container; it doesn't directly capture data.

B. Groups elements that extract data: This describes the function of a DataRaptor Turbo Extract or a step within an Integration Procedure. In an OmniScript, Steps are for user interaction, not for backend data extraction.

C. Enables the use of repeatable blocks: This is the function of the **Edit Block element. An Edit Block allows users to add, modify, and remove multiple records of the same type within a single step (e.g., adding multiple dependents to an insurance policy). This is different from the high-level page organization provided by Steps.

Summary / Key Takeaway:

Think of Steps as the "pages" in a wizard and the elements inside them (Text, Select, etc.) as the "questions on each page." The Step's core job is to provide structure and pagination to the user journey.

Reference:

This is a foundational concept covered in the "Get to Know OmniScript" module on Trailhead, which explains that "Steps break down the script into multiple pages."
Question 25 Choose 1
A health provider company is building a new application for its medical officers. The company wants to display medical test reports for patients. Medical test reports is acustom object, related to the Patients object. For e< patient, the company needs to list each medical test report including the report name, date requested, and d generated. From each medical test report, the user should be able to take the following actions:

• Approve
• Print for Review
• Send for Retest

Which OmniStudio tools should the consultant use to design a solution to meet these requirements?
Show answerHide answer

Correct answer: D Single FlexCard with multiple actions

Explanation

Explanation

The health provider company needs to display medical test reports (a custom object related to the Patients object) for each patient, showing fields like report name, date requested, and date generated, with the ability to perform three actions (Approve, Print for Review, Send for Retest) per report. OmniStudio tools, such as FlexCards and OmniScripts, are well-suited for creating a modern, user-friendly interface with actionable functionality.

Let’s evaluate the options:

Single FlexCard with multiple actions (D):

Why it fits: A FlexCard is ideal for displaying data in a concise, customizable format, such as a list of medical test reports for a patient. The FlexCard can use a Data Table or Repeat Block to dynamically display the required fields (report name, date requested, date generated) for each medical test report, retrieved via a DataRaptor Extract Action querying the Medical Test Report custom object related to the Patient record. The FlexCard can include multiple Actions (e.g., buttons or links) for each report to trigger the required actions:

Approve: An Action invoking an OmniScript or Integration Procedure to update the report’s status (e.g., set a Status field to "Approved").

Print for Review: An Action triggering a process to generate a printable report, possibly via an OmniScript or Integration Procedure that formats data for printing.

Send for Retest: An Action invoking an OmniScript or Integration Procedure to initiate a retest request, potentially updating fields or creating a new record.

The FlexCard can be embedded in a Lightning page or Experience Cloud site, providing a 360° view of the patient’s reports with actionable buttons for medical officers. This solution is efficient, scalable, and aligns with OmniStudio’s declarative design capabilities, meeting all requirements in a single, cohesive interface.

How it works: In the FlexCard Designer, configure a Data Table or Repeat Block to display medical test report records, with a DataRaptor Extract to fetch data (e.g., SELECT Name, Date_Requested__c, Date_Generated__c FROM Medical_Test_Report__c WHERE Patient__c = :patientId). Add Action elements (e.g., buttons) for Approve, Print for Review, and Send for Retest, each linked to an OmniScript or Integration Procedure for processing.

Salesforce list view with custom buttons/links (A):

Why it’s incorrect: While a Salesforce list view can display medical test reports with custom buttons or links (created via Lightning App Builder or custom code), it is not an OmniStudio tool and lacks the advanced customization and integration capabilities of FlexCards. List views are limited to standard Salesforce UI patterns and don’t support complex, guided processes or external system integrations as seamlessly as OmniStudio. Additionally, custom buttons/links may require more custom code (e.g., Apex, Visualforce) to implement actions like Print for Review or Send for Retest, making it less efficient than a declarative OmniStudio solution.

Multiple FlexCards with single action (B):

Why it’s incorrect: Creating multiple FlexCards, each with a single action, is inefficient and unnecessary. A single FlexCard can handle multiple actions per record (Approve, Print for Review, Send for Retest) using a Data Table or Repeat Block. Multiple FlexCards would lead to redundant configurations, increased maintenance, and a fragmented user experience, as users would need to navigate multiple cards for the same patient’s reports. This approach doesn’t align with the requirement for a unified view of all reports with multiple actions.

OmniScript with multiple Step elements (C):

Why it’s incorrect: OmniScripts are designed for guided, interactive processes (e.g., wizards for data entry or updates), not for displaying lists of records with actions. While an OmniScript could be used to handle the actions (e.g., Approve, Print, Retest), it’s not suited for displaying a dynamic list of medical test reports in a tabular or card-based format. Using multiple Step elements to list reports would be cumbersome and non-intuitive, as OmniScripts are sequential and process-oriented, not optimized for data presentation like FlexCards.

Recommended Solution

Create a single FlexCard to display medical test reports for a patient, using a Data Table or Repeat Block to list records with fields: report name, date requested, and date generated.

Configure a DataRaptor Extract Action to fetch Medical Test Report records related to the Patient (e.g., SELECT Name, Date_Requested__c, Date_Generated__c FROM Medical_Test_Report__c WHERE Patient__c = :patientId).

Add multiple Actions to the Data Table or Repeat Block:

Approve: Triggers an OmniScript or Integration Procedure to update the report’s status (e.g., Status__c = 'Approved'). Print for Review: Invokes an OmniScript or Integration Procedure to generate a printable report, potentially using a DataRaptor Transform to format data or a REST API to a printing service.

Send for Retest: Launches an OmniScript or Integration Procedure to create a retest request, updating fields or creating a new record (e.g., Retest_Requested__c = true or a new Medical Test Report record).

Embed the FlexCard in a Lightning page or Experience Cloud site for medical officers to access within the application.

Optionally, use Conditional Visibility or States to filter reports (e.g., show only pending reports) or style the UI based on report status. This solution leverages FlexCards’ strengths for data display and actionability, ensuring a clean, efficient interface that meets all requirements.

References

Salesforce Help: Create a Flexcard (Managed Package) – Explains configuring FlexCards with Data Tables or Repeat Blocks to display related records and add multiple actions.

Trailhead: OmniStudio FlexCards – Covers using FlexCards for data presentation and triggering actions like OmniScripts or Integration Procedures.

Salesforce Help: Add Actions to a FlexCard – Details how to configure multiple actions (e.g., buttons) to invoke processes for tasks like approving or printing.

Salesforce Help: Omnistudio Data Mapper Extract Action (Managed Package) – Describes retrieving related records (e.g., Medical Test Reports) for display in a FlexCard.
Question 26 Choose 2
In which two cases should an integration procedure be used as a data source for FlexCards and OmniScripts, Choose 2 answers
Show answerHide answer

Correct answer: B, D To retrieve multiple data sources in a single responseTo separate the user interface from changes in thedata sources

Explanation

Explanation

An Integration Procedure is a powerful OmniStudio tool that orchestrates complex business logic and data interactions. It's not just a simple data call; it's a multi-step process.

Why B is Correct: To retrieve multiple data sources in a single response

A primary strength of an IP is its ability to call multiple external systems (e.g., Salesforce core, an external billing system, a payment gateway, a legacy database) within a single, orchestrated procedure. It can take the output from one step (e.g., get account details from Salesforce) and use it as input for the next step (e.g., get billing summary from an external system), and then combine, transform, and return a unified JSON response to the FlexCard or OmniScript.

Benefit: This saves you from having to configure multiple, separate DataRaptors or external sources directly in your FlexCard/OmniScript, simplifying the front-end configuration and improving performance by reducing round trips.

Why D is Correct: To separate the user interface from changes in the data sources

This is a fundamental principle of good software architecture: separation of concerns. By using an IP as an abstraction layer, the FlexCard or OmniScript (the "UI") only needs to know about the IP's interface (the input it expects and the output it returns).

Benefit: If the backend data source changes (e.g., you switch from one API to another, or a field is renamed in the source system), you only need to update the logic within the Integration Procedure. The FlexCard or OmniScript that consumes the IP's response remains completely untouched. This makes your solution far more maintainable and resilient to change.

Why the Other Options Are Incorrect

A. To achieve elastic scaling

Elastic scaling is a characteristic of the underlying cloud infrastructure (like Salesforce Heroku or AWS), not a feature provided by the Integration Procedure logic itself. While a well-architected IP contributes to efficient resource use, the "elastic scaling" is handled by the platform, not the IP code.

C. To minimize the number of elements to be configured

This is the opposite of the typical outcome. Using an IP often increases the total number of elements you need to configure. You must build the IP itself (with its steps, inputs, and outputs) in addition to the DataRaptors or other elements it uses. While it simplifies the front-end (FlexCard/OmniScript) configuration, it adds complexity to the back-end configuration. The goal is power, reusability, and maintainability, not necessarily minimization of elements.

Exam Strategy & Reference

Key Concept: This tests your understanding of the role of an Integration Procedure as an orchestration and abstraction layer.

Reference:

The official Salesforce OmniStudio Developer Guide emphasizes that Integration Procedures are used for multi-system orchestration and complex business logic. The best practice of using a "headless" design (separating business logic in IPs from the UI in OmniScripts/FlexCards) directly supports answer D.

In summary, you use an Integration Procedure when you need to orchestrate complex data from multiple sources (B) and to create a maintainable abstraction between your UI and your backend systems (D).
Question 27 Choose 2
When designing OmniStudio solutions, what are two reasons that explain why Integration Procedures are recommended as the first choice of data sources for FlexCards and OmniScripts? Choose 2 answers
Show answerHide answer

Correct answer: A, C They future-proof your front-end design.They combine multiple actions into a single server call.

Explanation

Explanations:

A. They future-proof your front-end design.

An Integration Procedure (IP) acts as a middleware or service layer between your front-end (FlexCard/OmniScript) and your data sources (Salesforce, external systems, etc.). By using an IP, you decouple the front-end logic from the back-end data retrieval and processing logic. If the underlying data source changes (e.g., you switch from a SOQL query to an Apex callout, or you modify a formula), you only need to update the Integration Procedure. The FlexCard or OmniScript that uses the IP remains unchanged. This makes your solution more modular, maintainable, and "future-proof."

C. They combine multiple actions into a single server call.

A FlexCard or OmniScript can use DataRaptors, Calculation Procedures, and other actions individually as data sources. However, if you use them separately, each one would require a separate call to the server, leading to multiple round trips and slower performance. An Integration Procedure allows you to chain these actions together in a specific sequence. The entire procedure—all its steps—is executed in a single server call. This significantly improves performance and user experience, especially in mobile or high-latency networks.

Why the Other Options are Incorrect:

B. They can retrieve Salesforce data from multiple objects faster. While IPs can retrieve data from multiple objects, this is not their primary, defining advantage. A well-designed DataRaptor Turbo can also be very fast. The speed benefit of an IP comes primarily from combining actions into one call (point C), not from an inherent speed advantage in data retrieval itself.

D. They enable better usability in digital interactions. Usability is primarily driven by the front-end design of the OmniScript or FlexCard (layout, guidance, error handling). While the performance gained from using an IP (single server call) contributes to a better user experience by making it faster, "better usability" itself is a result of the front-end design, not a direct reason to choose an IP as a data source.

Reference:

This concept is core to the OmniStudio design philosophy. The official Salesforce OmniStudio Developer Guide and preparation materials for the OmniStudio Developer certification emphasize the use of Integration Procedures as a best practice for creating efficient, scalable, and maintainable solutions by promoting loose coupling and reducing client-server round trips.
Question 28 Choose 1
A consultant Is designing a solution for a client using Omnistudio. The client wants to display data and launch actions from their Salesforce org.

Which OmniStudio tool should the consultant use to meet this requirement?
Show answerHide answer

Correct answer: B FlexCards

Explanation

Explanation

FlexCards are the ideal OmniStudio tool for displaying data and launching actions from a Salesforce org. They are designed to present concise, contextual data in a card-based format and can include actionable elements like buttons or links to trigger actions (e.g., launching an OmniScript, updating records, or calling an Integration Procedure). FlexCards fetch data using DataRaptors or Integration Procedures and can be embedded in Salesforce pages or external websites to provide an interactive user experience.

Reference: Salesforce Trailhead module "Get Started with OmniStudio FlexCards" describes FlexCards as tools to "display contextual information and provide quick access to actions" from Salesforce data.

Why Not the Other Options?

A. DataRaptors: DataRaptors are used to extract, transform, or load data between Salesforce and OmniStudio components but do not directly display data or launch actions for users.

C. OmniScripts: OmniScripts create guided, interactive processes for user input and workflows, not for simply displaying data and launching actions.

D. Integration Procedures: These handle server-side data operations (e.g., aggregating data from multiple sources) but are not designed for front-end data display or user-initiated actions.

Reference: Salesforce OmniStudio documentation on Trailhead, specifically the FlexCards module, emphasizes their role in data display and action triggers.
Question 29 Choose 1
Which OmniStudio tool creates a Chatter post and sends to a Chatter feed?
Show answerHide answer

Correct answer: B Integration Procedure

Explanation

Explanation:

An Integration Procedure is the correct tool because creating a Chatter post is an action that requires interacting with the Salesforce platform API.

Here's a breakdown:

API Interaction: Posting to a Chatter feed is not a simple data retrieval or transformation; it's an action performed by calling the Salesforce Chatter REST API.

Role of Integration Procedure: An Integration Procedure is designed to execute a series of actions, including Remote Actions. A Remote Action within an IP allows you to call a custom Apex class.

The Complete Flow: To create a Chatter post, you would build an Integration Procedure that includes a Remote Action step. This Remote Action would call an Apex class you've written that uses the ConnectApi.ChatterFeeds class to post the message to the desired feed.

In essence, the Integration Procedure serves as the orchestrator that can execute the specific, coded action required to post to Chatter.

Why the Other Options are Incorrect:

A. DataRaptor Load: A DataRaptor is designed for declarative data extraction (Load), transformation (Transform), and saving (Post). It cannot perform API calls or execute the specific Apex logic needed for a Chatter post. Its scope is limited to manipulating SObject data.

C. Calculation Procedure: This tool is specifically for performing multi-step calculations, often using Calculation Matrices and DataRaptors. It is not designed to execute side-effect actions like posting to an external feed or API.

D. FlexCards: A FlexCard is a front-end UI component used to display data and trigger actions. While a FlexCard could initiate the process (e.g., a user clicks a button to post), the actual work of creating the Chatter post must be handled by a backend tool like an Integration Procedure. The FlexCard itself cannot perform the action.

Reference:

This is based on the fundamental capabilities of each OmniStudio tool. The official Salesforce OmniStudio Developer Guide outlines that Integration Procedures are the primary tool for orchestrating multi-step processes that can include:

DataRaptor Turbo steps (for high-performance data).

Remote Action steps (to call custom Apex code).

Calculation Procedure steps.

Since posting to Chatter requires custom Apex, the Integration Procedure is the only tool that can orchestrate this action in a declarative workflow.
Question 30 Choose 1
A business Implements FlexCards in their customer 360° view. The business wants to add a new action to on the FlexCards that redirects users to an external web page. Which type of action should the consultant recommend to meet this new requirement?
Show answerHide answer

Correct answer: D URL

Explanation

Explanation:

FlexCards support several action types:

➡️ Navigate → used to move to a Salesforce page (like a record page, app page, or OmniScript).
➡️ Event → used to fire off a custom event, often for communication between FlexCards or to trigger an OmniScript/DataRaptor.
➡️ Redirect → typically used within OmniScripts to redirect users to another step or page flow.
➡️ URL → used to open external websites or resources outside of Salesforce.

Since the business wants to redirect users to an external web page, the correct choice is URL.

Why the others are incorrect:

A. Redirect → This is not the right action in FlexCards; it applies more to OmniScripts.

B. Event → Fires events but does not take users to an external page.

C. Navigate → Navigates inside Salesforce (e.g., a record detail page), not to an external site.

✅ Exam Tip:
External = URL
Internal Salesforce navigation = Navigate
Custom triggers = Event
OmniScript flow changes = Redirect
Full mock exam

Sit the OmniStudio-Consultant exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real OmniStudio-Consultant exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full OmniStudio-Consultant mock exam
  • 60questions per mock
  • 105 mintime limit
  • 215questions in the bank
  • Newmock on every attempt