Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
All articles
Industries·May 3, 2026·16 min read

OmniStudio Explained: FlexCards, OmniScripts, DataRaptors & Integration Procedures

The complete pillar guide — three layers, four primitives, where it fits vs Flow + LWC, and the pitfalls that cost teams quarters.

OmniStudio explained — FlexCards, OmniScripts, DataRaptors, Integration Procedures

TL;DR

  • OmniStudio is the low-code, declarative stack that ships with Industries Cloud (Health, Financial Services, Communications, etc.).
  • Four primitives: FlexCards (display data), OmniScripts (guided processes), DataRaptors (read/write data), Integration Procedures (orchestrate logic).
  • Three layers: Digital Experience (FlexCards/OmniScripts), Service Management (lifecycle workflows), Developer Experience (IDX Workbench, deployment).
  • Pick OmniStudio when you need declarative guided processes for Industries customers. Pick LWC + Flow when you don't have OmniStudio licensed.

If you've worked in core Salesforce for years and stepped into an Industries Cloud project, you've found a parallel universe. Different vocabulary, different tools, different deployment story. OmniStudio is the reason. This guide is the canonical mental map: what each primitive does, how they fit together, and when to use OmniStudio vs core platform tools.

The three layers of OmniStudio

OmniStudio organizes its primitives into three layers — a useful mental model when navigating the labyrinth.

OmniStudio's three layers and four primitives

1. Digital Experience layer

What customers and agents see. Two primitives:

  • FlexCards — display tiles built from data. The "card on the right" with customer summary, recent orders, recommended actions.
  • OmniScripts — guided multi-step processes. "Reschedule appointment" wizard, "claim a benefit" workflow.

2. Service Management layer

The lifecycle and journey orchestration. Less hands-on for new admins; this is where Industries Cloud's pre-built solutions live (Care Plans in Health Cloud, Claims in FSC, etc.).

3. Developer Experience layer

Deployment, version control, and metadata. OmniStudio uses IDX Workbench (its own metadata tool, not the standard Salesforce CLI). This is the layer that frustrates platform veterans the most.

The four primitives

These are the building blocks. You'll combine them into anything OmniStudio does.

FlexCard — display data

A FlexCard is a configurable display tile. You drop fields, charts, action buttons, conditional sections, and embedded child cards into a layout. Output: a Lightning component you can drop on a record page or embed in an OmniScript.

Think of it as: "a customizable read-only view, but easier to build than a custom LWC."

FlexCard: AccountSummary
├─ Header: Account Name + Industry + AccountOwner
├─ Section 1: Annual Revenue + Employees
├─ Section 2: Recent Cases (embedded child FlexCard)
└─ Actions: [Edit] [Create Case] [Open Quote]

When to use: read-heavy, layout-rich displays where standard page layouts feel limiting. Common in Service Console workflows.

OmniScript — guided process

An OmniScript is a multi-step wizard. Each step has fields, conditional branching, validation, and side effects. Think "guided customer onboarding," "appointment scheduling," or "benefit claim filing."

Anatomy:

OmniScript: ScheduleAppointment
├─ Step 1: Identify customer (DataRaptor: AccountById)
├─ Step 2: Choose service type (Picklist + Conditional Branch)
├─ Step 3: Pick available time slot (DataRaptor: SlotsByService)
├─ Step 4: Confirm + Pay (Integration Procedure: ProcessAppointment)
└─ Step 5: Show confirmation (FlexCard: AppointmentConfirmed)

When to use: multi-step processes that don't fit a standard form. The ones that always become "but the customer is confused" if you build them as a Flow.

DataRaptor — read/write data

DataRaptors move data between Salesforce and your OmniScripts/FlexCards. Four types:

TypeDirectionPurpose
Turbo ExtractReadFastest read; bypass much of the OS layer for performance
ExtractReadStandard read with transformation
LoadWriteInsert/update records
TransformNoneIn-memory data transformation

Think of DataRaptors as "configurable Apex methods built declaratively." A DataRaptor Extract is a SOQL query plus a JSON output mapping. A DataRaptor Load is an upsert plus an input mapping.

DataRaptor Extract: AccountById
- Object: Account
- Filter: Id = {input.recordId}
- Output JSON: { id, name, industry, owner: {name, email} }

When to use: any time an OmniScript or FlexCard needs to read or write Salesforce data. Almost always.

Integration Procedure — orchestrate logic

An Integration Procedure (IP) is the orchestration layer. It chains together DataRaptors, calls external services, transforms data, and runs business logic — all without code.

IP: ProcessAppointment
├─ Action 1: DataRaptor Load (create Appointment record)
├─ Action 2: HTTP Action (notify external scheduling service)
├─ Action 3: DataRaptor Load (create Case if conflict)
└─ Action 4: Response (assemble final JSON)

When to use: anytime you need to compose multiple DataRaptors, call an external API, or apply business logic that doesn't fit one DataRaptor. Most production OmniScripts call at least one IP.

The four OmniStudio primitives — what each does

How the four primitives connect

In a typical workflow:

  1. The user opens an OmniScript on a record page.
  2. The OmniScript calls a DataRaptor Extract to fetch starting data.
  3. The user moves through steps; conditional branching shows different fields.
  4. On final submission, the OmniScript calls an Integration Procedure.
  5. The IP calls multiple DataRaptors (loads, extracts) and possibly external HTTP services.
  6. Results are returned to the OmniScript, which displays a confirmation FlexCard.

That's the whole pattern. Memorize it; everything else is variation.

