Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

Email Automation

Watch web pages for plain-language conditions with Gemini, Sheets and Gmail

On a schedule, it handles email with Google Gemini using Airtop, Gmail, Google Sheets.

What it does

## Watch any web page for a condition you write in plain words Sold-out hotel rooms, campsites, tickets, admission notices, restocks - you know the page, you know what you are waiting for. Put the URL and the condition in one row of a sheet, and this workflow checks it on the schedule you choose and emails you once, the moment the condition becomes true. Who's it for: anyone refreshing a page by hand. One row per thing you are waiting for. Each row has its own interval, so a cancellation watch can run hourly while an admissions page runs once a day. ### How it works 1. Every hour, rows whose next check is due are picked from the Watchlist. 2. The page is fetched over HTTP. If it turns out to be rendered by JavaScript, the row is read through a real browser (Airtop) instead - automatically. 3. Gemini reads the page text and answers YES / NO / UNCLEAR, with exact quotes as evidence and a confidence score. 4. Code validates the answer (the quotes must really be in the page) and moves the row through a small state machine: the first result is only recorded; a NO that turns into a YES sends one email; a YES that turns back into NO for two checks quietly re-arms the watch; fetch failures never change the verdict. 5. Every check is appended to the Log sheet. ### Setup Copy the two-tab sheet (Watchlist, Log), put its ID and your email in Config, connect Google Sheets, Google Gemini and Gmail (and Airtop if you want browser mode), then add rows. Details in the grey Setup note.

The steps

  1. Every hour
  2. Config
  3. Read watchlist
  4. Pick rows that are due
  5. Fetch with
  6. Fetch page (HTTP)
  7. Extract text (HTTP)
  8. HTTP result
  9. Airtop: start session
  10. Airtop: open page
  11. Has open step?
  12. Airtop: click open step
  13. Airtop: read page
  14. Airtop: end session

25 steps in total.

Similar automations