{
  "name": "Automate personalized assignment reminders for students with Canvas",
  "nodes": [
    {
      "id": "379fa596-d650-49f7-ad08-850423b72904",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -2048,
        128
      ]
    },
    {
      "id": "77e55ac9-a267-4b88-ab11-dc15ae7bd20c",
      "name": "Initial parameters",
      "type": "n8n-nodes-base.set",
      "position": [
        -1824,
        128
      ]
    },
    {
      "id": "7870deab-3a56-47d5-83ee-06d198d1c4e7",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1648,
        -64
      ],
      "parameters": {
        "width": 864,
        "height": 432,
        "content": "## Get course ID by course name \n"
      }
    },
    {
      "id": "410e5674-7b6d-48c0-bc6e-b34912485fa2",
      "name": "Get course by name",
      "type": "n8n-nodes-base.filter",
      "position": [
        -1152,
        128
      ]
    },
    {
      "id": "0313b07c-1b68-4f99-89a2-33333a9a3f0f",
      "name": "Get all teacher courses",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1600,
        128
      ]
    },
    {
      "id": "3c31d6f8-d5df-4b45-9836-8b9bc2f7a654",
      "name": "Get course ID",
      "type": "n8n-nodes-base.set",
      "position": [
        -928,
        128
      ]
    },
    {
      "id": "b8418c45-d51a-46f9-8fed-8fcbf8011c92",
      "name": "Get course students",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -704,
        128
      ]
    },
    {
      "id": "da6fe740-c384-487a-8ed1-c318141167de",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        -64
      ],
      "parameters": {
        "width": 416,
        "height": 432,
        "content": "## Get pending submissions by course ID and student ID\n"
      }
    },
    {
      "id": "b79db951-a0b1-4e40-b5a0-49cea008c15a",
      "name": "Agregate courses pagination",
      "type": "n8n-nodes-base.code",
      "position": [
        -1376,
        128
      ]
    },
    {
      "id": "2dc573cc-55b8-4104-b631-98887e3e5b43",
      "name": "Agregate students pagination",
      "type": "n8n-nodes-base.code",
      "position": [
        -480,
        128
      ]
    },
    {
      "id": "7dcc6b41-8ad4-49e7-af84-9804767a4374",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        -64
      ],
      "parameters": {
        "width": 416,
        "height": 432,
        "content": "## Get students by course ID \n"
      }
    },
    {
      "id": "d2be3bc1-7f45-4030-8f84-d0c2311f75e3",
      "name": "Get course sumbissions",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -256,
        200
      ]
    },
    {
      "id": "5db62fe3-4e1c-4887-870c-d4b6d929a575",
      "name": "Agregate submits pagination",
      "type": "n8n-nodes-base.code",
      "position": [
        -32,
        200
      ]
    },
    {
      "id": "71ff92d4-67d9-41a9-8a6c-c0671889ba88",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1872,
        -64
      ],
      "parameters": {
        "width": 192,
        "height": 432,
        "content": "## Set course name"
      }
    },
    {
      "id": "8485feb1-1e07-44a0-882f-8ef5fb252a66",
      "name": "Enrich Submissions with Student Data",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        128
      ]
    },
    {
      "id": "07a70c5e-5d78-48c3-b7ae-daf09f94b7be",
      "name": "Group Pending Assignments per Student",
      "type": "n8n-nodes-base.code",
      "position": [
        640,
        128
      ]
    },
    {
      "id": "aea4d976-c956-46a1-b5cc-c6e4e0901286",
      "name": "Send message in Canvas",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        864,
        128
      ]
    },
    {
      "id": "cb6d7e0f-3fa6-438f-9a48-9a0a4a6ee358",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        144,
        -64
      ],
      "parameters": {
        "width": 640,
        "height": 432,
        "content": "## Organize and format pending submissions information"
      }
    },
    {
      "id": "1c93d3c3-5093-4055-91ef-d1e417918f9d",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        816,
        -64
      ],
      "parameters": {
        "width": 208,
        "height": 432,
        "content": "## Send pending submissions alert to students"
      }
    },
    {
      "id": "8f96622e-fa61-4ebe-9115-4ac260225859",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2944,
        -64
      ],
      "parameters": {
        "width": 800,
        "height": 448,
        "content": "## Canvas: Send students their pending assignments\n\n### How it works\n1. Trigger the workflow and set the Canvas base URL and target course name.\n2. Fetch all instructor courses and locate the course I"
      }
    },
    {
      "id": "6e1cf236-d4ed-4a2b-93b0-c1b5ed6fdd62",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        192,
        128
      ]
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Enrich Submissions with Student Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get course ID": {
      "main": [
        [
          {
            "node": "Get course students",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get course by name": {
      "main": [
        [
          {
            "node": "Get course ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Initial parameters": {
      "main": [
        [
          {
            "node": "Get all teacher courses",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get course students": {
      "main": [
        [
          {
            "node": "Agregate students pagination",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get course sumbissions": {
      "main": [
        [
          {
            "node": "Agregate submits pagination",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get all teacher courses": {
      "main": [
        [
          {
            "node": "Agregate courses pagination",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Agregate courses pagination": {
      "main": [
        [
          {
            "node": "Get course by name",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Agregate submits pagination": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Agregate students pagination": {
      "main": [
        [
          {
            "node": "Get course sumbissions",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enrich Submissions with Student Data": {
      "main": [
        [
          {
            "node": "Group Pending Assignments per Student",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Initial parameters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Group Pending Assignments per Student": {
      "main": [
        [
          {
            "node": "Send message in Canvas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}