Salesforce - Upload file action

This action uploads a file to Salesforce.

Input

Input fieldsDescription
File contentsEnter the binary contents of the file. You can use the drop-down menu to switch this field to Use file URL and input the file's URL. You must specify the File name or Title if you enter the file's binary contents.
File nameEnter the name of the file, including its extension. For example: New file.csv
TitleOptional. Enter a title for the file, including an extension. For example: New file.csv

Workato sets the File name as the Title if this field is left blank.
On-behalf-of user emailOptional. Enter the email of a Salesforce user to impersonate. Contact your Workato Customer Success Manager to enable this field. This field only supports JWT connections.

Output

Output fieldsDescription
Content hub repositoryThe repository where the file is stored.
Moderation flagsAny moderation flags associated with the file in the content hub.
MotifAn object containing URLs for small, medium, and large icons that indicate the Salesforce record type.
TopicsAn object containing the Current page URL, Next page URL, and Topics.
ChecksumMD5 checksum for the file.
Content modified dateThe date the file was last modified.
Content sizeThe size of the file in bytes.
Content URLReturns the URL if the file is a link.
DescriptionA description of the file.
Download URLA URL from which you can download the file.
External document URLThe URL to external documents about the file.
External file permission informationPermissions information for the external file.
File assetA reference for the file asset object.
File extensionThe file extension. For example: .pdf, .docx, .png
File typeThe type of file.
Flash rendition statusSpecifies if a flash preview version of the file has been rendered.
IDThe file's Salesforce ID.
Is in my file syncIndicates whether the file is synced with Salesforce Files Sync.
Is major versionIndicates whether the file is a major version.
Mime typeThe file's MIME type.
Modified dateThe date the file was last modified.
My subscriptionThe subscription status of the file.
NameThe name of the file.
OriginSpecifies the file source. Responses include Chatter and Content.
OwnerAn object containing information about the file owner, such as their Company name, ID, and Is active status.
Page countThe number of pages in the file, if applicable.
Parent folderAn object containing information about the parent folder of the file, such as its ID and URL.
Pdf rendition statusIndicates whether a PDF preview version of the file has been rendered.
Publish statusSpecifies the publish status of the file. PendingAccess indicates the file is pending publishing, PrivateAccess indicates the file is private, and PublicAccess indicates the file is public.
Rendition URLA URL to the rendition for the file.
Rendition URL 240 by 180A URL to the 240 x 180 rendition resource for the file.
Rendition URL 720 by 480A URL to the 720 x 480 rendition resource for the file.
Repository file IDThe Salesforce ID for the repository file.
Repository file URLA URL to the repository file.
Sharing optionSpecifies the sharing settings for the file. Responses include Allowed and Restricted.
Sharing roleThe sharing role of the file. Responses include Admin, Collaborator, Owner, Viewer, and WorkspaceManaged.
Text previewA text preview of the file, if one is available.
Thumb 120 by 90 rendition statusSpecifies the rendering status of the 120 x 90 preview image of the file.
Thumb 240 by 180 rendition statusSpecifies the rendering status of the 240 x 180 preview image of the file.
Thumb 720 by 480 rendition statusSpecifies the rendering status of the 720 x 480 preview image of the file.
TitleThe title of the file.
TypeThe type of object uploaded.
URLThe URL of the file.
Version numberThe version number of the file.

Last updated: