OMNISTUDIO-CONSULTANT practice question 14 of 25

A company needs to create an OmniScript with three steps. • Step 1 • Step 2 • Step 3 Enter customer details Select a product Display a price retrieved from a REST API The product's price should automatically display in Step 3. What should the consultant add to the design of the OmniScript to meet these requirements?

Full set: 143 questions
Answer options
A: DataRaptor Post Action between Step 2 and Step 3
B: Integration Procedure Action between Step 2 and Step 3
C: DataRaptor Post Action inside Step 2
D: Integration Procedure Action inside Step 3 Correct answer
Correct Answer:
D. Integration Procedure Action inside Step 3
Explanation

The requirement is to fetch data from a REST API after a selection is made in Step 2 and use that data in Step 3. An Integration Procedure is the correct tool to orchestrate the call to the external REST API. Placing the Integration Procedure Action element inside Step 3 allows it to execute automatically when the step loads. This ensures the price data is retrieved from the API and is available for display as soon as the user navigates to Step 3.

Why Incorrect

A. A DataRaptor Post Action is used to write or save data to Salesforce, not to retrieve data from an external REST API.
B. An action cannot be placed "between" steps as a separate entity; it must be contained within a step. This option describes an invalid structure.
C. A DataRaptor Post Action is the wrong tool for this task. It is for writing data, not retrieving it via a REST call.

References

1. Salesforce Help. (n.d.). OmniScript Integration Procedure Action Element. "The Integration Procedure Action element runs an Integration Procedure from an OmniScript... For example, an Integration Procedure Action can retrieve data from a third-party source to populate fields in the OmniScript."

2. Salesforce Help. (n.d.). OmniScript Remote Actions. "Remote Actions automatically invoke a remote call when an OmniScript loads or when a property changes. For example, when a Step loads, a Remote Action can call an Integration Procedure..."

Scroll to Top