Библиотека / Автоматизация эл. почты
Автоматизация эл. почты
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.
Что делает
## 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.
Шаги
- 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
Всего шагов: 42.
Похожие автоматизации
Оповещения и уведомленияПодготовка оповещений о погоде для магазинов: Open-Meteo и черновики Claude в SlackШагов: 14ИИ-агенты и ассистентыОтветы на вопросы о погоде с OpenAI и Open-MeteoШагов: 6Код, Git и инструменты разработчикаProvide normalized weather forecasts with WeatherAPI and Open-MeteoШагов: 5ИИ-агенты и ассистентыЧат-агент прогноза погоды с OpenAI и Open-MeteoШагов: 27