File upload using File Upload Screen Component in Flow(Screenflow)

Now we can easily upload a file in Screenflow without a single line of code using the File Upload Screen component(Point and click method)

Below are the steps to create a screen flow with File Upload component

Step 1: Go to Setup → Process Automation → Flows

Create the below variables

Flow variables and its purpose

Step 2: Create a new Screen

New Screen

Step 3: To add File Upload Screen component to the screen

Drag the File Upload component to the screen

File Upload Screen component

Check the checkbox ‘Manually assign variables (advanced)’

Step 4: Click on Done once all screen component added

Step 5: Save the flow

Flow Name: Screen Flow with File Upload Component

Step 6: Activate the flow

Go to Setup → Process Automation → Flows → Screen Flow with File Upload Component

In the drop-down click on ‘View Details and Version’

Activate Flow

Click on ‘Activate’

Step 7: Create a new Action under

Go to Setup → Object Manager → Opportunity → Buttons, Links and Action

New Action

Click on ‘New Action’

Save the file

Click Save

Note: We can able to Action under any object and the current record id will be passed to ‘{!recordId}’ flow variable

Step 8: Go to Opportunity page layout and add the new Action to Opportunity Layout

Step 9: Go to the Opportunity record

Click on ‘Screenflow with file Upload’

Click on ‘Upload Files’
Select the file to upload
Click on ‘Done’

Click Finish

File has been attached under the Opportunity

Step 10: Now we successfully upload a file in screen flow without a single line of code

--

--