The Set File block uploads or defines a file as an input so it can be used by downstream blocks in an automation flow (for example, attaching a PDF to an email or passing a file to another block for processing). Available from 2025.1 onward.
When fully expanded, the following is an example of the Set File block with sample data:
Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.
Quick-start
-
Drag Set File onto the canvas.
-
Connect the block in the flow and specify Source type and the corresponding file input (for example select a file when using Data file or Local path).
-
Run the flow when it’s ready.
Building block parameters
Resources
|
Topic |
Description |
|---|---|
|
Common questions about creating, running, and managing flows in Leapwork. |
|
|
Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |