{
  "name": "Production AI Playbook: Human Oversight (Exercise 3)",
  "nodes": [
    {
      "id": "d6df5e4d-1ea2-41d4-b13b-08a0c062389a",
      "name": "On form submission1",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -1472,
        1296
      ]
    },
    {
      "id": "b2a3aa4d-ad53-4fa2-aeeb-758524f32675",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1248,
        1296
      ]
    },
    {
      "id": "316833b7-3a56-4c0c-8f18-b3fc9e5433f2",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1184,
        1520
      ]
    },
    {
      "id": "9988eb6a-b3bc-4caf-9583-9d95d82982e9",
      "name": "Route by Channel",
      "type": "n8n-nodes-base.switch",
      "position": [
        -896,
        1296
      ]
    },
    {
      "id": "cad71c5b-918c-40a1-ada5-4baf93396386",
      "name": "Slack Approval Request",
      "type": "n8n-nodes-base.slack",
      "position": [
        -672,
        1104
      ]
    },
    {
      "id": "5efdfe87-6d20-4fef-ba90-0c224e15b815",
      "name": "Slack Decision",
      "type": "n8n-nodes-base.switch",
      "position": [
        -448,
        1088
      ]
    },
    {
      "id": "b9f8c952-c7cc-405d-85f1-84e8d7eba3a9",
      "name": "Publish Content",
      "type": "n8n-nodes-base.code",
      "position": [
        -224,
        1104
      ]
    },
    {
      "id": "8ac35e39-93c6-49bb-b569-a43b49d4064a",
      "name": "Handle Rejection",
      "type": "n8n-nodes-base.code",
      "position": [
        -224,
        1296
      ]
    },
    {
      "id": "b4914384-c828-470c-bcc5-66890d5c581f",
      "name": "Escalate to Manager",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -224,
        1488
      ]
    },
    {
      "id": "81b339e6-6344-42ea-bb30-40bfa69bbe09",
      "name": "Email Decision",
      "type": "n8n-nodes-base.switch",
      "position": [
        -448,
        1472
      ]
    },
    {
      "id": "23dbf2b0-b565-4b89-b628-ccb8d8bea5c7",
      "name": "Email Approval Request",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -672,
        1488
      ]
    },
    {
      "id": "090c7433-0d2b-4703-88b0-814eb18347e1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2368,
        1040
      ],
      "parameters": {
        "width": 752,
        "height": 656,
        "content": "## Multi-Channel Content Approval with Slack and Email Escalation\n\n### How it works\n1. **Form Trigger** collects a content draft and preferred review channel (Slack or Email).\n2. **AI Agent** enhances"
      }
    },
    {
      "id": "e629a92b-3259-49f6-8283-5527a834272a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1536,
        1024
      ],
      "parameters": {
        "width": 544,
        "height": 704,
        "content": "## Submit & Enhance\n"
      }
    },
    {
      "id": "d4404a82-64ea-42d0-900b-64ccf968754b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -960,
        1024
      ],
      "parameters": {
        "width": 448,
        "height": 704,
        "content": "## Route & Review"
      }
    },
    {
      "id": "bee79d99-d6b7-45ab-98eb-b41d739a837e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        1024
      ],
      "parameters": {
        "width": 448,
        "height": 704,
        "content": "## Decide & Act"
      }
    }
  ],
  "connections": {
    "AI Agent1": {
      "main": [
        [
          {
            "node": "Route by Channel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Decision": {
      "main": [
        [
          {
            "node": "Escalate to Manager",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Publish Content",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Handle Rejection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack Decision": {
      "main": [
        [
          {
            "node": "Escalate to Manager",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Publish Content",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Handle Rejection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Channel": {
      "main": [
        [
          {
            "node": "Slack Approval Request",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Email Approval Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "On form submission1": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Approval Request": {
      "main": [
        [
          {
            "node": "Email Decision",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack Approval Request": {
      "main": [
        [
          {
            "node": "Slack Decision",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}