Kütüphane / İzleme, Operasyon ve Olaylar
İzleme, Operasyon ve Olaylar
Route weather-based delivery holds with Open-Meteo, Gemini, Postgres, and ServiceNow
When another workflow fails, it monitors systems with Google Gemini using Postgres, ServiceNow, Slack.
Ne yapar
## Weather-Triggered Delivery Hold & Incident Automation ### How it works This workflow polls weather data for a configured delivery region and evaluates whether conditions are severe enough to place deliveries on hold. When severe weather is detected, it checks for duplicate active alerts, logs a new alert, retrieves delivery manifests, and determines whether any deliveries are impacted. If deliveries are affected, an AI agent drafts structured incident details, creates a ServiceNow incident, prepares affected-store notifications, and updates operations through Slack while logging completion; a separate error path records failures and alerts Ops. ### Setup steps - Configure the schedule trigger frequency for how often weather should be checked. - Update the region settings node with the target region name, ZIP code, latitude, longitude, and any cooldown/severity thresholds used downstream. - Set up credentials for Open-Meteo HTTP access if required by your environment, PostgreSQL, Slack, ServiceNow, and Google Gemini. - Ensure the PostgreSQL tables for alert logs, delivery manifests, no-impact records, completion updates, and error logs exist with the fields referenced by the workflow. - Configure Slack channels/users for operational summaries and failure alerts, and confirm ServiceNow incident fields match the AI-generated structured output. ### Customization Adjust the severe-weather criteria, cooldown window, delivery-manifest query, AI incident prompt/output schema, Slack message formats, and ServiceNow assignment/routing rules to match local operations.
Adımlar
- When Error Occurs
- Log Error to Postgres
- Alert Ops via Slack
- Poll Weather Every 15 Min
- Fetch Weather Data
- Set Weather Severity Conditions
- If Severe Weather Detected
- No Severe Weather Action
- Check for Active Alerts
- If Duplicate Alert Exists
- Suppress Duplicate Alert
- Log New Alert to Postgres
- Aggregate Delivery Manifests
- If Deliveries Are Impacted
Toplam 26 adım.
Benzer otomasyonlar
Yapay Zekâ Ajanları ve AsistanlarOpenAI ve Open-Meteo ile hava durumu tahmini sohbet ajanı27 adımYapay Zekâ Ajanları ve AsistanlarOpenAI ve Open-Meteo ile Hava Durumu Sorularını Yanıtlama6 adımUyarılar ve BildirimlerOpen-Meteo ile mağaza hava durumu uyarıları hazırla; Claude taslaklarını Slack'e gönder14 adımİzleme, Operasyon ve OlaylarDiagnose solar production losses with SolarEdge, Open-Meteo, Gemini, Postgres, Jira and21 adım