Quick overview
This workflow collects Non-Conformance Reports (NCRs) via an n8n Form, calculates an RPN-based risk level, checks Google Sheets for duplicates, logs valid NCRs to a master sheet, and sends Gmail notifications to the reporter, QA team, and QA manager for high-risk escalations.
How it works
- Receives an NCR submission through an n8n Form.
- Applies configured RPN thresholds and QA notification emails, then normalizes the submission and generates a unique NCR ID.
- Calculates the RPN score (Severity × Occurrence × Detectability) and assigns a Low/Medium/High/Critical risk level.
- Validates the submission by rejecting reports where the “Date Detected” is in the future and emails the reporter via Gmail with the rejection reason.
- Searches the NCR master Google Sheet for existing records with the same Department and Issue Title and, if found, emails the reporter a duplicate warning.
- Appends non-duplicate, valid NCRs to Google Sheets and sends Gmail notifications to both the reporter and the QA team.
- If the risk level is High or Critical, updates the Google Sheets record with an escalation level and emails the QA manager to trigger immediate review.
Setup
- Add Google Sheets credentials and set the target spreadsheet ID and sheet/tab name in the QA configuration values.
- Create a Google Sheets tab named exactly as configured (default: NCR_Master) with the required column headers so the append/update mappings work.
- Add Gmail credentials for sending notifications.
- Update the QA team email and QA manager email values in the configuration.
- Adjust the Medium/High/Critical RPN thresholds to match your quality policy and risk scoring rules.