---
schema_version: "1"
id: 6313eda15063f4e77dfef2dece53a9a13bb04dfbedc83f97348c49ceed066a7b
title: Invoke External Services from Omnistudio Assets
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/external_services_omni_studio.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.external_services_omni_studio.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9e898c91fbf20c078d4bf9d7b06bd91cfbb4ba0a597abd54834b8078485b0009
description: You can invoke External Services' registered actions from Omnistudio Integration Procedures in OmniScripts and FlexCards.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Invoke External Services from Omnistudio Assets

You can invoke External Services' registered actions from Omnistudio Integration Procedures in OmniScripts and FlexCards.

To invoke External Services' registered actions with Omnistudio Integration Procedures, first create a custom Apex Class that implements the `System.Callable` interface. Create the class with methods and parameters, and then call the External Services API. For example:

```
public with sharing class RemoteActionClass implements System.Callable
{
  public Object call(String action, Map<String,Object> args)
  {
    Map<String,Object> inputMap = (Map<String,Object>) args.get('input');
    Map<String,Object> outputMap = (Map<String,Object>) args.get('output');
    Map<String,Object> options = (Map<String,Object>) args.get('options');
          
    action == 'methodName'
          
    Object result = Call External Services API;
          
    outputMap.put('result', result);      
          
    return outputMap;
  }
}
```

Then use an Integration Procedure to call an External Services invocable action with a Remote Action.

#### See Also

- [Workflow for Remote Action Apex Class Example](https://docs.vlocity.com/en/Workflow-for-Remote-Action-Example.html)
- [Create a Remote Action for an Invocable Action](https://docs.vlocity.com/en/Create-a-Remote-Action-for-an-Invocable-Action.html)
- [Remote Action for Integration Procedures](https://docs.vlocity.com/en/Remote-Action.html)
- [Remote Action Properties for Integration Procedures](https://docs.vlocity.com/en/Remote-IP-Action-Properties.html)
- [_Trailhead_: OmniStudio Integration Procedures](https://trailhead.salesforce.com/content/learn/modules/omnistudio-integration-procedures)