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

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

Ready for 3.0

by WeblineIndia ✓ · 2 views · created 2026-09-14 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 31 nodes and runs on a schedule (every hour). Along the way it connects Google Sheets, Google Gemini Chat Model and Gmail.

How it runs

Trigger: On a schedule (every hour).

  1. Configure SLA Monitoring (Edit Fields (Set)): sets 11 fields: cfg_run_id, cfg_checked_at, cfg_repeat_breach_lookback_days…
  2. Fetch SLA Rules (Google Sheets): uses Google Sheets
  3. Fetch Supplier Performance (Google Sheets): uses Google Sheets
  4. Fetch SLA Breach History (Google Sheets): uses Google Sheets
  5. Merge: merges the data from its input branches
  6. Merge: merges the data from its input branches
  7. Build SLA Monitoring Dataset (Code): runs custom JavaScript code
  8. Compare SLA vs Actuals (Code): runs custom JavaScript code
  9. Build SLA Run Summary (Code): runs custom JavaScript code
  10. Violation Detected? (If): checks a condition and branches into true / false

…plus 16 more steps. See the full node list below.

Services it uses

Google SheetsGoogle Gemini Chat ModelGmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Quick Overview This scheduled workflow pulls SLA targets and supplier performance from Google Sheets, compares actuals to targets, logs any breaches back to Google Sheets, uses Google Gemini to generate corrective action recommendations, and sends a…

Excerpt from WeblineIndia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.