This workflow is designed for B2B/SaaS teams who want to secure renewals before it’s too late.
It runs every day, identifies all accounts whose licenses are up for renewal in J–30, enriches them with CRM, product usage and support data, computes an internal churn risk level, and then triggers the appropriate playbook:
Everything is logged into a database table so that you can build dashboards, run analysis, or plug additional automations on top.

Daily detection (J–30 renewals)
A scheduled trigger runs every morning and queries your database (Postgres / Supabase) to fetch all active subscriptions expiring in 30 days. Each row includes the account identifier, name, renewal date and basic commercial data.
Data enrichment across tools
For each account, the workflow calls several business systems to collect context:
All of this is merged into a single, unified item.
Churn scoring & routing
An internal scoring step evaluates the risk for each account based on multiple signals (engagement, usage, support, timing).
The workflow then categorizes each account into one of three risk levels:
A Switch node routes each account to the relevant playbook.
Automated playbooks
🔴 HIGH risk
🟠 MEDIUM risk
🟢 LOW risk
Logging & daily reporting
For every processed account, the workflow prepares a structured log record (account, renewal date, risk level, basic context).
A Postgres node is used to insert the data into a churn_logs table.
At the end of each run, all processed accounts are aggregated and a daily summary email is sent (for example to the Customer Success leadership team), listing the renewals and their risk levels.
Database
churn_logs (or equivalent) to store workflow decisions and history.account_id, account_name, end_date, riskScore, riskLevel, playbook, trello_link, jira_link, timestamp.External APIs
Communication & task tools
Configuration variables
Init config & thresholds node:
days_before_renewalchurn_threshold_highchurn_threshold_mediumWatch the Youtube Tutorial video
I’m Yassin a Project & Product Manager Scaling tech products with data-driven project management.
📬 Feel free to connect with me on Linkedin