This lesson will cover the following topics:

02 | Setup
05 | Mapping
07 | Preview

01 Getting Started

This tutorial covers how to upload files to a single record.

02 Setup

A simple web project was created consisting of the following elements:

  • Lookup - Configured to pull the Contact Object in Salesforce.
  • File Uploader - Configured to push the uploaded file to the Salesforce contact.
  • Button - Configured to push the files to Salesforce when clicked.
  • Table View Table - Configured to display the contact’s associated files.

03 Salesforce Push

1. Click the Project Settings gear icon and select the Salesforce tab.

Salesforce tab found under the project settings tab

2. Click Create New under the Push tab.

Create New Push

04 Object Settings

Configure the following:

  • Object - Content Version/Files
  • Action - Create
  • Description - Upload file to Salesforce
Map Salesforce fields object settings tab

05 Mapping

Map the following:

  • Version Data - Choose File/File
  • First Publish Location ID - Lookup Contact Value

Map Salesforce fields mapping tab

You can also choose to configure a custom title for the file upload.

06 Invoking the Push from a Button

Now that the push has been configured, we will need to assign it to an interactive element to invoke the push action.

1. Select the button you want to assign the action to and click the Interactivity icon in the button menu.

Button menu with the interactivity icon highlighted

The On Click Action window opens.

2. Click the Start + icon, choose Salesforce Action as the node, and click Next.

On click action window with add node screen overlayed

3. Use the dropdown to select the configured Salesforce push. Click Next.

Note: The dropdown will display the description entered for the push. This is why we recommend giving each action a description as it allows you to easily choose the correct action.

Chosen Salesforce action

4. Enter a Tag and click Insert.

07 Preview

A user can find a contact in Salesforce, upload a file to the project, then click the “Submit” button.

Preview of the project setup

08 Got Feedback?

Additional Resources