AutomationFlowsWeb Scraping › Homework Automation Pipeline (tutor Mode)

Homework Automation Pipeline (tutor Mode)

Homework Automation Pipeline (Tutor Mode). Uses httpRequest. Webhook trigger; 9 nodes.

Webhook trigger★★★★☆ complexity9 nodesHTTP Request
Web Scraping Trigger: Webhook Nodes: 9 Complexity: ★★★★☆ Added:

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": "Homework Automation Pipeline (Tutor Mode)",
  "nodes": [
    {
      "parameters": {
        "path": "homework-solve",
        "responseMode": "lastNode",
        "options": {}
      },
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        200,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://nexus-ollama:11434/api/generate",
        "sendBody": true,
        "contentType": "json",
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "llava:latest"
            },
            {
              "name": "prompt",
              "value": "Extract text and math formulas from this image. Transcribe exactly."
            },
            {
              "name": "images",
              "value": "={{ $json.body.images }}"
            },
            {
              "name": "stream",
              "value": false
            }
          ]
        },
        "options": {}
      },
      "name": "Vision (Extract)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        400,
        300
      ]
    },
    {
      "parameters": {},
      "name": "Context: Obsidian",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        600,
        300
      ],
      "notes": "Fetch local notes"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://nexus-ollama:11434/api/generate",
        "sendBody": true,
        "contentType": "json",
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "deepseek-r1:14b"
            },
            {
              "name": "prompt",
              "value": "You are a helpful Tutor. Do NOT just give the answer. Explain the steps clearly so the student learns.\n\nProblem: {{$json.response}}\nContext: {{$node[\"Context: Obsidian\"].json}}"
            },
            {
              "name": "stream",
              "value": false
            }
          ]
        },
        "options": {}
      },
      "name": "Tutor (DeepSeek R1)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        800,
        300
      ]
    },
    {
      "parameters": {
        "url": "=http://nexus-prime-backend:8080/tools/search?q={{ $json.response }}",
        "method": "GET"
      },
      "name": "Search Verification",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        1000,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://openrouter.ai/api/v1/chat/completions",
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "google/gemini-2.0-flash-exp:free"
            }
          ]
        }
      },
      "name": "Council: Gemini",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        1200,
        100
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://openrouter.ai/api/v1/chat/completions",
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "meta-llama/llama-3.3-70b-instruct:free"
            }
          ]
        }
      },
      "name": "Council: Llama 3.3",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        1200,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://openrouter.ai/api/v1/chat/completions",
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "qwen/qwen-2.5-coder-32b-instruct:free"
            }
          ]
        }
      },
      "name": "Council: Qwen Coder",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        1200,
        500
      ]
    },
    {
      "parameters": {
        "jsCode": "const votes = items.map(i => i.json.choices[0].message.content);\nreturn { json: { consensus: votes } };"
      },
      "name": "Consensus Judge",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        1400,
        300
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Vision (Extract)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Vision (Extract)": {
      "main": [
        [
          {
            "node": "Context: Obsidian",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Context: Obsidian": {
      "main": [
        [
          {
            "node": "Tutor (DeepSeek R1)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tutor (DeepSeek R1)": {
      "main": [
        [
          {
            "node": "Search Verification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Verification": {
      "main": [
        [
          {
            "node": "Council: Gemini",
            "type": "main",
            "index": 0
          },
          {
            "node": "Council: Llama 3.3",
            "type": "main",
            "index": 0
          },
          {
            "node": "Council: Qwen Coder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Council: Gemini": {
      "main": [
        [
          {
            "node": "Consensus Judge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Council: Llama 3.3": {
      "main": [
        [
          {
            "node": "Consensus Judge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Council: Qwen Coder": {
      "main": [
        [
          {
            "node": "Consensus Judge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

Homework Automation Pipeline (Tutor Mode). Uses httpRequest. Webhook trigger; 9 nodes.

Source: https://github.com/Acehfhd/nexus-command/blob/main/workflows/homework_automation.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

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

Web Scraping

This n8n template provides enterprise-level version control for your workflows using GitHub integration. Stop losing hours to broken workflows and manual exports – get proper commit history, visual di

n8n, Execute Workflow Trigger, HTTP Request +1
Web Scraping

This flow creates dummy files for every item added in your *Arrs (Radarr/Sonarr) with the tag .

HTTP Request, Ssh
Web Scraping

eek-Go v2 (Batch-Then-Review). Uses httpRequest. Webhook trigger; 75 nodes.

HTTP Request
Web Scraping

This workflow receives webhook requests from a content calendar and uses the X API v2 to publish text posts, threads, image/video posts, and polls, as well as delete existing posts and run a credentia

HTTP Request
Web Scraping

This workflow acts as a central API gateway for all technical indicator agents in the Binance Spot Market Quant AI system. It listens for incoming webhook requests and dynamically routes them to the c

HTTP Request