Automate supplier risk scoring with D&B, NewsAPI & alerts to Gmail
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs on a schedule (cron expression). Along the way it connects Postgres, Gmail and Google Sheets. It also calls api.newsapi.org over HTTP.
How it runs
Trigger: On a schedule (cron expression).
- Risk Settings (Edit Fields (Set)): sets or maps fields
- Get Active Suppliers (Postgres): uses Postgres
- Get Financial Health (HTTP Request): calls an HTTP API (GET)
- Monitor News & Events (HTTP Request): calls api.newsapi.org (GET)
- Get Performance Data (Postgres): uses Postgres
- Calculate Risk Score (Code): runs custom JavaScript code
- Filter Critical Risks (If): checks a condition and branches into true / false
- Filter High Risks (If): checks a condition and branches into true / false
- Filter Medium Risks (If): checks a condition and branches into true / false
- Track Risk Assessment (Google Sheets): append row (sheet)
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: api.newsapi.org
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 (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Postgres
n8n-nodes-base.postgres - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets
From the author
How it works - Continuous monitoring: Real-time surveillance of supplier performance, financial health, and operational status - Risk scoring: AI-powered assessment of supplier risks across multiple dimensions (financial, operational, geopolitical) -…