Download a report from a website to Google Drive on a schedule

How to download a report from a website to Google Drive on a schedule: install the Chrome extension, click Build with Browser agent, tell the agent which page the report is on and which Drive folder it goes in, and follow its prompts. A working bot is built and tested in minutes.

Here is how the automation works. To download a report to Google Drive, a Go to page step opens the web app and a Download a file to Google Drive step saves the file to your folder. A schedule on the automation runs it in the cloud, so the report is in Drive before you start work.

Author
Alex Barlow
Published

Build the scheduled report download from a description


Describe it and click the button: the agent builds and tests the report download in your Chrome extension. See automate reporting for everything a reporting bot can do. A report behind a login needs a stored session or a saved login, so the scheduled run is signed in.

  1. Go to the report page I give you
  2. Download the report to my Google Drive folder
  3. Schedule my bot
Click to launch the Chrome extension. Not installed? You can create an account and try it free.Opens the Chrome extension. Free account to try.

You need a Google Drive folder for the reports and its URL, and the address of the page the report is on. The file can be up to 250 MB.

What the agent does when you click the button


The agent opens a browser in the cloud, asks for the report page and the Google Drive folder, then builds the steps in the no-code builder and saves them, ready for you to run.

The Chrome extension's new automation panel with the four lines describing the scheduled report download: go to the report page I give you, click the button that generates the report, download the report to my Google Drive folder, schedule my bot, and the Build with Agent button
1.Describe the report download to the Browser agent and click Build with Agent.
The Browser Agent beside the report page in a cloud browser, saying the page has 22 PDF links, asking which report the automation should download to Google Drive with the reports listed as options, and noting that the schedule is set in the axiom.ai app
2.The agent finds the report files on the page and asks which one to download. It also says the schedule is set afterwards, in the automation's settings.
The report download open in the no-code builder with two steps, Go to page and Download a file to Google Drive, beside the Browser Agent's setup complete report saying the automation is saved and its test run succeeded
3.The agent confirms the bot is built and tested. This report is a direct link, so the bot needs two steps: open the page and download the file to Google Drive.

Build the scheduled report download step by step


The steps the agent builds, as the Builder shows them: each step by its name, with the fields to set under it. Add them yourself in this order in the step-by-step builder, or open the agent's result there to adjust it.

  • 1.0 Go to page
    • URL: the page the report is on
  • 2.0 Download a file to Google Drive
    • Select: the report's download link
    • Google Drive folder URL: the folder the reports go in

Common questions about downloading a report to Google Drive


Why did the scheduled report download fail on the login page?

The cloud run was not signed in. A scheduled run starts in a clean browser, so the report page sent it to the login. Store the site's cookie on the Go to page step, or add a login with a saved credential, and the run opens the report signed in.

Why did the report not download to Google Drive?

The download did not start in time, or the report opened in the browser instead of downloading. Raise Download start wait time on the Download a file to Google Drive step for a slow export, and turn on Force download for a PDF that opens in a tab.

What if the report has to be generated before it can be downloaded?

Add a Click element step on the button that generates the report and a Wait step after it, before the download, or ask the agent to add them. Wait time is in milliseconds, so 10000 is ten seconds. A report that downloads empty or incomplete needs a longer wait.

Why does each run overwrite the name of the last report?

Every run saves the file under the name the site gives it. Put a date in File name with a Date and time step, in a format with hyphens, and each day's report keeps its own name.

How do I set the dates the report covers?

Add Date and time and Enter text steps before the download. See set a report's date range automatically.

Can I download a report to my computer instead of Google Drive?

Yes. Use the Download file step in place of the Drive step. The file is saved where the automation runs, so the schedule runs on the desktop app with your computer on.

Can the report open as a Google Sheet?

Yes. Turn on Auto convert on the Download a file to Google Drive step and a spreadsheet file is converted to Google Sheets. ZIP files and images are not converted.

Can I download the same report for several accounts?

Yes. List the accounts in a Google Sheet and loop through them. See download the same report for every client in a Google Sheet.

What if the website has no export button?

Read the figures off the page instead. See scrape a report table into a Google Sheet every day.

Can I automate report downloads without code?

Yes. The automation is built from the three lines above with no code; every step is picked from the builder and the schedule is a setting.

Where do I get help?

Get in touch with support, or ask in the axiom.ai community.

Related guides