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
- Receive Calibration Submission
- Normalize Submission Data
- Split Per Device Reading
- Compute Tolerance Deviation
- Reading Data Valid?
- Log Invalid Submission
- Classifier Model
- Classify Compliance Status
- Route By Compliance Status
- Store Certificate Of Conformance
- Send Urgent Out Of Tolerance Alert
- Submit Decommission Notice
- File State Registry Update
- Log Compliance Case
Insgesamt 18 Schritte.
Ähnliche Automatisierungen
KI-Agenten & AssistentenWerbetext-Varianten mit Claude prüfen und Ergebnisse an HubSpot und Slack weiterleiten34 SchritteLead-Generierung & AnreicherungLead-Eingangsdatensätze validieren und Prüfergebnisse mit Code und Switch weiterleiten13 SchritteFinanzen, Rechnungen & BuchhaltungTrades aus Telegram mit Gemini in Google Sheets protokollieren15 SchritteE-Mail-AutomatisierungLog trade show exhibitor leads to Google Sheets with Apify and Gmail13 Schritte