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

Scenario: Uploading a profile picture

✅ Good Prompt:

“Upload the user’s profile picture to the file input field.”

✅ Good Element Selectors:

CSS Selector: input[type="file"]

XPath: //input[@type='file']

✅ File Configuration:

  • File Reference: {{ profile_picture_path }}

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.