Skip to content

Daily

Copy a table from a web page into a sheet every morning

Each morning the listings on a page you choose are added to your Google Sheet, and you get the same rows by email as a CSV.

Runs
Daily
Apps
Gmail, Google Sheets
AI
Not needed
Access
Sheets read+write (only the sheets you pick when connecting); Gmail gmail.send

Send this to your assistant

Create a ClickRuntime automation: each day at 8am, take the listings table on this page, add the rows to my Google Sheet and email me the CSV.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A property buyer checks the same listings page every morning, copying new entries into a spreadsheet to compare prices over time. Miss a few days and the history has gaps; do it by hand and it takes twenty minutes before the working day has started.

This automation reads the table on the page every morning, adds the rows to your sheet with the date, and emails you a CSV of what it found. You get a growing history without visiting the page.

What you get out of it

  • A history the page itself does not keep

    Most listing and price pages only show today. Saving a copy each day lets you see how prices, stock or rankings changed over weeks.

  • Same time, same format, every day

    Rows arrive in a consistent shape at a fixed time, which makes charts and formulas in the sheet reliable.

  • The data in your inbox too

    The CSV email is a quick read on your phone and a backup copy if the sheet is edited by mistake.

  • Frees up the first part of the morning

    Copying rows by hand is small but daily. Removing it gives back time and removes typing errors.

How it works

What happens, step by step

  1. Every day at 8am ClickRuntime opens the web page you chose and reads the table on it.

  2. Each row is stamped with today's date.

  3. The rows are added to the bottom of your Google Sheet.

  4. You get an email with the same rows attached as CSV text.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect your Google Sheets account and pick the spreadsheets it may use

What you get

RunsDaily
Copy a table from a web page into a sheet every morningtoday, 9:00Succeeded
Email · Daily listingsListings for 19 Oct: 37 rows. 2026-10-19, 14 Harbour Rd, $412,000, 3 bed …

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Run it at a different time, more or less often, or only on weekdays
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Gmail and Google Sheets steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
scrape_a_web_page_into_a_sheet_and_email_the_csv.pyexample
import csv, io
from datetime import date
from bs4 import BeautifulSoup
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, notify

URL = "https://listings.example.com/today"
SHEET_ID = "your-spreadsheet-id"

@on_trigger
def run(event):
    soup = BeautifulSoup(http.get(URL).text, "lxml")
    table = soup.find("table")
    if table is None:
        raise RuntimeError("No table found on the page")
    rows = [[date.today().isoformat()] + [c.get_text(strip=True) for c in tr.find_all("td")]
            for tr in table.find_all("tr") if tr.find_all("td")]
    sheets = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
    sheets.spreadsheets().values().append(spreadsheetId=SHEET_ID, range="Listings!A:Z",
                                          valueInputOption="USER_ENTERED", body={"values": rows}).execute()
    buf = io.StringIO()
    csv.writer(buf).writerows(rows)
    notify.email_me(f"Listings for {date.today()}: {len(rows)} rows", buf.getvalue())
    return {"rows": len(rows)}

FAQ

Common questions

What kind of pages work?
Pages that show data in an HTML table or a regular list, such as listings, price lists or rankings. Pages that need a login or build their content only in the browser may not work.
Will rows be duplicated in the sheet?
Each day's rows are added with the date, so the sheet keeps a daily snapshot. If you only want new rows, it can skip rows it has already saved.
What if the page layout changes?
If the table can no longer be found, the run reports it as failed in your ClickRuntime dashboard instead of saving empty or wrong rows.
What permissions does it need?
Sheets read+write (only the sheets you pick when connecting); Gmail gmail.send. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (daily). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Copy a table from a web page into a sheet every morning” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.