Optional. JSON data that’s used to build context data.
contextDefinitionId
string
Required. The ID or developer name of the context definition record that’s used to build context data.
contextMappingId
string
Optional. The context mapping record ID or name that identifies which Salesforce object and mappings to use for building context data.
isTaggedData
boolean
Optional. Indicates whether the associated context node is tagged with a key (true) or not (false).
Outputs
Output
Type
Description
contextDefinitionId
string
The ID or Developer Name of the Context Definition record that was used to build context data.
contextId
string
ID of the cached context data.
contextMappingId
string
The Context Mapping record ID or Name that identifies which Salesforce object and mappings to use for building context data.
Usage
Build context invocable action is a wrapper over Build Context business API. The API fetches the data passed in request and saves the data to the cache. This is useful when the same data is required in multiple steps of the process.
Example
POST
This sample request is for the Build Context action. In this example, we are inserting new records to hydrate input values (input hydration). To use existing records instead, reference the IDs directly rather than providing full record data.