Configure an Outbound Payload
Use an Outbound Payload when Salesforce should call an external API and optionally use the response to update Salesforce. Configure the exchange as an ordered sequence of Actions.
A typical sequence is Query → HTTP Request → HTTP Response → Target.
Create and prepare the Payload
Create an Outbound Payload in the appropriate Integration. Prepare the Credential and the API contract, including the endpoint URL, method, content formats and expected success statuses.
Add any Query Actions before HTTP Request. Keep their filters and record limits focused on the records needed for this call.
Configure HTTP Request
Select HTTP Request in the Actions panel. Edit Request Settings to set Endpoint, Credential, Method, Content Type and Timeout, then save the section.
Define the Body using the format the API expects. For a value from a Query, set Value Source to Payload Data, select the Query Action and choose its field. Use Dynamic Input for caller-supplied values and Static Value for fixed API values where appropriate.
Configure Headers, Parameters and Modifiers in their sections on the same Action. Use Modifiers for values substituted into the URL. Keep authentication on the selected Credential where possible.
For arrays, choose the collection source and map child Elements from the current item. See Map outbound request bodies.
The selected HTTP Request owns the endpoint, credential, method and outgoing format.
Configure HTTP Response
Select HTTP Response and edit Response Settings. Choose the expected Content Type and Policy for evaluating response statuses. Configure a custom success range only when the API contract needs one.
Model the Body and Headers used by later mappings. Include the values Salesforce needs to retain or pass onward, rather than every unused property in a large response.
HTTP Request and HTTP Response remain consecutive. Do not insert another Action between them.
HTTP Response owns parsing and response status policy; Targets follow it in the sequence.
Write returned values to Salesforce
Use the plus button after HTTP Response to add a Target. Choose its object, operation and identifier, then map fields through Payload Data from HTTP Response or another earlier Action.
For example, the Create Checkout Session demo queries an Opportunity, builds a form URL encoded request, reads the returned session details and updates the Opportunity. The Query and Target are separate cards in the sequence.
If no Salesforce write is required, omit the Target and use the Job to inspect the response.
Test the exchange
Run with controlled data and inspect the Job's Query, HTTP Request, HTTP Response and Target results. Check the actual URL and body, response policy, returned fields and any Salesforce changes.
A successful external request can have effects even if later Salesforce processing fails. Account for those effects before replaying.


