{
  "name": "Automate peer review assignments with GPT-4-nano, Slack and email notifications",
  "nodes": [
    {
      "id": "dbb5ad4a-a451-454c-ae02-0c9ba0e24009",
      "name": "Webhook - Submit Assignment",
      "type": "n8n-nodes-base.webhook",
      "position": [
        688,
        272
      ]
    },
    {
      "id": "5c775304-5483-4bc9-b9d9-9217cff51568",
      "name": "Store Assignment Data",
      "type": "n8n-nodes-base.set",
      "position": [
        912,
        272
      ]
    },
    {
      "id": "525afedc-981e-4264-8eb0-56b2ab98850a",
      "name": "Distribute Peer Assignments",
      "type": "n8n-nodes-base.code",
      "position": [
        1136,
        272
      ]
    },
    {
      "id": "2ce2eeee-90b2-4f47-a4af-5a711ae1f4d5",
      "name": "OpenAI Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1368,
        496
      ]
    },
    {
      "id": "a5f15c1f-7de0-4f4a-93cb-4933f919a3d8",
      "name": "Generate Review Rubric",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1360,
        272
      ]
    },
    {
      "id": "dfee8790-e94b-4538-ac78-82f83aa98dde",
      "name": "Structure Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1496,
        496
      ]
    },
    {
      "id": "7018f378-326e-4b01-a063-c3c582d7aae6",
      "name": "Notify on Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        1712,
        176
      ]
    },
    {
      "id": "5dfa2873-48bd-43ba-9d11-887bd65244ae",
      "name": "Email Reviewers",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1712,
        368
      ]
    },
    {
      "id": "01db542c-43a3-433e-834f-e21ea5fb7588",
      "name": "Prepare Response Data",
      "type": "n8n-nodes-base.set",
      "position": [
        1936,
        368
      ]
    },
    {
      "id": "0d11436b-6fcb-443d-ad80-b22e1c8455d0",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2160,
        368
      ]
    },
    {
      "id": "dc5379a3-fe2d-469d-8cea-3fd823e6e568",
      "name": "Calculate Peer Score",
      "type": "n8n-nodes-base.code",
      "position": [
        1936,
        560
      ]
    },
    {
      "id": "e3bbd041-325b-4781-9c62-28792f04f829",
      "name": "Store Review Results",
      "type": "n8n-nodes-base.postgres",
      "position": [
        2160,
        560
      ]
    },
    {
      "id": "9d6e0259-cdf7-45ac-b30a-91ddd94c59c2",
      "name": "Check Completion Status",
      "type": "n8n-nodes-base.code",
      "position": [
        2384,
        560
      ]
    },
    {
      "id": "034536c4-2459-4f27-8b29-7ea152b3837a",
      "name": "Generate Final Report",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2608,
        560
      ]
    },
    {
      "id": "f77c9063-2576-412d-85e4-fdb3f6e3550d",
      "name": "OpenAI Model 2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2616,
        784
      ]
    },
    {
      "id": "b7a33e8f-905b-4077-994b-4d98b67b14fb",
      "name": "Structure Parser 2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2744,
        784
      ]
    },
    {
      "id": "8a930773-95cc-434c-b9b5-ceff96bcb624",
      "name": "Email Final Report",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2960,
        272
      ]
    },
    {
      "id": "61f0ed39-ee56-4540-aef7-19c228ac8a40",
      "name": "Update Dashboard Metrics",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2960,
        464
      ]
    },
    {
      "id": "0d1cb75c-5209-4e2d-ae42-501097d02164",
      "name": "Analytics Report",
      "type": "n8n-nodes-base.code",
      "position": [
        2960,
        656
      ]
    },
    {
      "id": "97d2721d-1cf6-4526-b49e-6fb55919d8ae",
      "name": "Post Analytics to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        3184,
        656
      ]
    },
    {
      "id": "29d958b0-32a6-4422-978c-2362e9b5a566",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        368,
        448
      ],
      "parameters": {
        "width": 656,
        "height": 624,
        "content": "## Introduction\nAutomate peer review assignment and grading with AI-powered evaluation. Designed for educators managing collaborative assessments efficiently.\n## How It Works\nWebhook receives assignme"
      }
    },
    {
      "id": "43e2c3fe-85b8-4df4-b537-f0d951c0b010",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1056,
        608
      ],
      "parameters": {
        "width": 512,
        "height": 464,
        "content": "## Prerequisites\n- OpenAI API key\n- Gmail account\n- Slack workspace\n- Database or storage system\n- Dashboard tool\n## Use Cases\n- University peer review assignments\n- Corporate training evaluations\n- R"
      }
    }
  ],
  "connections": {
    "OpenAI Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Review Rubric",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model 2": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Final Report",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Email Reviewers": {
      "main": [
        [
          {
            "node": "Prepare Response Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Calculate Peer Score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analytics Report": {
      "main": [
        [
          {
            "node": "Post Analytics to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structure Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Generate Review Rubric",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structure Parser 2": {
      "ai_outputParser": [
        [
          {
            "node": "Generate Final Report",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Peer Score": {
      "main": [
        [
          {
            "node": "Store Review Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Review Results": {
      "main": [
        [
          {
            "node": "Check Completion Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Final Report": {
      "main": [
        [
          {
            "node": "Email Final Report",
            "type": "main",
            "index": 0
          },
          {
            "node": "Update Dashboard Metrics",
            "type": "main",
            "index": 0
          },
          {
            "node": "Analytics Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Response Data": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Assignment Data": {
      "main": [
        [
          {
            "node": "Distribute Peer Assignments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Review Rubric": {
      "main": [
        [
          {
            "node": "Notify on Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Email Reviewers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Completion Status": {
      "main": [
        [
          {
            "node": "Generate Final Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Distribute Peer Assignments": {
      "main": [
        [
          {
            "node": "Generate Review Rubric",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook - Submit Assignment": {
      "main": [
        [
          {
            "node": "Store Assignment Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}