Salesforce Flow · Schema
Salesforce Flow Definition
Schema for a Salesforce Flow definition object representing an automation process.
AutomationBusiness ProcessCRMFlowProcess BuilderSalesforceWorkflows
Properties
| Name | Type | Description |
|---|---|---|
| Id | string | Salesforce record ID for the Flow |
| ApiName | string | API name of the Flow (unique identifier within the org) |
| Label | string | Display label of the Flow shown in the UI |
| Description | string | Description of the Flow's purpose |
| ProcessType | string | Type of Flow automation process |
| Status | string | Activation status of the Flow |
| VersionNumber | integer | Version number of the flow |
| RunInMode | string | Run mode for the flow |
| CreatedDate | string | Timestamp when the flow was created |
| LastModifiedDate | string | Timestamp when the flow was last modified |
| CreatedById | string | Salesforce ID of the user who created the flow |
| LastModifiedById | string | Salesforce ID of the user who last modified the flow |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/api-evangelist/salesforce-flow/blob/main/json-schema/salesforce-flow-flow-definition-schema.json",
"title": "Salesforce Flow Definition",
"description": "Schema for a Salesforce Flow definition object representing an automation process.",
"type": "object",
"properties": {
"Id": {
"type": "string",
"description": "Salesforce record ID for the Flow",
"pattern": "^[a-zA-Z0-9]{15,18}$"
},
"ApiName": {
"type": "string",
"description": "API name of the Flow (unique identifier within the org)",
"pattern": "^[a-zA-Z][a-zA-Z0-9_]*$"
},
"Label": {
"type": "string",
"description": "Display label of the Flow shown in the UI"
},
"Description": {
"type": "string",
"description": "Description of the Flow's purpose"
},
"ProcessType": {
"type": "string",
"description": "Type of Flow automation process",
"enum": [
"Flow",
"AutoLaunchedFlow",
"Workflow",
"InvocableProcess",
"CustomEvent",
"FieldServiceMobile",
"FieldServiceWeb",
"Survey",
"SurveyEnrich",
"Orchestrator",
"ContactRequestFlow",
"RoutingFlow",
"TransactionSecurityFlow",
"ServiceCatalogItemFlow"
]
},
"Status": {
"type": "string",
"description": "Activation status of the Flow",
"enum": ["Active", "Obsolete", "Draft", "InvalidDraft"]
},
"VersionNumber": {
"type": "integer",
"description": "Version number of the flow",
"minimum": 1
},
"RunInMode": {
"type": "string",
"description": "Run mode for the flow",
"enum": ["DefaultMode", "SystemModeWithSharing", "SystemModeWithoutSharing"]
},
"CreatedDate": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the flow was created"
},
"LastModifiedDate": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the flow was last modified"
},
"CreatedById": {
"type": "string",
"description": "Salesforce ID of the user who created the flow"
},
"LastModifiedById": {
"type": "string",
"description": "Salesforce ID of the user who last modified the flow"
}
},
"required": ["Id", "ApiName", "Label", "ProcessType", "Status"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/salesforce-flow-flow-definition"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.