Download the same report for every client in a Google Sheet
How to download the same report for every client in a Google Sheet: install the Chrome extension, click Build with Browser agent, tell the agent where the list of clients is and which Drive folder the reports go in, and follow its prompts. A working bot is built and tested in minutes.
Here is how the automation works. To download a report for every client, a Read data from a Google Sheet step reads the list, and a Loop through data step takes the clients one at a time. Inside the loop, Go to page opens the client's report page and Download a file to Google Drive saves the file, named after the client. One run collects the whole list, which suits an agency or anyone with several accounts on the same web app.
Build the client report download from a description
Describe it and click the button: the agent builds and tests the client 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 run is signed in.
- Read the list of clients from my Google Sheet
- Open the report page for each client
- Download the report to my Google Drive folder
- Name each file after the client
You need a Google Sheet with a header row, the client's name in the first column and the address of that client's report page in the second, and a Google Drive folder for the files. Try the run on two or three rows before the whole list.
What the agent does when you click the button
The agent opens a browser in the cloud, asks for the sheet of clients and the Google Drive folder, then builds the steps in the no-code builder and saves them, ready for you to run.



Build the client 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
Read data from a Google SheetSpreadsheet: your sheetSheet name: ClientsFirst cell: A2
- 2.0
Loop through data- repeats for every row in
[google-sheet-data]
- 2.1
Go to pageURL: the report page column of[google-sheet-data]
- 2.2
Download a file to Google DriveSelect: the report's download linkGoogle Drive folder URL: the folder the reports go inFile name: the client column of[google-sheet-data]
- repeats for every row in
Common questions about downloading a report for every client
Why does the client report download stop part way through the list?
A failed step ends the run, so one client whose page has no report stops the rest. Wrap the steps inside the loop in a Try step to skip that client and carry on.
Why is every client's file the same report?
The report page is the same address for every client, and the web app switches client from a menu. Replace the per-client address with a Click element step on the account menu and an Enter text step that types the client's name from the sheet, or ask the agent to build the switch.
Why does the bot try to download a report for the header row?
First cell on the Read data from a Google Sheet step is at its default of A1, so the header is read as a client. Set it to A2.
How do I download the reports when each client has its own login?
Save a credential for each client and build one automation per login, or log out and in inside the loop. One login that can see every client is simpler and more reliable.
How do I run only the clients that have not been done?
Write Done back to the client's row after the download and skip marked rows on the next run. See mark Google Sheet rows as done.
Can I put the date in each client's file name?
Yes. Add a Date and time step and insert its date after the client's name in File name, in a format with hyphens.
Can I set the date range for each client's report?
Yes. Add the date steps inside the loop, before the download. See set a report's date range automatically.
Can the client reports download on a schedule?
Yes. Set a schedule and the run happens in the cloud with your computer off. See download a report from a website to Google Drive on a schedule.
Can I download a report for every client without code?
Yes. The automation is built from the four lines above with no code, and adding a client is adding a row to the sheet.
Where do I get help?
Get in touch with support, or ask in the axiom.ai community.
Related guides
Download a report from a website to Google Drive on a schedule
- Go to the report page I give you
- Download the report to my Google Drive folder
- Schedule my bot
Fill a Google Form on a schedule from a CSV file
- Read the rows from a CSV file on my computer
- Open my Google Form for each row
- Fill in each question from the row
- Submit the form and go to the next row
- Schedule my bot
Scrape a report table into a Google Sheet every day
- Go to the report page I give you
- Scrape every row of the report table
- Do every page of the table
- Add the rows to my Google Sheet
- Schedule my bot