AutomationFlowsAI & RAG › AI Academic Assistant Workflow

AI Academic Assistant Workflow

AI Academic Assistant Workflow. Uses start, openAI, httpRequest, emailSend. Webhook trigger; 8 nodes.

Webhook trigger★★★★☆ complexityAI-powered8 nodesStartOpenAIHTTP RequestEmail Send
AI & RAG Trigger: Webhook Nodes: 8 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow follows the Emailsend → HTTP Request recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "AI Academic Assistant Workflow",
  "nodes": [
    {
      "parameters": {},
      "name": "Start",
      "type": "n8n-nodes-base.start",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "event": "assignmentUploaded",
        "options": {}
      },
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "functionCode": "// Process uploaded assignment\nconst assignmentData = $input.first().json;\n\n// Extract requirements\nconst requirements = {\n  fileType: assignmentData.fileType,\n  keywords: assignmentData.keywords,\n  deadline: assignmentData.deadline\n};\n\nreturn [\n  {\n    json: requirements\n  }\n];"
      },
      "name": "Process Assignment",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        650,
        300
      ]
    },
    {
      "parameters": {
        "resource": "schema",
        "operation": "generate",
        "schema": "={{$json}}",
        "options": {}
      },
      "name": "Generate ER Diagram",
      "type": "n8n-nodes-base.openAI",
      "typeVersion": 1,
      "position": [
        850,
        200
      ],
      "credentials": {
        "openAiApi": "<your credential>"
      }
    },
    {
      "parameters": {
        "resource": "code",
        "operation": "generate",
        "prompt": "Generate {{$node[\"Process Assignment\"].json[\"keywords\"]}} code solution",
        "options": {}
      },
      "name": "Generate Code Solution",
      "type": "n8n-nodes-base.openAI",
      "typeVersion": 1,
      "position": [
        850,
        400
      ],
      "credentials": {
        "openAiApi": "<your credential>"
      }
    },
    {
      "parameters": {
        "url": "https://api.grammarly.com/v2/check",
        "options": {
          "json": "body"
        },
        "jsonBody": {
          "text": "={{$node[\"Generate Documentation\"].json[\"content\"]}}",
          "options": {
            "plagiarism": true
          }
        }
      },
      "name": "Plagiarism Check",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        1050,
        300
      ],
      "credentials": {
        "grammarlyApi": "<your credential>"
      }
    },
    {
      "parameters": {
        "functionCode": "// Format final submission\nconst files = {\n  report: $node['Generate Documentation'].json,\n  code: $node['Generate Code Solution'].json,\n  diagrams: $node['Generate ER Diagram'].json\n};\n\nreturn [\n  {\n    json: files\n  }\n];"
      },
      "name": "Package Submission",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        1250,
        300
      ]
    },
    {
      "parameters": {
        "subject": "Assignment Ready for Review",
        "body": "={{$json}}",
        "to": "student@university.edu"
      },
      "name": "Send Notification",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 1,
      "position": [
        1450,
        300
      ]
    }
  ],
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "Webhook Trigger",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Process Assignment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Assignment": {
      "main": [
        [
          {
            "node": "Generate ER Diagram",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate Code Solution",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate ER Diagram": {
      "main": [
        [
          {
            "node": "Plagiarism Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Code Solution": {
      "main": [
        [
          {
            "node": "Plagiarism Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Plagiarism Check": {
      "main": [
        [
          {
            "node": "Package Submission",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Package Submission": {
      "main": [
        [
          {
            "node": "Send Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "tags": [],
  "id": "123"
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

AI Academic Assistant Workflow. Uses start, openAI, httpRequest, emailSend. Webhook trigger; 8 nodes.

Source: https://gist.github.com/Nyamekye2002/eda677d142cd38a76bb099bebf71cb1e — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

The Ultimate Scraper for n8n uses Selenium and AI to retrieve any information displayed on a webpage. You can also use session cookies to log in to the targeted webpage for more advanced scraping need

OpenAI Chat, HTTP Request, Information Extractor +1
AI & RAG

z-Api. Uses httpRequest, openAi, redis, postgres. Webhook trigger; 61 nodes.

HTTP Request, OpenAI, Redis +4
AI & RAG

How it works: • Receives WhatsApp messages via webhook from Whapi.Cloud • Routes commands: AI chat (/ai), numeric commands (1-9), or help menu • Sends responses: text, images, documents, videos, conta

HTTP Request, OpenAI
AI & RAG

This workflow will allow you to use OpenAI Assistant API together with a chatting platform. This version is configured to work with Hubspot, however, the Hubspot modules can be replaced by other platf

HTTP Request, Airtable, OpenAI
AI & RAG

This template automates the extraction of structured data from Thai government letters received via LINE or uploaded to Google Drive. It uses Mistral AI for OCR and OpenAI for information extraction,

HTTP Request, Google Drive Trigger, Google Drive +4