Register an external OpenAPI-described REST service as a Salesforce External Service and invoke it from a Flow

domain: developer.salesforce.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Prepare an OpenAPI 2.0 or 3.0 document describing the external API's operations, request schemas, and response schemas
  2. In Salesforce Setup, navigate to External Services and create a new service, uploading or referencing the OpenAPI document URL
  3. Review the generated invocable actions Salesforce derives from each OpenAPI operation and verify the input/output parameters
  4. Create a Named Credential for the external endpoint to handle authentication without exposing credentials in the Flow
  5. In Flow Builder, add an Action element and select the External Service action; map Flow variables to the action's input parameters
  6. Handle the action's output variables in subsequent Flow elements, including error outputs for non-2xx responses

Known gotchas

Related routes

Register an external REST API as a Salesforce External Service and invoke it from Apex
developer.salesforce.com · 6 steps · unrated
Configure a Salesforce Flow HTTP callout action to invoke an external REST API without code
developer.salesforce.com · 6 steps · unrated
Invoke a Salesforce autolaunched Flow via the REST Actions API
salesforce.com · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp