Flag at-risk supplier deliveries with Google Sheets and Slack alerts
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs on a schedule (every 6 hours). Along the way it connects Google Sheets and Slack.
How it runs
Trigger: On a schedule (every 6 hours).
- Set Configuration Options (Edit Fields (Set)): sets 5 fields: spreadsheetId, slackChannel, timezone…
- Read Purchase Orders from Sheets (Google Sheets): uses Google Sheets
- Read Supplier History from Sheets (Google Sheets): uses Google Sheets
- Read Customer Commitments Sheets (Google Sheets): uses Google Sheets
- Read Carrier Tracking from Sheets (Google Sheets): uses Google Sheets
- Analyze Risk Data (Code): runs custom JavaScript code
- Check for Risk Presence (If): checks a condition and branches into true / false
- Draft Escalation Queue (Code): runs custom JavaScript code
- Append to Risk Register (Google Sheets): append
- Log Execution Results (Google Sheets): append
…plus 3 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview Youtube Video: https://youtube.com/shorts/LumCvtioHXg?feature=share This workflow runs every 6 hours to read purchase order, supplier history, customer commitment, and carrier tracking data from Google Sheets, score late-delivery risk, log…