Monitor quantum fabrication QA with multi-agent OpenAI GPT-5 and alerts

Go to Workflow
1 views
Built by Cheng Siong Chin Cheng Siong Chin
Created on June 07, 2026

Description

Quick Overview
This workflow runs every 30 minutes and uses OpenAI (GPT-5-mini) to analyze quantum fabrication operations across device performance, process optimization, defect detection, supply chain, and maintenance. It synthesizes the results into a structured QA report, saves it to an n8n Data Table, and sends a critical alert via HTTP when needed.

How it works
Runs every 30 minutes on a schedule.
Uses OpenAI to analyze current quantum device measurements for coherence (T1/T2), gate fidelity, reliability trends, and anomalies, and outputs a structured assessment.
Uses OpenAI to evaluate fabrication parameters, propose yield and quality optimizations (including parameter updates), and outputs structured recommendations.
Uses OpenAI to detect and classify potential device/fabrication defects from measurement data and outputs structured corrective actions.
Uses OpenAI to review supply chain inventory and supplier signals for risks and alerts, and separately assesses predictive maintenance needs based on device and fabrication health indicators.
Merges all five agent outputs, synthesizes them into a single executive QA report with consolidated metrics and prioritized actions, and parses the report into a structured JSON format.
Saves the QA report to an n8n Data Table and sends an HTTP POST alert to your notification endpoint if critical issues exist or the device status is degraded; otherwise it logs a normal-operation status.

Setup
Add an OpenAI API credential and select the desired model for all agent and reporting steps.
Configure the external “tool” integrations used by the agents (Fetch Device Measurements, Fetch Fabrication Parameters, Update Fabrication Parameters, Fetch Supply Chain Data, and Trigger Maintenance Alert) so they return real data in your environment.
Replace the placeholder URL in the alert HTTP request and add the required HTTP Header Auth credentials for your alerting system (for example Slack, PagerDuty, or an email API).
Select or create an n8n Data Table and set its Data Table ID in the “Save QA Report” step so reports are persisted.
Adjust the schedule interval if you want monitoring to run more or less frequently.

Nodes Used (4)

AI Agent
@n8n/n8n-nodes-langchain.agent
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured