Skip to main content

Configure an Inbound Payload that writes to Salesforce

Build an Inbound Payload that receives data from another system and creates or updates Salesforce records.

Configure an Inbound Payload that writes to Salesforce

Use an Inbound Payload when an external system should send data that creates or changes Salesforce records. Model the request, process it through Actions and define the response contract.

Choose synchronous or asynchronous processing

Create an Inbound Payload and choose Firing Mode before saving. Immediate keeps HTTP Response last so it can use processing results. Queueable and Batchable put HTTP Response immediately after HTTP Request and process the remaining Actions later.

Firing Mode cannot be changed in the v1.53 editor after creation. See Configure asynchronous Inbound Payloads if the caller should receive an early acknowledgement.

Model HTTP Request and its Endpoint

Select HTTP Request. Configure the expected content format and define the Body, Headers and Parameters that the integration uses.

Configure the associated Endpoint and test its route, HTTP method, Site and runtime access. See Configure Endpoints.

Model stable identifiers and relevant arrays in the request. An incoming property is not automatically a trustworthy Salesforce record identifier; map according to the integration's agreed contract and access model.

Add the processing Actions

Use the insertion plus to add a Query if you need to find a Salesforce record, then add Targets for the required writes. For a synchronous sequence, place these between HTTP Request and HTTP Response. For asynchronous processing, place them after the early response.

Set Target field sources to Payload Data and choose HTTP Request or the appropriate earlier Query. For multiple records, select the request collection in Records From and map each current item's fields.

Use Update or Upsert with stable identifiers when repeat delivery must find existing records. Map parent relationships separately using a Salesforce Id or eligible external key.

Define HTTP Response

For Immediate, map response values from earlier Actions as required, such as a Target result or a later Query. For asynchronous processing, use only values available before background work starts.

An asynchronous success acknowledgement is not proof that later Salesforce processing succeeded. Monitor the Job separately.

Test normal and repeated requests

Send representative requests through the actual Endpoint. Test valid records, missing identifiers, invalid values, empty arrays and repeat delivery.

Inspect HTTP Request, each Query and Target, and HTTP Response on the Job. Confirm the intended records changed and that the response matches the caller's contract.

Did this answer your question?