{
  "name": "Production AI Playbook: Human Oversight (Exercise 1)",
  "nodes": [
    {
      "id": "f5350dfb-7df6-4f5b-a0a3-c4262477ee8e",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        256,
        480
      ]
    },
    {
      "id": "77f32376-29e1-4d45-8ef9-6526b3924781",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        480,
        480
      ]
    },
    {
      "id": "37c546d1-e7ab-4f8b-aa5e-e5e04de1670e",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        560,
        704
      ]
    },
    {
      "id": "45dd0c5e-78ce-4538-af77-a56fea41275a",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1056,
        480
      ]
    },
    {
      "id": "04626316-5bac-4924-b65e-e521a9394d83",
      "name": "Gmail - Send Reply",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1280,
        384
      ]
    },
    {
      "id": "a46cc0e1-8e67-4a07-ab24-585e81a231b2",
      "name": "Rejected Response",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "position": [
        1280,
        576
      ]
    },
    {
      "id": "f9d0c2ec-c7bf-4bdf-9479-bb48391575f7",
      "name": "Approved Response",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "position": [
        1504,
        384
      ]
    },
    {
      "id": "9b4ba9ab-feb1-4d09-a574-d75af19fd382",
      "name": "Human Approval",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "position": [
        832,
        480
      ]
    },
    {
      "id": "5f0cca1b-e43d-44d2-820d-02931dd9f782",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        256
      ],
      "parameters": {
        "width": 560,
        "height": 720,
        "content": "## Customer Support Email Review with Chat Approval\n\n### How it works\n1. **Chat Trigger** receives a customer support scenario via the built-in chat interface.\n2. **AI Agent** drafts a professional em"
      }
    },
    {
      "id": "cdc3acd8-ae03-4512-8011-4321fbd463c1",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        208,
        368
      ],
      "parameters": {
        "width": 544,
        "height": 480,
        "content": "## Draft Response"
      }
    },
    {
      "id": "bead3a0f-64a5-417b-ba2a-c053ef95ee17",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        784,
        368
      ],
      "parameters": {
        "width": 208,
        "height": 480,
        "content": "## Human Review"
      }
    },
    {
      "id": "8ca1ea87-8cd3-4507-b6fb-d2b6ece0cb9a",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1024,
        368
      ],
      "parameters": {
        "width": 688,
        "height": 480,
        "content": "## Route and Send"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Gmail - Send Reply",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Rejected Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Human Approval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Human Approval": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail - Send Reply": {
      "main": [
        [
          {
            "node": "Approved Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}