# Automate peer review assignments with Sonar Pro AI: n8n workflow

> Started by another system calling it, and works across Discord, Email and Google Sheets. It hands the judgement calls to OpenRouter.

Source: https://millionrounds.com/workflow/automate-peer-review-assignments-with-sonar-pro-ai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Automate peer review assignments with Sonar Pro AI

Started by another system calling it, and works across Discord, Email and Google Sheets. It hands the judgement calls to OpenRouter. 21 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-peer-review-assignments-with-sonar-pro-ai)

**21 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 4 Model 3 Logic 5 Service 9

The steps in the order they run, from what starts it.

- 1 **Manual Trigger** Manual trigger *Starts it*
- 2 **Schedule Trigger** Schedule trigger *Starts it*
- 3 **Webhook - Assignment Submission** Webhook *Starts it*
- 4 **Structured Output Parser** Output Parser Structured *Model*
- 5 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 6 **Check Review Deadlines** Google Sheets *Service*
- 7 **Extract Submission Data** Set *Logic*
- 8 **AI Evaluation - Technical Criteria** Agent *Model*
- 9 **Filter Approaching Deadlines** Filter *Logic*
- 10 **Read Assignment File** Read PDF *Service*
- 11 **Store Evaluation Results** Set *Logic*
- 12 **Send Deadline Reminder - Teams** Microsoft Teams *Service*
- 13 **Send Deadline Reminder - Discord** Discord *Service*
- 14 **Send Deadline Reminder - Email** Email Send *Service*
- 15 **Split Peer Reviewers** Split Out *Logic*
- 16 **Save to Google Sheets - Grading** Google Sheets *Service*
- 17 **Create Evaluation Template** Set *Logic*
- 18 **Send Teams Notification** Microsoft Teams *Service*
- 19 **Send Discord Notification** Discord *Service*
- 20 **Send Email with Template** Email Send *Service*
- 21 **Webhook Response** Respond To Webhook *Starts it*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 21
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Discord, Email, Google Sheets
- **Model:** OpenRouter

## Questions

What does it need to run?

An n8n account, plus your own Discord, Email and Google Sheets accounts, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-peer-review-assignments-with-sonar-pro-ai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Discord](https://millionrounds.com/workflows?service=Discord#library)[Email](https://millionrounds.com/workflows?service=Email#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**AI multi-agent executive team for entrepreneurs with Gemini** 21 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/ai-multi-agent-executive-team-for-entrepreneurs-with-gemini)
- [**Book and remind appointments with Telegram and Gemini** 21 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/book-and-remind-appointments-with-telegram-and-gemini)
- [**Generate and schedule LinkedIn posts with Google Sheets** 21 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/generate-and-schedule-linkedin-posts-with-google-sheets)
- [**Manage restaurant reservations via WhatsApp with Gemini** 21 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/gestiona-reservas-de-restaurante-por-whatsapp-con-gemini-y)
- [**Prepare executive meeting briefs with Firecrawl and Tavily** 21 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/prepare-executive-meeting-briefs-with-firecrawl-and-tavily)
- [**Triage hospital queries and manage appointments with WhatsApp** 21 steps · calls a model · Google Sheets, WhatsApp](https://millionrounds.com/workflow/triage-hospital-queries-and-manage-appointments-with-whatsap)
