Agents for an insurance company need to know the current and past weather conditions when creating customer claims. The consultant implements a Flex Card for weather conditions in the console to ensure the agents can access the information. The Flex Card needs to provide fields extracted from a weather API and an account field from Salesforce.
Which method should the consultant use, according to best practices?
Correct Answer: D
Reference: Integration Procedure | Vlocity Developer Docs
Explanation: An Integration Procedure is a feature of Vlocity that allows users to create and execute data integration tasks betweenSalesforce and external systems. An Integration Procedure can perform various operations, such as extract, transform, load, query, or update data from different sources and targets. An Integration Procedure can also invoke other Vlocity features, such as DataRaptors, OmniScripts, or Calculations.
To implement a Flex Card for weather conditions in the console, the consultant should use an Integration Procedure that can do the following steps:
Query the weather API using an HTTP action and pass the accountaddress as a parameter.
Extract the relevant fields from the weather API response, such as temperature, humidity, precipitation, etc.
Query the account field from Salesforce using a DataRaptor Extract action and pass the account ID as a parameter.
Merge the weather API fields and the account field into a single data set using a List Merge action.
Return the data set to the Flex Card using a Return action.