Salesforce File

Provides file upload and download for Salesforce.

Revision History

3.0.0.50 Initial Release

4.0.1.10 Bumped API version to default to v55.0 and added property to Connection to allow it to be overridden.

4.0.1.11 Bumped API version to default to v59.0

Properties

Connection

Type: Connection Input
The Connection Property

Url
Type: String
An optional URL for the Salesforce instance. This Property should only be necessary for Sandbox environments.

ConsumerKey
Type: String
The App Consumer Key (See Creating a Connection below).

ConsumerSecret
Type: Password
The App Consumer Secret (See Creating a Connection below).

Username
Type: String
The Salesforce user username.

Password
Type: Password
The Salesforce user password.

SecurityToken
Type: Password
The Salesforce account security token (See Creating a Connection below).

DontInterleaveRequestsInResponse
Type: Boolean
Left blank for this Node.

ApiVersion
Type: String
The version of the API to use. If left blank, defaults to the current version for the Node.

Action

Type: List Input

Upload - upload a file to Salesforce. FileName must be specified including the file extension.
DownloadAsString - download a text file from Salesforce. e.g. txt, csv, json, xml, etc.
DownloadAsBinary - download a binary file from Salesforce. e.g. xlsx, pdf, png, etc.

FileData

Type: Object InputOutput
When uploading a file, provides the content of the file to be uploaded. When downloading a file, returns the content of the file.

FileName

Type: String Input
Where Action is Upload, the file name should be the name of the file including the file extension.

Where the Action is Download, the ID of the file must be specified. This will retrieve the first version of the file. A custom path could also be supplied if a specific file version is required: /services/data/v45.0/connect/files/0694K000000XoDYQA0/content?versionNumber=1

Response

Type: Xml Input
Returns additional response information when a file is uploaded.

Remarks

Use this Node in conjunction with the primary Salesforce Node to manage upload and download of file assets.

Creating a Connection

Refer to the Salesforce Node remarks for details on how to configure a connection.

See Also

Salesforce