When to use OmniStudio vs Flow + LWC

The most common architecture question on Industries Cloud projects.

ScenarioOmniStudioFlow + LWC
Multi-step customer-facing processYesPossible but heavy
Industry-specific (insurance, healthcare, telco)YesReinventing the wheel
Standard CRUD form on a recordPossibleYes — simpler
High-volume backend automationNoYes — Flow + Apex
Deeply branching workflow (10+ paths)YesPossible but messy
Need to integrate with legacy SOAP serviceYes (via HTTP Action)Possible (via Apex callout)
Tight CPU performance budgetNoYes — Apex
Org doesn't have OmniStudio licensedN/AYes

Two practical rules:

  1. If your org has OmniStudio licensed and you're building customer-facing guided processes, use it. That's what it's for.
  2. If you're not on Industries Cloud, you don't need OmniStudio. Flow + LWC + Apex covers the rest.

Calculation Matrices and Calculation Procedures

Two more OmniStudio primitives, less commonly used but worth knowing.

  • Calculation Matrix — declarative lookup tables. "Given customer tier and product type, what's the discount?" Avoids hardcoding pricing logic in DataRaptors or Apex.
  • Calculation Procedure — composable calculation rules built on top of matrices. Chain multiple matrices and apply logic in sequence.

These are the unsung heroes of insurance and FSC implementations. When pricing rules are complex and changing monthly, these primitives let business analysts edit them without engineer involvement.

IDX Workbench — the deployment story

OmniStudio's deployment story is its own world. IDX Workbench is the metadata management tool — it exports OmniStudio components, maps dependencies, and deploys to other orgs.

You don't deploy OmniStudio components via Change Sets or DevOps Center reliably. The metadata representation is JSON-heavy, with cross-references that the standard tools don't track well. IDX is the right tool — but it's a separate UI to learn.

The 2026 trend: more OmniStudio metadata is becoming compatible with DevOps Center. Until that's complete, plan to use IDX for OmniStudio and DevOps Center for everything else.

Deployment story: IDX for OmniStudio metadata, standard tools for the rest

Common pitfalls

The mistakes I see on every OmniStudio project.

Pitfall 1: Treating an OmniScript like a Flow

OmniScripts and Flows look similar. They're not. OmniScripts have richer UI controls, branching, and FlexCard embedding — but they don't have Flow's automation triggers (you can't have a "record-triggered OmniScript"). Use Flow for triggers; use OmniScript for guided processes.

Pitfall 2: Underusing Turbo Extract

Standard DataRaptor Extract goes through the OmniStudio engine. Turbo Extract bypasses much of it for raw speed — 5–10× faster on simple reads. If your OmniScript feels slow on Step 1, swap Extract for Turbo.

Pitfall 3: Building everything in one giant OmniScript

A 30-step OmniScript is unmaintainable. Break it into a parent OmniScript that calls sub-OmniScripts (yes, OmniScripts can call each other). Same readability gains as Subflows in Flow.

Pitfall 4: Skipping the test data step

OmniScripts have a "test mode" where you can paste mock JSON instead of calling real DataRaptors. Use it. Iterating on a complex OmniScript with real Salesforce queries on every preview wastes hours.

Pitfall 5: Not version-controlling

OmniStudio components are metadata. Treat them like code. Export via IDX, commit to git, review changes via PR. Without this, two admins editing the same OmniScript in parallel will overwrite each other's work.

Pitfall 6: Custom Apex that should be a DataRaptor

If a developer wrote an @AuraEnabled Apex method that's "just a SOQL query and a JSON map," it should be a DataRaptor. Easier to maintain, faster to deploy, doesn't require Apex test coverage.

How OmniStudio interacts with Agentforce

In 2026, OmniStudio components can be exposed as Agentforce Actions. The pattern:

  • OmniScript as Action: an agent can launch an OmniScript on the user's behalf, prefilling steps based on the conversation context. Useful for "schedule my appointment" voice flows.
  • Integration Procedure as Action: more common — agents call IPs as backend actions, the IP does the multi-step orchestration, and the agent reads back the result.

The same Trust Layer rules apply: the OmniScript runs as the calling user; FLS, sharing, and validation rules all enforce.

Frequently asked questions

Do I need a separate license for OmniStudio? Yes — it ships with Industries Cloud SKUs (Health Cloud, FSC, Communications Cloud, etc.) or can be purchased separately. It's not included in standard Sales/Service Cloud.

Can I use OmniStudio without Industries Cloud? Technically yes (it's licensable standalone), but rare. Almost all OmniStudio installations are on Industries orgs.

What was Vlocity? OmniStudio's previous name. Salesforce acquired Vlocity in 2020 and rebranded over 2021–2022. If you see "Vlocity" in old docs, it means OmniStudio.

Can DataRaptors call external services? Indirectly — DataRaptors handle Salesforce data. For external calls, use Integration Procedure HTTP Actions, which can call REST/SOAP services and pass results to DataRaptors.

Is OmniStudio replacing Flow? No — they target different use cases. Flow is automation; OmniStudio is guided experiences. Most orgs use both.

How do I learn OmniStudio? Start with the Trailhead OmniStudio module, then build a small workflow end-to-end in a sandbox. The mental model only clicks once you've shipped one real flow with all four primitives.

If you're new to OmniStudio: build the canonical "schedule appointment" OmniScript end-to-end this week. Step through DataRaptors and Integration Procedures. The vocabulary stops feeling foreign after one full cycle.

Share this article

Sources

Related dictionary terms

Keep reading