Prioritize sourcing projects with Notion, Groq, Slack, and Gmail alerts
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every week at 08:00). Along the way it connects Groq Chat Model, Notion, Slack and Gmail.
How it runs
Trigger: On a schedule (every week at 08:00).
- Get a database page (Notion): get many (database page)
- Clean Notion Data (Edit Fields (Set)): sets 7 fields: pageId, projectName, value…
- Gate Check (If): checks a condition and branches into true / false
- Calculate Priority Score (Code): runs custom JavaScript code
- Switch: routes items into 2 branches
- Generate Rationale (AI Agent): runs an AI agent, with model: Groq Chat Model
- Auto-Rationale (Skip AI) (Edit Fields (Set)): sets 3 fields: pageId, priorityScore, aiRationale
- Format AI Output (Edit Fields (Set)): sets 4 fields: aiRationale, pageId, projectName…
- Merge: merges the data from its input branches
- Rank by Priority (Sort): sorts the items
…plus 5 more steps. See the full node list below.
Services it uses
Other Gmail + Slack templates (957) · Other Notion + Slack templates (152) · Other Groq + Gmail templates (125)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (12)
- Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Sort
n8n-nodes-base.sort - Notion
n8n-nodes-base.notion - Slack
n8n-nodes-base.slack - If
n8n-nodes-base.if - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Switch
n8n-nodes-base.switch - Merge
n8n-nodes-base.merge - Gmail
n8n-nodes-base.gmail
From the author
Quick Overview This workflow runs every Monday morning to pull unscored sourcing initiatives from a Notion database, calculate a risk-weighted priority score, optionally generate a Groq-based AI rationale for higher-priority items, write results back to…