# Rerank PM priorities every 2 hours with OpenAI and Notion: n8n workflow

> Started by a clock, and works across Notion and Slack. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/rerank-pm-priorities-every-2-hours-with-openai-and-notion (Millionrounds; every figure on the page links to its filing or article)

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

# Rerank PM priorities every 2 hours with OpenAI and Notion

Started by a clock, and works across Notion and Slack. It hands the judgement calls to OpenAI. 40 steps, 2 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Frerank-pm-priorities-every-2-hours-with-openai-and-notion)

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

**2** Branches: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 1 Model 3 Logic 25 Service 11

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

- 1 **Rerank Trigger** Schedule trigger *Starts it*
- 2 **Read Settings** Notion *Service*
- 3 **Check Demo Mode** If *Logic*
- 4 **Get Open Priorities** Notion *Service*
- 5 **Get Recent Signals** Notion *Service*
- 6 **Get Meeting Decisions** Notion *Service*
- 7 **Get Urgent Emails** Notion *Service*
- 8 **Get Blocked Actions** Notion *Service*
- 9 **Sort Priorities** Sort *Logic*
- 10 **Filter High Signals** Filter *Logic*
- 11 **Normalize Meetings** Code *Logic*
- 12 **Filter Urgent Emails** Filter *Logic*
- 13 **Filter Overdue Actions** Filter *Logic*
- 14 **Limit Top 20** Limit *Logic*
- 15 **Normalize Signals** Code *Logic*
- 16 **Merge Context** Merge *Logic*
- 17 **Normalize Emails** Code *Logic*
- 18 **Normalize Blockers** Code *Logic*
- 19 **Normalize Priorities** Code *Logic*
- 20 **Build Priority Matrix** Code *Logic*
- 21 **Remove Duplicates** Remove Duplicates *Logic*
- 22 **AI Pass 1 - Impact** Open Ai *Model*
- 23 **Parse Impact** Code *Logic*
- 24 **Set Impact Scores** Set *Logic*
- 25 **AI Pass 2 - Urgency** Open Ai *Model*
- 26 **Parse Urgency** Code *Logic*
- 27 **Set Urgency Scores** Set *Logic*
- 28 **AI Pass 3 - Final Rank** Open Ai *Model*
- 29 **Parse Ranking** Code *Logic*
- 30 **Compare Rankings** Compare Datasets *Service*
- 31 **Any Changes** If *Logic*
- 32 **Build Change Summary** Code *Logic*
- 33 **Prepare Update Batch** Code *Logic*
- 34 **No Changes** No Op *Logic*
- 35 **Format Slack Update** Code *Logic*
- 36 **Batch Updates** Split In Batches *Logic*
- 37 **Slack No Changes** Slack *Service*
- 38 **Post Ranking Change** Slack *Service*
- 39 **Update Notion Priority** Notion *Service*
- 40 **Create Audit Log** Notion *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 40, with 2 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Notion, Slack
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Notion and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

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

How long does it take to set up?

Take your time. At 40 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 40 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%2Frerank-pm-priorities-every-2-hours-with-openai-and-notion)
- **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.

[Notion](https://millionrounds.com/workflows?service=Notion#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

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

- [**Generate consensus-based answers with Claude and OpenAI** 41 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/generate-consensus-based-answers-with-claude-and-openai)
- [**Turn ideas into movies with DeepSeek and RunwayML** 38 steps · calls a model · Dropbox, Notion](https://millionrounds.com/workflow/turn-ideas-into-movies-with-deepseek-and-runwayml)
- [**Route ERP tasks across departments with OpenAI and Slack** 44 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/route-erp-tasks-across-departments-with-openai-and-slack)
- [**Pyragogy AI Village - Orchestration Master with OpenAI** 35 steps · calls a model · Email, GitHub](https://millionrounds.com/workflow/pyragogy-ai-village-orchestrazione-master-with-openai)
- [**Pyragogy AI-driven handbook generator with OpenAI and GitHub** 35 steps · calls a model · Email, GitHub](https://millionrounds.com/workflow/pyragogy-ai-driven-handbook-generator-with-openai-and-github)
- [**Assist hospital doctors with Telegram and OpenAI** 34 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/assist-hospital-doctors-with-telegram-and-openai)
