ZeroWork
  • 👋Home and Welcome
  • 🚀Getting Started
  • ⬇️Install the Agent
  • 🧑‍💻Crash Course
  • Using ZeroWork
    • 🖥️General: Run, Schedule, Share, Webhooks
      • Run
      • Stop
      • Log in to the Agent
      • Run Modes
        • Run Incognito
        • Run Non-Incognito
        • Run in My Regular Browser
      • Run Settings
        • Run in Background
        • Stay on Page after Run
        • Bring Pages to Front
      • TaskBot Sharing Options
      • Cookies
      • Scheduler
      • Trigger Run via Webhook
      • Proxies
      • Remote (Cloud) Execution
      • How to Check and Update Your Agent
      • Install ZeroWork Agent on VPS
    • 📔Using Selectors
      • What Are Selectors
      • Use Element's Text
      • Copy Selectors
      • How to Build Custom Selectors
        • Basic Concepts of Selectors
        • One Element Can Have Many Selector Expressions
        • Check if Selector Is Correct and Unique
        • Exact or Loose Match
        • Hierarchy
        • Combine Filters with Standard CSS Logic
        • Lists: Incremental CSS Selectors
        • Addressing Siblings
      • How to Use XPath in ZeroWork (advanced)
    • 🏗️Using Building Blocks
      • Open Link
      • Save Page Url
      • Switch or Close Tab
      • Go Back or Forward
      • Switch Frame
      • Browser Alert
      • Click Web Element
      • Check Web Element
      • Save Web Element
        • Save Lists
        • Enrich Existing Data
        • Stop Run If Selector Is Not Found Option
      • Insert Text or Data
      • Hover Web Element
      • Select Web Dropdown
      • Keyboard Action
      • Start Condition and Set Condition
        • Actions = & ≠
        • Actions <, ≤, >, ≥
        • Data Found & Data not Found
        • Contains & Does Not Contain
        • Before (Date) & After (Date)
      • Start Repeat
        • Standard Loop
        • Dynamic Loop
        • Continue until No Element Is Found
        • Auto-Scroll
        • Auto-Continue from Last Row or Element
        • Nested Loops - Handle Pagination
      • After Repeat
      • Break Repeat
      • Try-Catch
      • Raise Error
      • Abort Run
      • Update Data
      • Number Operations
        • Example: Standardize different formats
      • Format Data
        • Remove Words
        • Shorten Content Length
      • Split Data
      • Apply Regex
      • Remove Duplicates
      • Delete Data
      • Ask ChatGPT
      • Send Notification
      • APIs: Send HTTP Request
      • Write JavaScript
      • Save File
      • Upload File
      • Delay
      • Record Date
      • Take Screenshot
      • Save from Clipboard
      • Log
      • Building Block Options
        • Delay Times between the Building Blocks
        • Randomize Delay Time
        • Deactivate Building Blocks
        • Shortcuts
        • Spintax
        • Auto-Align
        • Sticky Notes
    • 🔀Using Variables
    • 💿Using Tables
      • How to Add Tables
      • Native Tables
      • Google Sheets
      • Import Data from CSV
      • Using Google Sheet vs. Native Tables
      • Create Columns
      • Export Data as CSV
      • Convert Native Table to a Google Sheet
    • 📄Using Run Reports
    • 😑Common Problems
      • My TaskBot Does Not Start Run
      • When I Use Data from Table, No Data is Being Pulled
      • Website is Glitching and Flashing
      • No Selector is Found
      • My TaskBot Saves Some Data but Not All
      • Data Is Saved in Wrong Format
      • Website Requires SMS or Email Verification
      • Keyboard Action Is Not Working As Expected
      • Check Web Element Identifies Selector as Found but Next Action Does Not
      • When Using Insert Data Block, First Letters Are Cut Off
      • Workflow Has More than One Starting Building Block
      • TaskBot Does Not Automatically Scroll
  • Support
    • 🆘Getting Support
  • 🆕Release Notes
    • Version 1.1.61
    • Version 1.1.62
    • Version 1.1.63
    • Version 1.1.64
    • Version 1.1.65
    • Version 1.1.66
    • Version 1.1.67
    • Version 1.1.68
Powered by GitBook
On this page
  • Step 1: Trigger the Upload Action
  • Step 2: Select File Source Option
  • FAQ

Was this helpful?

  1. Using ZeroWork
  2. Using Building Blocks

Upload File

PreviousSave FileNextDelay

Last updated 6 months ago

Was this helpful?

The Upload File building block allows TaskBot to upload files from either a direct file URL or a local folder on your computer.

Step 1: Trigger the Upload Action

Before using the Upload File building block, ensure that the upload action is initiated. Typically, you’ll need to add a building block that clicks the upload button, as shown below.

The system dialog to select files (file chooser) will not be visible to you if you watch your TaskBot run. Your TaskBot will handle it 'behind the scenes'.


Step 2: Select File Source Option

Choose where TaskBot should get the file from. Select one of the following options:

  1. From file URL If you have a direct URL for the file, enter it in the provided field. This option allows TaskBot to fetch the file from an online source directly.

  1. From folder path Use this option to upload a file from your local machine. Enter the full file path.


FAQ

How do I get folder path?

Here are instructions for Mac, Windows and Linux.

  1. On Mac

  • Select a folder and perform a right-click.

  • When the context menu appears, hold the Option key on the keyboard.

  • Copy “File-name” as Pathname option will appear in the context menu. Click it to copy the full file path to the clipboard.

  1. On Windows

  • Open File Explorer and navigate to the folder you want.

  • Click once in the address bar at the top of the File Explorer window. This will show the full path as text.

  • Right-click the highlighted path and select Copy. You can then paste this path wherever you need.

  1. On Linux

  • Open the file manager (e.g., Nautilus for GNOME, Dolphin for KDE).

  • Navigate to the file you want to use.

  • Right-click the folder, select Properties or Get Info, and copy the Location or Path shown in the details.

Is there a way to add the file manually?

You can add a file column or variable and upload your file to it. Select option Upload from file URL in the Upload File building block to reference to that file column or variable.

🏗️