How to automate uploading files

This AI bot template automates file uploads to various webpages from a Google Sheet. It reads a file path and uploads the file through a webpage's input field, simulating human interactions.

# Get started: create your Google Sheet

Create a new Google Sheet. You can do this in your Chrome browser by entering the shortcut 'sheet.new', assuming you already have an account. Name your sheet something like 'Uploads’, add file paths into column A.

# Install the File upload bot

To install this File upload bot click 'Install template'. If you’re a new user, you’ll have to click 'Install Chrome extension' and create a free Axiom.ai account before you can edit the template.

Once installed, click 'Start'.

Axiom.ai will guide you through the steps you need to configure in the app.

# Configure your File upload bot in 3 easy steps

  • Step 1.0 - Read data from Google Sheet
    • Spreadsheet - Search for the Google Sheet you created. Once found, click to select.
    • Sheet name - Choose the sheet tab with you file paths in
  • Step 2.0 - Loop through data
    • Step 2.1 - Go to page
      • Enter URL - Please enter the URL of the website where you want to upload your file
    • Step 2.2 - Upload a file
      • File Input Field - Click 'Select' to choose form element to upload the file to
      • File Path - Input the file paths by clicking 'Insert data', select 'google-sheet-data', finally select the column with the file paths
    • Step 2.3 - Wait step
      • Wait time - Pause the bot to allow the file upload to complete. Set a wait time appropriate for the file size

# Run your File upload bot

We suggest running a test first, stopping the bot after a few uploads and checking the files uploaded.

# Customize your template

Like all Axiom templates, you can use our no-code bot builder to customize any bot according to your requirements. We have other upload file steps you can use that work in the cloud and on desktop. Take a look at the upload to Google Drive step.

# Tips

We recommend you watch the video to troubleshoot.

  • Step 2.2 - Upload Files
    • Selectors fail to find the element? Try re-selecting or using custom selectors
    • Files do not upload? Check the folder permission on your computer
  • Step 2.3 - Upload does not complete? Increase the pause, to allow the file upload to complete

We offer excellent customer support. If you need help, get in touch.

# More Axiom browser automation templates