---
schema_version: "1"
id: f62378a6ec5a54ec551d3d0aa7eee06dfb0cac9317e167fe6426a3a5783d846b
title: Integration Procedure Invocation (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_integration_procedure_invocation.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_integration_procedure_invocation.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f94f9ae9a2a97e7917091d4ce52285231700063db7058a7053b0419460997706
description: For the managed package runtime, you can invoke Integration Procedures from other Omnistudio tools such as Omniscripts and Cards. You can also invoke Integration Procedures from Apex classes, batch jobs, REST APIs, or Salesforce flows.
products:
  - Omnistudio
release: "264"
---
# Integration Procedure Invocation (Managed Package)

For the managed package runtime, you can invoke Integration Procedures from other Omnistudio tools such as Omniscripts and Cards. You can also invoke Integration Procedures from Apex classes, batch jobs, REST APIs, or Salesforce flows.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)

Note

A Vlocity Action can't call an Integration Procedure directly. However, a Vlocity Action can call an Omniscript or an Apex class, each of which can call an Integration Procedure.

- **[Integration Procedure Invocation from Apex (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_integration_procedure_invocation_from_apex.htm&release=264.0.0&type=5)**  
    For the managed package runtime, you can invoke an Integration Procedure from Apex code in two ways using the IntegrationProcedureService class in the Vlocity managed package.
- **[Integration Procedure Unit Testing from Apex (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_integration_procedure_unit_testing_from_apex.htm&release=264.0.0&type=5)**  
    For the managed package runtime, you can set up a test class in Apex and use it to call and test an Integration Procedure. You must mock HTTP Action responses.
- **[Integration Procedure Invocation from REST APIs (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_integration_procedure_invocation_from_rest_apis.htm&release=264.0.0&type=5)**  
    For the managed package runtime, you can use either a GET or a POST call to invoke an Integration Procedure and retrieve the result. The difference between the two is that a GET call can't include a JSON request body.
- **[Integration Procedure Invocation from Salesforce Flow (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_integration_procedure_invocation_from_salesforce_flow.htm&release=264.0.0&type=5)**  
    For the managed package runtime, to call an Integration Procedure from a Salesforce Flow, create a Salesforce Flow component by defining a class using the Salesforce Developer Console, as shown in the following example. Note that the class must have the `@InvocableMethod` annotation.
- **[Batch Jobs for Integration Procedures and Vlocity Open Interfaces (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_batch_jobs_for_integration_procedures_and_vlocity_open_interfaces.htm&release=264.0.0&type=5)**  
    For the managed package runtime, the Vlocity batch framework lets you run an Integration Procedure or VlocityOpenInterface on a schedule. Typical use cases are a recurrent billing cycle or a scan for insurance policies that come up for renewal in the next 60 days. When a job is run, it sends its input to an Integration Procedure or Apex method that processes the records.