Библиотека / Оповещения и уведомления
Оповещения и уведомления
Подготовка оповещений о погоде для магазинов: Open-Meteo и черновики Claude в Slack
Запускается каждый день после обеда, читает адреса магазинов из Google Sheets, проверяет прогноз Open-Meteo на дождь, жару или холод, поручает Claude составить списки подготовки для персонала и сообщения для клиентов, которые проверяет код, и публикует по одному сообщению в Slack на каждый магазин.
Что делает
## Rain, heat or cold ahead? Tell each store in time Every afternoon the workflow reads the free Open-Meteo forecast (no key) for each store in your Stores tab. Code flags the days with rain, heavy rain, heat or cold, using your limits. For the flagged stores, Claude writes a short prep list for the staff and a draft message for customers, and code checks both: every temperature, probability, amount and date must be in the forecast, the customer draft must fit your length and avoid your banned words. Slack gets one message per store. ### How it works 1. Read the stores (name, lat, lon, notes, contact). A wrong coordinate stops the run with a clear message. 2. One forecast request per store (default 3 days). Code turns the flagged days into numbered facts. 3. Claude writes with the fact ids it used; checks mark anything that fails with a warning. ### Setup 1. Blank Google Sheet: paste its ID in Spreadsheet ID, run Run once, select the sheet in the Google Sheets node. 2. Fill the Stores tab (right-click a place in Google Maps to copy lat and lon). 3. Credentials: Google Sheets, Anthropic, Slack (pick a channel). 4. Set the limits, language, time zone and banned words in Config. Publish. ### Note Forecasts can be wrong. Read the customer draft before you send it.
Шаги
- Every day at 15:00
- Run now
- Config
- Read Stores tab
- Check the stores
- Get forecast (Open-Meteo)
- Find weather events
- AI: Write prep and message
- Check the texts
- Post to Slack
- Run once: set up the sheet
- Add the Stores tab
- Write the header row
- Spreadsheet ID
Похожие автоматизации
ИИ-агенты и ассистентыЧат-агент прогноза погоды с OpenAI и Open-MeteoШагов: 27ИИ-агенты и ассистентыОтветы на вопросы о погоде с OpenAI и Open-MeteoШагов: 6Мониторинг, эксплуатация и инцидентыWrite multilingual weather articles with Open-Meteo, Claude, and OpenAIШагов: 57Мониторинг, эксплуатация и инцидентыDiagnose solar production losses with SolarEdge, Open-Meteo, Gemini, Postgres, Jira andШагов: 21