{
  "name": "Standardize daily construction reports with OpenAI, Gmail and Google Sheets",
  "nodes": [
    {
      "id": "62384871-8d9a-4748-8475-c9465537cc1c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        48
      ],
      "parameters": {
        "width": 976,
        "height": 752,
        "content": "## 1. Capture and validate daily site input"
      }
    },
    {
      "id": "6b428e63-8932-4ade-8b6b-42360659ec94",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1088,
        48
      ],
      "parameters": {
        "width": 304,
        "height": 752,
        "content": "## 2. AI-Powered DCR standardization"
      }
    },
    {
      "id": "da3b60e1-7c70-48d3-9122-f8c92cc92f5c",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1424,
        48
      ],
      "parameters": {
        "width": 464,
        "height": 752,
        "content": "## 3. Distribute and log work performance data"
      }
    },
    {
      "id": "a5fc8d58-5697-4538-a893-95f8d3b23a41",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -432,
        48
      ],
      "parameters": {
        "width": 480,
        "height": 752,
        "content": "## AI-driven daily construction report\n\n### How It Works\n\n1. **Capture:** Site personnel submit raw DCR content through the chat interface trigger.  \n2. **Validate:** A guardrail AI checks input for a"
      }
    },
    {
      "id": "6951ff10-86cb-4d69-a167-7340d2d621de",
      "name": "Chat: Capture DCR Input",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        128,
        160
      ]
    },
    {
      "id": "17508335-3a59-4c63-acd8-b8d4eb1415ef",
      "name": "Guardrail: Validate Input",
      "type": "@n8n/n8n-nodes-langchain.guardrails",
      "position": [
        576,
        160
      ]
    },
    {
      "id": "f6d0c050-4acd-4437-b161-271b020000ba",
      "name": "Gmail: Jailbreak Alert",
      "type": "n8n-nodes-base.gmail",
      "position": [
        864,
        352
      ]
    },
    {
      "id": "a0407237-ce3f-4120-8eaf-ddac07e5da80",
      "name": "Chat: Block Notice",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "position": [
        592,
        608
      ]
    },
    {
      "id": "5783bddc-d419-4d39-bd57-874871744a92",
      "name": "AI: Standardize DCR",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1120,
        144
      ]
    },
    {
      "id": "f52fb94b-478f-4b59-bf48-5d225075660a",
      "name": "Guardrail Chat Model: OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        608,
        352
      ]
    },
    {
      "id": "73965d87-bed5-491a-bc70-8739708dea0f",
      "name": "AI Chat Model: OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1168,
        352
      ]
    },
    {
      "id": "414dec0f-b0a7-4dae-bca6-d898fda8dd76",
      "name": "Sheets: Append DCR Log",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1488,
        144
      ]
    },
    {
      "id": "403a783d-a858-4e05-bc9c-4a4a86e3836b",
      "name": "Gmail: Send DCR Report",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1728,
        144
      ]
    },
    {
      "id": "ee94ba52-8423-48e2-a55e-4e7b29326a29",
      "name": "Chat: Success Notice",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "position": [
        1472,
        400
      ]
    },
    {
      "id": "c77b5e4d-ed55-4f59-8196-9cee73d8f8cd",
      "name": "End: Guardrail Block",
      "type": "n8n-nodes-base.noOp",
      "position": [
        864,
        608
      ]
    },
    {
      "id": "6e9d88a1-7c55-443e-853c-a4d905bf8b00",
      "name": "End: Success",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1696,
        400
      ]
    },
    {
      "id": "f47e24fb-21c6-40f3-b3fc-664d6d72d141",
      "name": "Config",
      "type": "n8n-nodes-base.set",
      "position": [
        352,
        160
      ]
    }
  ],
  "connections": {
    "Config": {
      "main": [
        [
          {
            "node": "Guardrail: Validate Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Chat: Block Notice": {
      "main": [
        [
          {
            "node": "End: Guardrail Block",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI: Standardize DCR": {
      "main": [
        [
          {
            "node": "Sheets: Append DCR Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Chat: Success Notice": {
      "main": [
        [
          {
            "node": "End: Success",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Chat Model: OpenAI": {
      "ai_languageModel": [
        [
          {
            "node": "AI: Standardize DCR",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Gmail: Jailbreak Alert": {
      "main": [
        [
          {
            "node": "Chat: Block Notice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail: Send DCR Report": {
      "main": [
        [
          {
            "node": "Chat: Success Notice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sheets: Append DCR Log": {
      "main": [
        [
          {
            "node": "Gmail: Send DCR Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Chat: Capture DCR Input": {
      "main": [
        [
          {
            "node": "Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Guardrail: Validate Input": {
      "main": [
        [
          {
            "node": "AI: Standardize DCR",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Gmail: Jailbreak Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Guardrail Chat Model: OpenAI": {
      "ai_languageModel": [
        [
          {
            "node": "Guardrail: Validate Input",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}