omnistudio-integration-procedure-generate

Creates and validates OmniStudio Integration Procedures with 110-point scoring across six categories.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Build --skill omnistudio-integration-procedure-generate-padjei
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: omnistudio-integration-procedure-generate
Source: https://github.com/padjei/SF_Build/tree/main/.claude/skills/omnistudio-integration-procedure-generate
Command: npx skills add https://github.com/padjei/SF_Build --skill omnistudio-integration-procedure-generate-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Building OmniStudio Integration Procedures by hand is error-prone: missing Type/SubType naming, circular IP calls, unbounded DataRaptor extracts, and DML without error handling cause deployment failures and silent data corruption. This Skill generates production-ready Integration Procedures and validates them against a strict 110-point scoring rubric before deployment. ## Core Features & Use Cases - IP Generation: Assembles DataRaptor actions, Apex Remote Actions, HTTP callouts, Conditional Blocks, Loops, Set Values, and nested IP calls into coherent server-side orchestrations with explicit input/output mapping. - 110-Point Validation: Scores procedures across Design & Structure, Data Operations, Error Handling, Performance, Security, and Documentation, with deploy/review/block thresholds at 90/67 points. - Dependency & Deployment Workflow: Verifies referenced DataRaptors and Apex classes exist, blocks circular IP calls, and provides CLI commands for querying, deploying, and activating OmniProcess records via the Salesforce REST API. - Use Case: You need to orchestrate account onboarding that reads an Account, validates it via an Apex Remote Action, calls an external API, and creates related Contacts. The Skill generates the OmniProcess and OmniProcessElement JSON records, validates the design, and produces a deployment checklist. ## Quick Start Ask the assistant to create an Integration Procedure for your business process, providing the purpose, target objects, Type/SubType naming, and your authenticated org alias.

Frequently Asked Questions about omnistudio-integration-procedure-generate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an OmniStudio Integration Procedure?▼

Define the business purpose, target objects, and a PascalCase Type/SubType pair, then assemble elements such as DataRaptor actions, Remote Actions, and HTTP callouts. Create the OmniProcess record via REST API with IsIntegrationProcedure=true, add OmniProcessElement child records, then deploy and activate.

When should I use an Integration Procedure vs Flow or Apex?▼

Use an Integration Procedure for declarative multi-step orchestration serving OmniStudio components like OmniScripts and FlexCards. Use Flow for standard Salesforce UI automation, and Apex when you need complex computation or fine-grained transaction control across multiple DML operations.

How do I call an Apex class from an Integration Procedure?▼

Add a Remote Action element and set remoteClass and remoteMethod in its PropertySetConfig. The Apex class must implement the omnistudio.VlocityOpenInterface2 interface (Core namespace) or vlocity_cmt.VlocityOpenInterface (managed package) with an invokeMethod implementation.

Why does my Integration Procedure query return OmniScripts too?▼

OmniStudio Core stores both Integration Procedures and OmniScripts in the OmniProcess table. Add the filter IsIntegrationProcedure=true or OmniProcessType='Integration Procedure' to your SOQL query, otherwise results mix both component types.

Can an Integration Procedure call another Integration Procedure?▼

Yes, use an Integration Procedure Action element with ipMethod set to the target's Type_SubType identifier. You must verify the call graph contains no cycles, since direct or indirect circular calls cause stack overflow errors at runtime.

Why does Integration Procedure deployment fail with missing references?▼

Deployment fails when referenced DataRaptors, Apex classes, or nested IPs do not exist or are inactive in the target org. Deploy and activate all prerequisite Data Mappers first, then deploy the Integration Procedure and set IsActive=true.