Templates / Automate peer review assignments with GPT-4-nano, Slack and email notifications

Automate peer review assignments with GPT-4-nano, Slack and email notifications

Needs changes

by Cheng Siong Chin ✓ · 89 views · created 2025-10-30 · Document Extraction, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 20 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Slack and Postgres. It also calls dashboard.university.edu over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Store Assignment Data (Edit Fields (Set)): sets or maps fields
  2. Distribute Peer Assignments (Code): runs custom JavaScript code
  3. Generate Review Rubric (AI Agent): runs an AI agent, with model: OpenAI Model; output parser: Structure Parser
  4. Notify on Slack (Slack): uses Slack
  5. Email Reviewers (Send Email): sends an email over SMTP
  6. Prepare Response Data (Edit Fields (Set)): sets or maps fields
  7. Calculate Peer Score (Code): runs custom JavaScript code
  8. Respond to Webhook: sends the response back to the webhook caller
  9. Store Review Results (Postgres): uses Postgres
  10. Check Completion Status (Code): runs custom JavaScript code

…plus 5 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelSlackPostgres

HTTP calls to: dashboard.university.edu

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Generate Review Rubric (v1.7), Generate Final Report (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Generate Review Rubric (v1.7), Generate Final Report (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

Introduction Automate peer review assignment and grading with AI-powered evaluation. Designed for educators managing collaborative assessments efficiently. How It Works Webhook receives assignments, distributes them, AI generates review rubrics, emails…

Excerpt from Cheng Siong Chin's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.