Templates / Predict supplier churn and generate retention plans with Notion, Slack, and Groq

Predict supplier churn and generate retention plans with Notion, Slack, and Groq

Ready for 3.0

by WeblineIndia ✓ · 16 views · created 2026-07-06 · CRM, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Notion, Basic LLM Chain, Groq Chat Model and Structured Output Parser and 1 more.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Fetch Supplier Data (Notion): get many (database page)
  2. Compute Supplier Risk Features (Code): runs custom JavaScript code
  3. Process Suppliers Sequentially (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Rate Limit (Wait): pauses before continuing
  5. AI Churn Risk Predictor (Basic LLM Chain): sends a prompt to an LLM, with model: LLM; output parser: Parse Churn Prediction Output
  6. Normalize AI Risk Output (Edit Fields (Set)): sets 4 fields: churn_risk, risk_score, confidence…
  7. AI Retention Strategy Generator (Basic LLM Chain): sends a prompt to an LLM, with model: LLM(openai/gpt-oss-120b); output parser: Parse Retention Strategy Output
  8. Normalize Retention Plan (Edit Fields (Set)): sets 4 fields: priority, recommended_actions, owner…
  9. Check High Risk Supplier (If): checks a condition and branches into true / false
  10. Slack: uses Slack

…plus 1 more step. See the full node list below.

Services it uses

NotionBasic LLM ChainGroq Chat ModelStructured Output ParserSlack

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 (11)

From the author

Quick overview This workflow runs weekly to pull supplier activity from Notion, engineer churn-risk features, and use Groq-hosted LLM prompts to classify supplier churn risk and generate retention plans. It updates each supplier record in Notion and posts a…

Excerpt from WeblineIndia'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.