Flow Actions
Screen Flow Elements
Internal Widget
introduction this article explains how to set up the internal record widget inside a salesforce screen flow to support custom business requirements it walks through the steps required to add and configure the widget in a flow so internal users can access and manage files related to salesforce records to learn more about the internal record widget, see docid\ ljncbhg 02nijtryuxcbc 1\ create a screen flow create a screen flow and implement your business requirements before displaying the cloudfiles widget on a screen next, create a variable named recordid with the following configuration set data type to text set available for input to true so the flow can dynamically receive the record id set allow multiple values (collection) to false 2\ add widget to screen flow add a screen element to the flow inside the screen, search for cloudfiles , then drag and drop the cloudfiles widget onto the screen configure the widget by passing the following values record type – enter the api name of the object (e g account ) record id – pass the {!recordid} variable created earlier widget type enter attachments text as input this allows the widget to load files and folders linked to the current salesforce record 3\ save and activate the flow once the flow configuration is complete, save the flow and activate it make sure all required inputs are properly configured so the widget can receive the correct record context when the flow is launched 4\ place the flow on a record page go to the record page of the relevant object, click the gear icon, and then select edit page from the components panel, search for flow , then drag and drop it into the desired location on the page next, select the flow that you created with the widget so it is displayed on the record page once you have finished, save and activate the record page you will then be able to see the screen flow with the cloudfiles widget on it result this is how the widget appears inside the screen flow users can perform all the same operations available in the internal widget