Skip to content
Back to skills

Omnistudio Asynchronous Data Operations

ASecurity

Use Integration Procedures queues, DataRaptor Chain, and Remote Actions with async patterns for long-running OmniStudio flows. NOT for simple DataRaptor reads.

  • 15 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 1, 2026
ai-agentsgospringbackend

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned June 1, 2026

npx -y skills add PranavNagrecha/AwesomeSalesforceSkills --skill omnistudio-asynchronous-data-operations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omnistudio Asynchronous Data Operations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Omnistudio Asynchronous Data Operations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pranavnagrecha-omnistudio-asynchronous-data-operations/badge)](https://www.skillsdirectory.com/skills/pranavnagrecha-omnistudio-asynchronous-data-operations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: omnistudio-asynchronous-data-operations
description: "Use Integration Procedures queues, DataRaptor Chain, and Remote Actions with async patterns for long-running OmniStudio flows. NOT for simple DataRaptor reads."
category: omnistudio
salesforce-version: "Spring '25+"
well-architected-pillars:
  - Scalability
  - Reliability
triggers:
  - "integration procedure queue"
  - "dataraptor chain"
  - "omnistudio async"
  - "omniscript long running"
tags:
  - omnistudio
  - integration-procedure
  - async
inputs:
  - "use case with >5s response or multi-system orchestration"
outputs:
  - "IP design with queued steps + error handling"
dependencies: []
runtime_orphan: true
version: 1.0.0
author: Pranav Nagrecha
updated: 2026-04-28
---

# OmniStudio Asynchronous Data Operations

OmniStudio Integration Procedures (IPs) can chain DataRaptors, HTTP calls, Apex, and Business Rules into a single orchestration. For operations that exceed the 5-second browser wait or need parallel calls, queue the IP (invoke from Platform Event or Queueable) instead of running synchronously.

## Adoption Signals

Multi-system orchestrations >5s or bulk data transformations driven from an OmniScript.

- Any IP that exceeds the synchronous CPU limit when run against production-volume data.
- DataRaptor chains (sometimes called a dataraptor chain) where each step depends on the prior output and total runtime exceeds user-tolerable latency.

## Recommended Workflow

1. Model the orchestration as an IP; label each step by purpose.
2. For long steps, split: a synchronous IP kicks off a Queueable or publishes a Platform Event; the worker IP runs async.
3. Consumer polls status via a DataRaptor read; show progress screen in the OmniScript.
4. Error path: each IP step has Abort On Error; always catch at top with a retry/fail branch.
5. Observability: log IP execution via custom logger or Salesforce Log Entry framework.

## Key Considerations

- IPs sync limit: 120s overall, 10s per HTTP callout.
- Cache responses where safe (cache-enabled IP) to reduce backend load.
- Parallel Remote Actions reduce wall-clock; IP supports Send/Response parallel.
- Don't put heavy transforms in DataRaptor — use Apex Action for perf-sensitive paths.

## Worked Examples (see `references/examples.md`)

- *Async order placement* — OmniScript checkout
- *Parallel enrichment* — Credit + address verification

## Common Gotchas (see `references/gotchas.md`)

- **Sync >120s kill** — Whole IP aborts.
- **Cache stale** — Users see old data.
- **No error branch** — Silent failure to user.

## Top LLM Anti-Patterns (full list in `references/llm-anti-patterns.md`)

- Everything sync
- No caching on hot IPs
- Heavy Apex in DataRaptor transformations

## Official Sources Used

- OmniStudio Developer Guide — https://developer.salesforce.com/docs/atlas.en-us.omnistudio_developer.meta/omnistudio_developer/
- OmniStudio for Salesforce — https://help.salesforce.com/s/articleView?id=sf.os_omnistudio_for_salesforce_overview.htm
- OmniScript to LWC OSS — https://developer.salesforce.com/docs/atlas.en-us.omnistudio_developer.meta/omnistudio_developer/os_migrate_from_vf_to_lwc.htm

Files in this skill

  • SKILL.md3.1 KB
  • references/examples.md532 B
  • references/gotchas.md571 B
  • references/llm-anti-patterns.md195 B
  • references/well-architected.md588 B
  • scripts/check_omnistudio_asynchronous_data_operations.py982 B
  • templates/omnistudio-asynchronous-data-operations-template.md580 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.