Skip to content

Daily

Get alerts for upcoming dates in a sheet

You're emailed when a date in your sheet is coming up or a value crosses a limit.

Runs
Daily
Apps
Google Sheets
AI
Not needed
Access
read

Send this to your assistant

Create a ClickRuntime automation: every morning, check my Certificates sheet and email me any row whose Expiry date is within 14 days. Don't alert me about the same row twice.

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

Plenty of important deadlines live in a spreadsheet column: a licence that expires on 14 March, a contract renewal date, a stock level that should never fall under 20 units, a budget line approaching its cap. The sheet holds the data but cannot tap anyone on the shoulder. So the renewal gets noticed the week after it auto-renewed, or the stock count is discovered at zero when an order comes in.

Each day the chosen range is read and rows are filtered by your condition, for example a date within the next 30 days or a value below a limit. Matching rows are emailed to you in a single message, and rows already reported are remembered so you are not told about the same item every morning.

It fits equipment, certifications, domains, vendor contracts, inventory and anything where someone currently says they will check the sheet on Monday.

What you get out of it

  • Deadlines stop passing unnoticed

    A visa, certification or contract date arrives in your inbox weeks ahead. That is the gap between a planned renewal and an emergency one with a late fee, a lapsed insurance cover or a stopped service.

  • Stock-outs caught before customers feel them

    A quantity falling under its minimum reaches the person who can reorder, while there is still time for the supplier lead time to matter. A two-week lead time only helps if you hear about the shortage at least two weeks ahead.

  • One email instead of daily scanning

    Matches are bundled, so you read a short list rather than conditional-formatting colors across a long sheet. The sheet becomes a source of truth, not a chore. Reading takes seconds, and you can scroll straight to the item that needs action.

  • No repeat nagging

    Because already-alerted rows are remembered, the daily email contains only what is newly relevant. People keep reading alerts that are rarely noise. The one email that matters is the one you actually open.

  • Rules written in plain words

    The condition is a threshold or a date window you can state in a sentence, so a non-technical owner of the sheet can understand and adjust what triggers a warning. Nothing is buried in a script that only one developer understands.

How it works

What happens, step by step

  1. Every day ClickRuntime reads the dates in your Google Sheet, such as certificate or contract expiry dates.

  2. It picks out anything that expires in the next 14 days.

  3. It skips items it has already warned you about.

  4. You get an email listing each item and its expiry date.

Before it runs live

  • Connect your Google Sheets account and pick the spreadsheets it may use

What you get

RunsDaily
Get alerts for upcoming dates in a sheettoday, 9:00Succeeded
Email · 2 certificates expiring soonapi.northwind.example: expires 2026-10-28 Acme SOC 2 report: expires 2026-11-01

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 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.
threshold_date_alert_from_a_column.pyexample
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from datetime import date, timedelta
from clickruntime import on_trigger, credentials, state, notify

SHEET_ID = "your-spreadsheet-id"

@on_trigger
def run(event):
    sheets = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).spreadsheets()
    rows = sheets.values().get(spreadsheetId=SHEET_ID, range="Certificates!A2:B").execute().get("values", [])
    alerted = set(state.get("alerted") or [])
    soon = date.today() + timedelta(days=14)
    lines = []
    for name, expiry in (r for r in rows if len(r) > 1):
        key = f"{name}:{expiry}"
        if key not in alerted and date.fromisoformat(expiry) <= soon:
            lines.append(f"{name}: expires {expiry}")
            alerted.add(key)
    if lines:
        notify.email_me(f"{len(lines)} certificates expiring soon", "\n".join(lines))
        state.set("alerted", sorted(alerted))
    return {"alerted": len(lines)}

FAQ

Common questions

What kinds of conditions can it check?
Typical ones are a number below or above a limit, a date within a set number of days, or a cell equal to a certain status. Anything you can describe in one sentence about a single row works as a filter, including combinations such as both a low stock count and a supplier name.
What if the same row stays under the limit for weeks?
It is reported once and remembered, so you are not emailed daily about the same row. If you want a weekly reminder for unresolved items instead, that is a specific change you can request and approve.
Does the date column need a special format?
Real date values work best, whether typed as dates or produced by a formula. Text that only looks like a date, such as 14th March, may not compare correctly, so convert such cells to proper dates first.
What permissions does it need?
read. 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 “Get alerts for upcoming dates in a sheet” from your assistant

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