Templates / Score supplier reliability from incidents with Claude, Google Sheets, and SendGrid

Score supplier reliability from incidents with Claude, Google Sheets, and SendGrid

Needs changes

by Oneclick AI Squad ✓ · 7 views · created 2026-07-27 · CRM

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model. It also calls sheets.googleapis.com and api.sendgrid.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Set - Prepare Incident Context (Edit Fields (Set)): sets 17 fields: supplierId, supplierName, supplierType…
  2. AI - Classify & Extract Incident Details (AI Agent): runs an AI agent, with model: Anthropic - Classification Model
  3. JS - Parse Incident Classification Output (Code): runs custom JavaScript code
  4. If: checks a condition and branches into true / false
  5. JS - Calculate Updated Reliability Score (Code): runs custom JavaScript code
  6. Respond to Webhook: sends the response back to the webhook caller
  7. Wait: pauses before continuing
  8. AI - Generate Supplier Recommendation (AI Agent): runs an AI agent, with model: Anthropic - Recommendation Model
  9. JS - Parse Recommendation Output (Code): runs custom JavaScript code
  10. JS - Format Final Scorecard Record (Code): runs custom JavaScript code

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

Services it uses

Anthropic Chat Model

HTTP calls to: sheets.googleapis.com, api.sendgrid.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI - Classify & Extract Incident Details (v1.6), AI - Generate Supplier Recommendation (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI - Classify & Extract Incident Details (v1.6), AI - Generate Supplier Recommendation (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

Quick overview This workflow receives supplier incident reports via webhook, uses Anthropic Claude to classify the incident and generate a recommendation, calculates an explainable reliability score, logs every incident to Google Sheets, and escalates…

Excerpt from Oneclick AI Squad'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.