Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Optimize and Automate Business Processes with Agentforce Operations
Custom HTTP Integrations in Agentforce Operations

Custom HTTP Integrations in Agentforce Operations

With Custom HTTP integrations Agentforce Operations can call HTTP APIs to exchange data with external systems during workflow execution. Use them to send workflow data to an API, get data from an API for use in a workflow, or search external datasets based on workflow parameters.

Required Editions

License Required

This feature is a workspace that’s external to your Salesforce org and requires an Agentforce Operations license.

To purchase an Agentforce Operations license, contact your Salesforce account executive.

Common Use Cases

Use custom HTTP integrations to:

  • Notify an external API when a workflow starts in Agentforce Operations
  • Send data from a running workflow to an API
  • Get data from an API for use inside a workflow
  • Search external datasets based on workflow parameters

Custom HTTP integrations support any data exchange except tabular data or paginated data. For tabular data, use a Workato integration.

Request Configuration

Configure the outgoing request with these options:

  • URL: The API endpoint URL. Supports query parameters populated from workflow fields or static values.
  • Method: GET, POST, PUT, PATCH, or DELETE.
  • Authentication: OAuth 2.0 or bearer token authentication.
  • Headers: Add custom headers for log identification, authentication, cache control, and so on. Agentforce Operations automatically includes metadata headers about the workflow, stage, and task with every request.

Payload Configuration

Agentforce Operations supports JSON and Form Data payloads for outgoing requests. To construct nested JSON, prefix the key field with a period.

For example, map .childPayload.keyOne to a text value to produce this nested JSON structure:

{
  "childPayload": {
    "keyOne": "valueOne"
  }
}

Different field types in Agentforce Operations produce different JSON structures in the request payload:

  • Checkbox fields send boolean values (true or false)
  • Date fields use ISO 8601 format
  • People fields send email addresses

Response Extraction

Agentforce Operations uses jq syntax to extract data from API responses. Map extracted values to Agentforce Operations fields that match the data type of the extracted data. The jq syntax supports complex and conditional extraction from JSON payloads.

For example, to extract the state abbreviation from a postal code lookup response, use: .places[0]["state abbreviation"].

Automatic Metadata Headers

Agentforce Operations automatically sends headers with metadata about the workflow, stage, and task that originated the request:

  • X-Regrello-WorkflowID
  • X-Regrello-StageID
  • X-Regrello-ActionItemTemplateID
  • X-Regrello-ActionItemID

Learn More

To set up a Custom HTTP integration, see Create a Custom HTTP Integration in Agentforce Operations.

 
Loading
Salesforce Help | Article