All Collections
Nodes
Salesforce File
Salesforce File
Stefan Pietersen avatar
Written by Stefan Pietersen
Updated over a week ago

Provides file upload and download for Salesforce.

Revision History

3.0.0.50 Initial Release

Properties

Connection

Type: Connection Input
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.

The Connection Property

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

Did this answer your question?