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
  • File Source
  • File Options

Was this helpful?

  1. Using ZeroWork
  2. Using Building Blocks

Save File

PreviousWrite JavaScriptNextUpload File

Last updated 6 months ago

Was this helpful?

With the Save File building block, you can save file urls or download files.

File Source

Start by choosing where to get the file from. These are the options:

  1. From file URL: Use this option if you have a direct URL to the file you want to save.

  2. From download action: This is when your TaskBot performs an action that initiates file download (like clicking a download button).

Let’s go over each option in detail.


Option 1: From file URL

  1. Enter file URL: Provide the direct URL to the file. Here is an example of a valid file URL: .

  2. Save file to folder: Enter the folder path where you want the file saved. You can make your TaskBot rename the file in File options. This is how to get the folder path:


Option 2: From download action

  1. Initiate download: Ensure your TaskBot is set up to first click a download button or take any necessary steps to initiate the download.

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

  1. Saving Options (choose one or both):

  • Save file URL to a variable or table: Select a variable or table to store the file URL from the download action. This can be useful if you want to reuse the file URL in another part of your workflow. For example, you can then use Upload File building block and reference to the file URL to get the file from for the upload.


File Options

When downloading files to you local folder, you can use File options to configure your preferences.

  • Make file name unique on conflict: Toggle this option if you want to avoid overwriting files with the same name. Whenever there is a file with the same name, your TaskBot will add a random ID to the end of the file name to make it unique (e.g., file_name_6354736148.png). If left untoggled, files with the same name in the folder will be overwritten.

  • File name (optional): Enter a custom file name if you want to rename the downloaded file. If there is already a file with the same name in your folder, then your TaskBot will either make the file name unique or overwrite the file depending on whether or not you toggled the option Make file name unique, as described above.

  • Save full file path (optional): Save the full path of the downloaded file, including the file name, to a table or variable. This can be useful if you want to reuse the file in the Upload File building block which can get the file from your folder in order to upload it.


Note: You can only save your file url or file path to a standard column / variable and cannot save it to a file column or variable. This is because Save File building block only saves the url or the path to the file whereas the file column or variable expects the 'real' file.

Save file to local folder: Enter the folder path to save the file locally. You can make your TaskBot rename the file in File options. This is how to get the folder path:

🏗️
https://wallpaperaccess.com/full/2656.jpg
How do I get folder path?
How do I get folder path?