Screenshot a list of websites to Google Drive


How to screenshot a list of websites to Google Drive: install the Chrome extension, click Build from description, tell the agent what you want, and follow its prompts. A working bot is built and tested in minutes.

Here is how the automation works. To screenshot a list of websites to Google Drive, read the links from a Google Sheet with Read data from a Google Sheet, open each one inside Loop through data, and save the page with Save screenshot to Google Drive. A Date and time step gives today's date, and Find row in a Google Sheet with Write data to a Google Sheet writes it into column B of the link's own row, so the sheet shows when each site was last captured. Because the screenshots go to Drive, the automation runs in the cloud and can be scheduled. To save them to a folder on your computer instead, see screenshot a list of websites from a Google Sheet.

Author
Alex Barlow
Published

Build the website screenshots from a description


Describe it and click the button: the agent builds and tests the screenshot automation in your Chrome extension.

  1. Open each website link in column A of my sheet
  2. Save a screenshot of the page to my Drive folder
  3. Write today's date in column B of the same row
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 Sheet with one website link per row in column A and column B empty, and a folder in Google Drive for the screenshots. Both must be on the Google account connected to Axiom. Leave the sheet alone while the run writes the dates into column B.

Build the website screenshots 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 Sheet
    • Spreadsheet: your sheet
    • Sheet name: Website links, the tab with one link per row in column A
  • 2.0 Loop through data
    • repeats for every row in [google-sheet-data]
    • 2.1 Go to page
      • URL: column A of [google-sheet-data]
    • 2.2 Save screenshot to Google Drive
      • Google Drive folder URL: the link to the Drive folder
      • File name: leave blank, or column A of [google-sheet-data] to name each file after its link
      • File type: JPEG or PNG
    • 2.3 Date and time
      • Select date: Current
      • Select format: a date format, such as YYYY-MM-DD
    • 2.4 Find row in a Google Sheet
      • Spreadsheet: your sheet
      • Sheet name: Website links
      • Values (comma separated): column A of [google-sheet-data]
      • Exact match: on
    • 2.5 Write data to a Google Sheet
      • Spreadsheet: your sheet
      • Sheet name: Website links
      • DATA: [date-and-time]
      • Write options: Add to existing data
      • Starting cell: B[find-row-google-sheet], the found row from column B

Common questions about screenshotting websites to Google Drive


How do I screenshot the same websites every day?

Save the automation, open its settings and set a schedule. The run happens in the cloud, so your computer can be off. Each run writes that day's date over the last one in column B, so the sheet always shows when each site was last captured, and the Drive folder keeps every screenshot.

Where do I get the Google Drive folder URL?

Open the folder in Google Drive and copy the address from the browser's address bar. It looks like https://drive.google.com/drive/folders/.... The folder must belong to, or be shared with edit access to, the Google account connected to Axiom.

How do I tell the screenshots apart?

Set File name on Save screenshot to Google Drive to column A of [google-sheet-data], and each file is named after its link. Left blank, Drive names each file for you.

How do I screenshot only a set number of websites?

Set Last cell on Read data from a Google Sheet. For example, A100 reads the first 100 rows, so the run takes 100 screenshots.

Why are the screenshots not appearing in Drive?

Check that the folder is on the Google account connected to Axiom and that the account can edit it. When a run fails, hand it to the agent and it repairs the step.

Why does the date land in the wrong row?

Two links are too alike for a partial match. In Find row in a Google Sheet, turn on Exact match.

Can I restart the run where it stopped?

Yes. Column B shows which links have a date, so the ones still empty are left to do. Move the finished rows out of the way, or set First cell on Read data from a Google Sheet to the first row without a date, and run again.

Can I save the screenshots to my computer instead?

Yes. Swap Save screenshot to Google Drive for Save screenshot locally and pick a folder. That version runs in the desktop app rather than the cloud: see screenshot a list of websites from a Google Sheet.

Can I scrape the websites as well as screenshot them?

Yes. Add Get data from bot's current page inside the loop, after the screenshot, and write it beside the date by changing the letter in Starting cell. See scrape data from a list of pages.

Where do I get help?

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

Related guides