{
  "name": "Automate manufacturing QC documentation & compliance with Jotform",
  "nodes": [
    {
      "id": "8f4dabc5-b0f6-4f4b-8e07-aec5b456c963",
      "name": "Check for New Inspections",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -656,
        160
      ]
    },
    {
      "id": "09bfd902-b390-418e-8b95-52f1e2b12853",
      "name": "Read Inspection Queue",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -448,
        160
      ]
    },
    {
      "id": "9511a47d-58f0-4755-9f03-c36adfcffbe4",
      "name": "Process Inspection Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -256,
        256
      ]
    },
    {
      "id": "5c1c11fe-848e-4951-9423-e86a0bb8b14b",
      "name": "Store in Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -48,
        160
      ]
    },
    {
      "id": "32d6c442-d011-4dd4-8755-ed62277041b5",
      "name": "Log to Tracking Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        160,
        160
      ]
    },
    {
      "id": "8665c487-3083-4f39-b9de-69ad7bd68afd",
      "name": "Check if Failed",
      "type": "n8n-nodes-base.if",
      "position": [
        -48,
        352
      ]
    },
    {
      "id": "ae823af6-bfe5-4c77-8789-b5c27daf5327",
      "name": "Alert Quality Team",
      "type": "n8n-nodes-base.slack",
      "position": [
        160,
        464
      ]
    },
    {
      "id": "e1e70d0c-4d12-4e10-85fc-b42a062451d2",
      "name": "Generate Certificate",
      "type": "n8n-nodes-base.code",
      "position": [
        352,
        160
      ]
    },
    {
      "id": "622adac3-cd64-44d5-839e-dca015951252",
      "name": "Email Certificate",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        560,
        160
      ]
    },
    {
      "id": "8bbe8307-48a8-4875-9e55-27988dc638af",
      "name": "Daily Report Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -656,
        656
      ]
    },
    {
      "id": "1af14ece-11a2-44a0-a935-8cdbdc0cff3e",
      "name": "Get Daily Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -448,
        656
      ]
    },
    {
      "id": "91204a97-f66a-4d3f-bc34-f9b06b25e21f",
      "name": "Generate Summary",
      "type": "n8n-nodes-base.code",
      "position": [
        -256,
        656
      ]
    },
    {
      "id": "4947aabe-e0be-4ea2-85f4-fa259b1f4290",
      "name": "Send Daily Report",
      "type": "n8n-nodes-base.slack",
      "position": [
        -48,
        656
      ]
    },
    {
      "id": "151db029-c3da-4324-b523-014be9200479",
      "name": "Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -944,
        112
      ],
      "parameters": {
        "width": 250,
        "height": 156,
        "content": "## 📥 INPUT SOURCES\n\n**Two ways to receive data:**\n- Form submissions\n- Scheduled checks"
      }
    },
    {
      "id": "efd420c8-6496-4775-ae49-e9ddd0439deb",
      "name": "Note 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        384
      ],
      "parameters": {
        "width": 200,
        "height": 152,
        "content": "## 🔄 PROCESSING\n\nCalculates compliance\nbased on specs"
      }
    },
    {
      "id": "97aad2cd-f193-48d2-91c4-271a5c2d3a11",
      "name": "Note 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        0
      ],
      "parameters": {
        "width": 372,
        "height": 136,
        "content": "## 💾 STORAGE\n\nSaves to Drive & tracking sheet"
      }
    },
    {
      "id": "d214ceff-a286-4941-aa49-a2e8ccad92f4",
      "name": "Note 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        176,
        624
      ],
      "parameters": {
        "width": 180,
        "height": 136,
        "content": "## 🚨 ALERTS\n\nNotifies team\nfor failures only"
      }
    },
    {
      "id": "76539b89-3dab-4804-b6f8-c2f4b5dac0ec",
      "name": "Note 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        320
      ],
      "parameters": {
        "width": 360,
        "height": 120,
        "content": "## 📋 DOCS\n\nGenerates & emails certificates"
      }
    },
    {
      "id": "11a5eb71-0f1f-4d6e-8f40-11113c6513e0",
      "name": "Note 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -912,
        688
      ],
      "parameters": {
        "width": 200,
        "height": 168,
        "content": "## 📊 DAILY REPORTS\n\nRuns at 8 AM\nSummarizes metrics"
      }
    },
    {
      "id": "7191be65-1d4b-4ee1-8eb5-48dd0343c85a",
      "name": "Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1008,
        384
      ],
      "parameters": {
        "width": 314,
        "height": 156,
        "content": "## 📥 MANUAL FORM\n\nJotform Trigger\n\nCreate your form for free on [Jotform using this link](https://www.jotform.com/?partner=mediajade)"
      }
    },
    {
      "id": "db6112a6-2bfe-4242-b893-8c4ab757592b",
      "name": "Jotform Trigger",
      "type": "n8n-nodes-base.jotFormTrigger",
      "position": [
        -640,
        416
      ]
    }
  ],
  "connections": {
    "Get Daily Data": {
      "main": [
        [
          {
            "node": "Generate Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if Failed": {
      "main": [
        [
          {
            "node": "Alert Quality Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Jotform Trigger": {
      "main": [
        [
          {
            "node": "Process Inspection Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Summary": {
      "main": [
        [
          {
            "node": "Send Daily Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Report Trigger": {
      "main": [
        [
          {
            "node": "Get Daily Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Certificate": {
      "main": [
        [
          {
            "node": "Email Certificate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log to Tracking Sheet": {
      "main": [
        [
          {
            "node": "Generate Certificate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Inspection Queue": {
      "main": [
        [
          {
            "node": "Process Inspection Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store in Google Drive": {
      "main": [
        [
          {
            "node": "Log to Tracking Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Inspection Data": {
      "main": [
        [
          {
            "node": "Store in Google Drive",
            "type": "main",
            "index": 0
          },
          {
            "node": "Check if Failed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for New Inspections": {
      "main": [
        [
          {
            "node": "Read Inspection Queue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}