Library / Monitoring, Ops & Incidents
Monitoring, Ops & Incidents
Monitor supplier compliance news with Notion, Groq, MongoDB, Gmail and Slack
Scans news for supplier compliance risks, uses Groq to flag violations, enriches flagged suppliers from MongoDB, then drafts Gmail warnings and alerts Slack.
What it does
## Overview An n8n pipeline that monitors global news for supplier compliance risks, enriches alerts with MongoDB contract data, and uses Groq AI to automatically draft warnings and update Notion. ## How It Works 1. Fetch & Scan: Pulls suppliers from Notion and scans live news via API. 2. AI Analysis: Groq LLM evaluates news for violations and outputs structured JSON. 3. Data Enrichment: If risk is detected, fetches the supplier's contract details from MongoDB. 4. Automated Action: AI drafts a warning email to Gmail Drafts, alerts Slack, and updates the Notion CRM. 5. Error Handling: A built-in trigger catches failures and routes raw error logs to Slack. ## Quick Setup 1. Import: Load workflow.json into your n8n instance. 2. Credentials: Add keys/OAuth for Notion, News API, Groq, MongoDB, Gmail, and Slack. 3. Databases: * Notion: Create table with Supplier Name, Risk Status, Last Violation Date, AI Action Plan. * MongoDB: Create ProcurementDB > supplier_contracts collection (ensure company_name matches Notion). 4. Deploy: Toggle the workflow to Active.
The steps
- Fetch: Supplier Master List
- API: Fetch News Data
- Groq Chat Model
- AI: Extract Violation Signals
- Format: Parse AI Response
- Gate: Violation Detected?
- Groq Chat Model1
- Log: Update Supplier Risk Status
- Fetch: Supplier Contract Profile
- Merge: Violation + DB Profile
- Format: Clean Merged Payload
- AI: Draft Warning Email
- Trigger: On Workflow Error
- Alert: High-Risk Violation Found
16 steps in total.
Similar automations
AI Agents & AssistantsClassify supplier diversity and flag replacements with Groq, Notion and Slack15 stepsEmail AutomationEvaluate and rank supplier bids with MySQL, Groq LLM, Notion, and Gmail19 stepsEmail AutomationMonitor supplier diversity and ESG spend with Google Sheets, Groq and Notion18 stepsData Sync & ETLRank supplier RFPs with Groq LLM, Airtable and Slack15 steps