• Allow the user to select one or more energy products from a list
• Get current energy usage data from an external system via an API
• Save the data back to Salesforce as a lead
Which three OmniScript elements should the consultant recommend to meet these requirements?
Choose 3 answers
Show answerHide answer
Correct answer: A, B, E DataRaptor Post ActionMulti-select InputHTTP Action
Explanation
ExplanationThe requirements map directly to these three OmniScript elements, which handle the user interface, external integration, and data saving respectively.
1. Multi-select Input (B) ➡️ User Selection
Requirement Met: "Allow the user to select one or more energy products from a list."
The Multi-select Input element is the standard OmniScript component designed to allow a user to choose multiple values from a list (e.g., Checkboxes or a Multi-select Picklist), fulfilling the requirement to select "one or more" products.
2. HTTP Action (E) ➡️ External Data Retrieval
Requirement Met: "Get current energy usage data from an external system via an API."
The HTTP Action is the element used in OmniScript (or an Integration Procedure it calls) to make an outbound call to a third-party REST API endpoint, which is necessary to retrieve the external energy usage data.
3. DataRaptor Post Action (A) ➡️ Save Data to Salesforce
Requirement Met: "Save the data back to Salesforce as a lead."
The DataRaptor Post Action is the standard OmniStudio element used to write, update, or upsert data into Salesforce objects (in this case, creating a new Lead record) based on the JSON data collected during the OmniScript process.
Why the other options are incorrect:
C. Post to Object Action: This action is a simpler element that only supports writing data to a single Salesforce object. While it could create the Lead, the DataRaptor Post Action is more flexible, allowing complex data mapping and manipulation, making it the generally recommended and scalable approach in most OmniScript processes.
D. Radio Input: This is an input element, but it is used when a user can select only one option from a list, not "one or more." The Multi-select Input (B) is required to meet the specific "one or more" criterion.