Attach Files to Salesforce Records

Use this recipe to attach files to a Salesforce record from an external application.

Note:

This recipe is available as REST — Salesforce | Attach Files to Records in the Integration Store. Oracle provides this recipe as a sample only. The recipe is meant only for guidance, and is not warranted to be error-free. No support is provided for this recipe.

Overview

When this recipe receives a REST request containing a file from an external application or from another integration flow in Oracle Integration, it attaches the file to the specified record in Salesforce. The recipe contains an app-driven orchestration integration, which uses the standard REST Adapter and the Salesforce Adapter.

To use the recipe, you must install the recipe package and configure the connection and other resources within the package. Subsequently, you can activate the integration flow of the package and send a POST request (containing a file and the ID of the Salesforce record to which you want to attach the file) to the integration's endpoint URL from an external application. When triggered, the integration flow attaches the file received to the specified record in Salesforce. If your REST request doesn't contain a file, the integration flow isn't triggered.

Note:

You can attach more than one file at a time with this recipe.

System and Access Requirements

  • Oracle Integration, Version 21.2.1.0.0 or higher
  • Salesforce
  • An account on Salesforce with the Administrator role