Kütüphane / E-posta Otomasyonu
E-posta Otomasyonu
Dispatch snow and ice crews from forecasts with Open-Meteo, GPT-4o and Gmail
On a schedule, it handles email with OpenAI / ChatGPT using Gmail, Google Sheets, Telegram.
Ne yapar
## 09-13-01 dispatch snow and ice crews from the weather forecast ### How it works Every three hours, or when you hit the manual check webhook, the workflow reads your site list from Google Sheets and pulls a two day Open-Meteo forecast for every property. Rows missing an id, coordinates, a trigger or a contact email are rejected to the admin inbox, Telegram and the Errors tab, so bad rows are never checked. A rules node compares the next 12 hours of snowfall, freezing rain and temperature against each site's own trigger. Sites that cross it go into one AI pass that writes a crew brief, a storm summary and a short client notice per site. Each dispatch is logged, emailed to the crew lead, emailed to the property contact and posted to Telegram. Your crew marks a site clear on the confirmation webhook: the dispatch row is updated with the time to clear and the salt used, the client gets a completion notice and the owner gets a Telegram confirmation. A daily sweep finds dispatches still open after six hours and nudges you, or reports that every site is confirmed. ### Setup steps - Create a Google Sheets workbook with four tabs: Sites, DispatchLog, CheckLog and Errors. - Add each property with its coordinates, priority, snow trigger in cm, ice flag, crew email and contact email. - Connect Google Sheets, Gmail, Telegram and an OpenAI compatible chat model, then set the crew, admin and owner addresses. ### Customization - Change the poll interval, the 12 hour look ahead and the six hour follow up window. - Edit the assistant system message to match your own dispatch language and service promises.
Adımlar
- Poll Weather Every 3 Hours
- Run Weather Check Now
- Crew Marks Site Done
- Run Dispatch Follow Up Now
- Daily Unconfirmed Dispatch Sweep
- Read Site Registry
- Validate Site Rows
- Site Row Valid?
- Build Invalid Site Alert
- Alert Invalid Site On Telegram
- Email Site Admin About Invalid Row
- Log Site Error
- Fetch Site Forecast
- Evaluate Dispatch Rules
Toplam 42 adım.
Benzer otomasyonlar
Uyarılar ve BildirimlerOpen-Meteo ile mağaza hava durumu uyarıları hazırla; Claude taslaklarını Slack'e gönder14 adımYapay Zekâ Ajanları ve AsistanlarOpenAI ve Open-Meteo ile Hava Durumu Sorularını Yanıtlama6 adımKod, Git ve Geliştirici AraçlarıProvide normalized weather forecasts with WeatherAPI and Open-Meteo5 adımYapay Zekâ Ajanları ve AsistanlarOpenAI ve Open-Meteo ile hava durumu tahmini sohbet ajanı27 adım