Back to Skills

omnistudio-integration-procedure-generate

OmniStudio Integration Procedure creation and validation with 110-point scoring. Use this skill when building server-side process orchestrations that combine Data Mapper actions, Apex Remote Actions, HTTP callouts, and conditional logic. TRIGGER when: user creates Integration Procedures, adds Data Mapper steps, configures Remote Actions, or reviews existing IP configurations. DO NOT TRIGGER when: building OmniScripts (use omnistudio-omniscript-generate), creating Data Mappers directly (use omnis

759stars279forksUpdated 7/27/2026

Security Assessment

Safe(95/100)
Security Score95/100

About omnistudio-integration-procedure-generate

omnistudio-integration-procedure-generate helps build and validate OmniStudio Integration Procedures (IPs) — declarative, server-side process orchestrations for Salesforce Industries. It solves the problem of assembling multi-step operations that combine Data Mapper/DataRaptor actions, Apex Remote Actions, HTTP callouts, conditional logic, loops, and nested procedure calls into coherent, production-ready orchestrations, and of reviewing existing IP configurations. All IPs are validated against a 110-point scoring rubric across six categories with thresholds of 90+ deploy, 67–89 review, and <67 block.

The skill gathers required inputs (business purpose, target objects/data sources, PascalCase Type/SubType naming, and target org alias), then selects and wires element types, validates dependencies (referenced DataRaptors, Apex classes, and nested IPs must exist and be active before deployment), and enforces error-handling patterns such as try/catch, conditional rollback, and response validation on data-modifying steps. Key insights it encodes include IP-to-IP chaining via Integration Procedure Action elements, response mapping using the %elementName:keyPath% syntax, platform caching via cacheType/cacheTTL (avoiding caching of DML procedures), and versioning through Type/SubType pairs where only one version can be active at a time. It stresses orchestration order (dependencies analysis → data mapper → integration procedure → omniscript → flexcard) and ships element JSON assets, a scoring-report format, best-practices and element-type references, and CLI command scripts. A detailed best-practices guide covers when to use an IP versus Flow or Apex, element ordering, naming conventions, input/output contracts, caching, and pagination.

It targets OmniStudio developers and Salesforce Industries architects who build the server-side data/orchestration layer. Use cases include generating a new IP from requirements, wiring DataRaptor and Remote Action steps, and scoring or auditing an existing IP for structure, error handling, performance, and deployability.

FAQ

What does an Integration Procedure do?

It orchestrates server-side, multi-step operations — combining DataRaptor/Data Mapper actions, Apex Remote Actions, HTTP callouts, conditional blocks, loops, Set Values, and nested IP calls — without user interaction, and can be reused by OmniScripts, FlexCards, Apex, or other IPs.

What inputs does the skill need?

The business purpose, target objects/data sources, a PascalCase Type/SubType naming pair that uniquely identifies the IP, and an authenticated target org alias for deployment.

How is an IP scored?

Against a 110-point rubric across six categories (design & structure, data operations, error handling, performance, security, documentation), with thresholds of 90+ deploy, 67–89 review, and below 67 block.

When should I use a Flow or Apex instead?

Use a Flow for standard Salesforce UI automation and Apex for complex computation or fine-grained transaction control. Use an IP when the process serves OmniStudio components and needs declarative multi-step orchestration across multiple data sources.

What dependency rules does it enforce?

Referenced Data Mappers/DataRaptors, Apex classes, and nested IPs must exist and be active before deployment, and the IP itself must be active before any OmniScript or FlexCard can invoke it.

All Files

8 files
assets/omni-process-element-dr-extract.json0.6 KB
View
assets/omni-process-element-set-values.json0.3 KB
View
assets/omni-process-ip.json0.4 KB
View
assets/scoring-report-format.txt0.4 KB
View
references/best-practices.md13.9 KB
View
references/element-types.md17.4 KB
View
scripts/cli-commands.sh1.0 KB
View
SKILL.md17.2 KB
View

Install omnistudio-integration-procedure-generate

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill