---
schema_version: "1"
id: 70bcb0135dcb3c1daec12df150f1b20b8e831c96072ea9104f721124b99a9b8b
title: Use Agentforce to Invoke External Service Actions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/external_services_custom_agent_actions.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.external_services_custom_agent_actions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2ea851cf58a31d64bbd2fe13f28c69662804b2f4798b822db736ed45b2eda266
description: Add capabilities to agents with customizable actions configured via External Services. Use External Services to declaratively connect your Salesforce org to an external API. After you register an OpenAPI schema, the actions defined in that schema become automatically available as custom agent actions.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Use Agentforce to Invoke External Service Actions

Add capabilities to agents with customizable actions configured via External Services. Use External Services to declaratively connect your Salesforce org to an external API. After you register an OpenAPI schema, the actions defined in that schema become automatically available as custom agent actions.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

1. Register an external service.
    
    See [Submit an API Spec With a Relative URL](https://help.salesforce.com/s/articleView?id=platform.external_services_register_relative.htm&language=en_US), [Submit an API Spec With an Absolute URL](https://help.salesforce.com/s/articleView?id=platform.external_services_register_absolute.htm&language=en_US), [Paste the JSON or YAML Formatted Schema Into Your Browser](https://help.salesforce.com/s/articleView?id=platform.external_services_register_json.htm&language=en_US), or [Upload a Local File](https://help.salesforce.com/s/articleView?id=platform.external_services_register_browse.htm&language=en_US).
    
    Select the operations that you want to import into your external service registration. If you already have an external service registered, those actions automatically appear as custom agent actions.
    
    ![The External Service page with all operations selected.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/extend_click/images/external_services_select_operations.png)
2. Create an Agent Action.
    
    See [Create a Custom Agent Action](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_custom_create_scratch.htm&language=en_US).
    
    When you create the agent action, you select **External Services** for the External Action Category. The external service operations are available in the Reference Action field.
    
    ![The Create an Agent Action page with a Reference Action Category of External Services and the external service actions appearing in the Reference Action field.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/extend_click/images/external_services_create_agent_action.png)
3. Associate the action with a topic
    
    See [Add an Action to a Topic](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_add.htm&language=en_US).