Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Автоматизация эл. почты

Автоматизация эл. почты

Track supplier SLA breaches and corrective actions with Google Sheets, Gemini, and Gmail

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

Что делает

# SLA Monitoring & Enforcement Agent Workflow (Procurement Industry) ## How it works This workflow monitors supplier SLA performance on a schedule using Google Sheets as the demo data source. It combines SLA rules, current supplier performance, and previous breach history; compares actual results with contract targets; classifies breach severity; prevents duplicate alerts for the same measurement; and detects repeat offenders. For each new breach, deterministic workflow logic calculates a suggested penalty amount from the configured penalty rate and order value, assigns an enforcement recommendation, and determines whether procurement escalation is required. Google Gemini then recommends root-cause follow-up and corrective actions without changing the deterministic SLA, penalty, or escalation decisions. Each new breach and corrective action is logged for auditability. Supplier managers receive Gmail alerts, while high, critical, or repeat breaches are also escalated to the configured procurement contact. A separate run log records every monitoring cycle, including compliant and breached SLA counts. ## Setup steps 1. Create the five Google Sheets tabs documented in the setup guide. 2. Create the required n8n Variables. 3. Connect Google Sheets credentials to all Google Sheets nodes. 4. Connect Google Gemini credentials to the Gemini model node. 5. Connect Gmail credentials to both notification nodes. 6. Set the fallback manager and escalation email Variables to addresses you control while testing. 7. Run the workflow manually and verify normal, repeat-breach, duplicate, penalty, escalation, and all-clear scenarios before activation.

Шаги

  1. SLA Check Scheduler
  2. Configure SLA Monitoring
  3. Fetch SLA Rules
  4. Fetch Supplier Performance
  5. Fetch SLA Breach History
  6. Merge Current SLA Data
  7. Merge All SLA Sources
  8. Build SLA Monitoring Dataset
  9. Compare SLA vs Actuals
  10. Build SLA Run Summary
  11. Log SLA Run Summary
  12. Violation Detected?
  13. Compliant Record - No Breach
  14. Enrich Breach With History

Всего шагов: 31.

Похожие автоматизации