SalesforceWizard

Salesforce OmniStudio interview questions

OmniScripts, FlexCards, Integration Procedures and Data Mappers, explained the way industry cloud interviewers ask.

0 of 15 reviewed
On this page (3 sections)BasicsDesign choicesTroubleshooting and performance

OmniStudio is the set of low-code tools used in Salesforce industry clouds, such as Communications, Insurance, Health and Financial Services. Interviewers for these projects expect you to know the four main tools and when to use each: OmniScripts, FlexCards, Integration Procedures and Data Mappers.

Salesforce now spells the product "Omnistudio" in some places. Both spellings mean the same thing, and Data Mappers were previously called DataRaptors.

Basics

01

What is OmniStudio and why is it used?

Beginner

OmniStudio is a set of declarative tools for building guided, industry-specific experiences quickly. It came from Vlocity, which Salesforce bought in 2020.

Its main tools are OmniScripts for guided processes, FlexCards for showing information in context, Integration Procedures for server-side data work and Data Mappers for reading, transforming and writing data.

02

What is an OmniScript?

Beginner

An OmniScript is a guided, step-by-step process for users, such as a quote, an insurance claim or a customer onboarding. It is made of steps containing elements such as inputs, text blocks and actions.

OmniScripts can read and save data through Data Mappers and Integration Procedures, call Apex, and are built as Lightning Web Components when activated, so they can be placed on Lightning pages and Experience Cloud sites.

03

What is a FlexCard?

Beginner

A FlexCard shows key information about a record or customer in a compact card, with actions the user can take, such as starting an OmniScript or opening a record.

A FlexCard gets data from a data source (Data Mapper, Integration Procedure, Apex, SOQL or a REST call) and can have several states, for example showing different content for active and cancelled policies.

04

What is a Data Mapper (formerly DataRaptor)?

Beginner

A Data Mapper reads, transforms or writes Salesforce data without code. The main types are Extract (read data from one or more objects), Turbo Extract (fast read from a single object with related fields), Transform (reshape data without touching the database) and Load (insert or update records).

Interviewers like the follow-up: use Turbo Extract when reading from one object because it is faster, and Extract when you need data from several related objects or formulas.

05

What is an Integration Procedure?

Intermediate

An Integration Procedure runs server-side and combines several actions, such as Data Mappers, HTTP callouts, Apex and conditional logic, in one call. Because it runs on the server, it reduces round trips from the browser and is faster than calling each action separately from an OmniScript.

It can also cache results, which helps a lot for data that doesn't change often, such as product catalogues.

Design choices

06

When would you use an Integration Procedure instead of a Data Mapper directly?

Intermediate

Use a Data Mapper alone for a simple read or write. Use an Integration Procedure when you need several steps, external callouts, conditions, error handling or caching, or when you want to reuse the same logic in several OmniScripts and FlexCards.

A common good practice is: OmniScripts and FlexCards call Integration Procedures, and Integration Procedures call Data Mappers.

07

When would you choose OmniScript over Screen Flow?

Intermediate

OmniScript is the better fit in industry cloud projects that already use OmniStudio, for complex guided journeys with heavy data needs, and where Integration Procedures and FlexCards are part of the design.

Screen Flow is often simpler for core Salesforce projects without OmniStudio licences. In an interview, say the choice depends on licences, the team's skills and what the rest of the solution uses.

08

What is the difference between the OmniStudio managed package and standard OmniStudio?

Intermediate

Originally OmniStudio came in a managed package (from Vlocity) with its own namespace. Salesforce has since built OmniStudio into the core platform as standard components and runtime, and provides a migration tool to move existing components.

For new projects, standard OmniStudio is the direction Salesforce recommends. Mentioning that you know about the migration shows you follow the product.

09

How do you pass data between steps and components in OmniStudio?

Intermediate

Everything works on a JSON data structure. OmniScript elements write to and read from this JSON, Set Values elements create or change values, and actions send parts of the JSON to Integration Procedures and receive their response back.

Good naming of elements and a clear JSON structure are important, because a renamed element can silently break the mapping.

10

What are Expression Sets and Decision Matrices?

Intermediate

They are part of the Business Rules Engine. A Decision Matrix is a lookup table, for example the price for each product and region. An Expression Set is a sequence of calculations and conditions that can use Decision Matrices, for example to calculate an insurance premium.

They let business users change rules and rates without code, and can be called from OmniScripts, Integration Procedures and Flows.

Troubleshooting and performance

11

How do you debug an OmniScript that isn't saving data?

Intermediate

Use Preview with the Action Debugger to see the request and response of each action. Check that the data sent to the Data Mapper or Integration Procedure has the expected JSON structure and field names.

Then check the Data Mapper on its own with test input, and check permissions of the running user, because Load Data Mappers fail if the user can't edit the object or fields.

12

How do you improve OmniScript performance?

Advanced

Load only the data needed for each step, combine calls into one Integration Procedure, use caching for reference data, use Turbo Extract where possible and avoid large JSON payloads.

Also use asynchronous options for long-running work and avoid calling the server on every small change in the UI.

13

How do you deploy OmniStudio components between orgs?

Intermediate

With standard OmniStudio, components are metadata and can be deployed with the Salesforce CLI, change sets or DevOps tools. In the managed package, teams used the Vlocity Build tool or IDX Workbench, which export components as DataPacks.

Activate OmniScripts and FlexCards after deployment and test them, because inactive versions are a common post-release problem.

14

How do you handle errors in an Integration Procedure?

Intermediate

Use conditional execution and Response Actions to return clear error information, set failure behaviour on each step (stop or continue), and log errors where needed.

In the OmniScript, show the user a friendly message and a way to retry instead of a technical error.

15

How do you secure data used in OmniStudio?

Intermediate

Data Mappers and Integration Procedures run with the user's permissions by default, so object and field permissions still apply. For external users on Experience Cloud, give the guest or community user only the access needed.

Use Named Credentials for external callouts, and never store secrets in OmniScript JSON.

Chat on WhatsApp