If the data source is an API, which element would you use?

Study for the Salesforce OmniStudio Consultant 2 Exam. Engage with flashcards and multiple choice questions, each providing hints and explanations to aid learning. Prepare thoroughly to pass your certification!

Multiple Choice

If the data source is an API, which element would you use?

Explanation:
When the data source is an API, you use the HTTP Action. This element is built specifically to perform HTTP requests to external services, letting you configure the endpoint, method (GET, POST, etc.), headers, query parameters, and request body, then map the API response into variables for later steps. It’s the standard way to connect to REST APIs from an Integration Procedure or OmniScript, and it works for retrieving data or sending data to the API. DataRaptor Extract Action is meant for extracting data from a data source using a DataRaptor template, not for making real-time API calls. Remote Action is for invoking Salesforce remote actions (Apex-backed logic), not general API calls. Email Action sends emails, not data retrieval.

When the data source is an API, you use the HTTP Action. This element is built specifically to perform HTTP requests to external services, letting you configure the endpoint, method (GET, POST, etc.), headers, query parameters, and request body, then map the API response into variables for later steps. It’s the standard way to connect to REST APIs from an Integration Procedure or OmniScript, and it works for retrieving data or sending data to the API.

DataRaptor Extract Action is meant for extracting data from a data source using a DataRaptor template, not for making real-time API calls. Remote Action is for invoking Salesforce remote actions (Apex-backed logic), not general API calls. Email Action sends emails, not data retrieval.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy