Upload File
Upload files to webpage input fields. Use this action to handle file uploads in forms, submit documents, or process media uploads in your automation workflow.
Inputs
☐ Prompt / Description (Required)
A clear and concise instruction describing what this step should do. This helps the AI debug and re-locate the element if needed.
Good Example: "Upload the user's profile picture to the file input field."
Bad Example: "Make sure a file gets uploaded somewhere in the form."
Why it’s bad? Too vague, lacks specificity about which file and which input field to use.
☐ Element Selector (Required)
Define the file input field where the file should be uploaded using one of the following methods:
CSS Selector
Use standard CSS selectors to identify the element.
XPath
Use an XPath expression to precisely locate the element.
☐ File Reference (Required)
The file to be uploaded must be referenced from the workflow:
- Can be a static file path
- Can be a dynamic reference based on workflow data
- Must be accessible by the automation
Usage Example
Notes
- The Prompt / Description is required to help AI debug and adjust the file upload if needed.
- The file input element must be an actual
<input type="file">
element. - Some custom upload buttons may require additional event triggering.
- Ensure the referenced file path is valid and accessible by the automation.