Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Dateien & Cloud-Speicher

Dateien & Cloud-Speicher

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

When an API call/webhook arrives, it manages files with OpenAI / ChatGPT using Gmail, Google Drive, Google Sheets.

Was sie bewirkt

📘 WORKFLOW DETAILS — Legal-for-Trade Scale Calibration Compliance Router VALUE PROP: Companies that own or service legal-for-trade scales (truck scales, grain scales, retail/deli scales) must have each device calibrated to NIST Handbook 44 tolerances and keep an auditable record of every pass/adjust/fail/condemn outcome for state weights-and-measures inspectors. This workflow takes a technician's field submission, computes the real tolerance math, has an AI classify the outcome using both the numbers and the technician's notes, and routes each device down a genuinely different compliance path. WHO / PROBLEM: Independent scale service companies and in-house weights-and-measures teams at grain elevators, truck terminals, and retail chains who currently fax or email calibration certificates and manage compliance cases in a shared spreadsheet with no automatic routing. EXECUTION WALKTHROUGH: 1. Technician's mobile app POSTs a visit payload with one or more device readings to the webhook. 2. Each device reading is split out individually. 3. Code computes the %deviation between measured and test-load weight against a NIST HB44 tolerance band for the device's class. 4. A data-quality gate catches malformed readings before they reach the classifier. 5. A Text Classifier combines the numeric deviation with the technician's qualitative notes to choose exactly one of: compliant, out_of_tolerance_fail, condemned. 6. A 3-way Switch sends each device down a different terminal path: compliant → certificate stored + state registry filed; out-of-tolerance → urgent owner alert + compliance case opened; condemned → state decommission notice + permanent record. 7. All four possible terminal paths (including invalid submissions) are merged into one audit-log entry per visit. NODE SUMMARY: Webhook → Set → Split Out → Code → If → Text Classifier (+model) → Switch(3) → [Drive+HTTP | Gmail+Sheets | HTTP+Sheets] → Merge(4) → Aggregate → Sheets. EXPECTED INPUT: webhook POST {visit_id, technician, readings:[{device_id, site, device_class, test_load, measured_reading, technician_notes}]}. EXPECTED OUTPUT: a certificate in Drive and/or a state filing and/or an urgent Gmail alert and/or a decommission record, plus one consolidated audit-log row per visit. STICKY COLOUR LEGEND: 1 blue=Trigger, 2 grey=Transform, 3 green=AI, 4 orange=Branch, 5 red=Storage, 6 yellow=Notify.

Die Schritte

  1. Receive Calibration Submission
  2. Normalize Submission Data
  3. Split Per Device Reading
  4. Compute Tolerance Deviation
  5. Reading Data Valid?
  6. Log Invalid Submission
  7. Classifier Model
  8. Classify Compliance Status
  9. Route By Compliance Status
  10. Store Certificate Of Conformance
  11. Send Urgent Out Of Tolerance Alert
  12. Submit Decommission Notice
  13. File State Registry Update
  14. Log Compliance Case

Insgesamt 18 Schritte.

Ähnliche Automatisierungen