DataRaptor or Integration Procedure?

If you are going to read or write Salesforce SObject data or looking to perform single-step data structure transformations than OmniStudio DataRaptors might be the best choice for you. While on the other side Integration Procedures can interact with many types of data, including REST APIs and Apex classes, and process it in multiple steps.

Following are the scenarios where you can give preference to Dataraptor if,

  • You want to read from or write to SObjects that have a known relationship. For example, Accounts and Contacts have a relationship because a Contact can have an AccountId value.
  • There are no SObjects involved. You only have to work with JSON or XML data.
  • Using one or a series of formulas, you can perform any necessary filtering, calculation, or reformatting of data values.
  • You read data from SObjects or write data to SObjects, but not both.
  • You can modify the data structure by mapping input JSON nodes to output JSON nodes.
  • CSV files, Apex classes, REST APIs, or external objects are not read or written to.
  • You don’t send email, merge lists, or handle errors.

You have to Use an Integration Procedure if,

  • You must call at least two DataRaptors in order to read from and write to one or more SObjects.
  • There is no defined relationship between the SObjects you read from or write to.
  • You cannot transform your data just using formulas. For example, different conditions determine whether some filtering or calculations are performed at all.
  • JSON node mappings are complicated and include several processes.
  • You read from or write to multiple data source types, such as SObjects, CSV files, external objects, Apex classes, or REST APIs.
  • You perform actions such as sending emails, merging lists, or handling errors.

Hope this information helps you guys.

Cheers!!!

Mukul Sharma

One thought on “DataRaptor or Integration Procedure?

  1. Warbandile's avatar Warbandile April 16, 2023 / 7:06 am

    Very helpful information, thank you!

    Like

Leave a comment