Templates / Route legal-for-trade scale calibration outcomes with OpenAI and Google

Route legal-for-trade scale calibration outcomes with OpenAI and Google

Ready for 3.0

by Swapnil Mandloi ✓ · 1 views · created 2026-09-24 · 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 18 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets, OpenAI Chat Model, Google Drive and Gmail. It also calls wm.state-agency.example.gov over HTTP.

How it runs

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

  1. Normalize Submission Data (Edit Fields (Set)): sets 3 fields: visit_id, technician, readings
  2. Split Per Device Reading (Split Out): splits a list into separate items
  3. Compute Tolerance Deviation (Code): runs custom JavaScript code
  4. Reading Data Valid? (If): checks a condition and branches into true / false
  5. Classify Compliance Status (Text Classifier): classifies text into categories with AI, with model: Classifier Model
  6. Log Invalid Submission (Google Sheets): append
  7. Route By Compliance Status (Switch): routes items into 3 branches
  8. Combine Branch Outcomes (Merge): merges the data from its input branches
  9. Store Certificate Of Conformance (Google Drive): uses Google Drive
  10. Send Urgent Out Of Tolerance Alert (Gmail): uses Gmail

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

Services it uses

Google SheetsOpenAI Chat ModelGoogle DriveGmail

HTTP calls to: wm.state-agency.example.gov

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 (14)

From the author

Quick overview This workflow receives scale calibration results via webhook, calculates NIST Handbook 44-style tolerance deviations, uses OpenAI to classify each device outcome, and routes compliant, out-of-tolerance, condemned, and invalid submissions to…

Excerpt from Swapnil Mandloi'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.