Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. Fetch: Supplier Master List
  2. API: Fetch News Data
  3. Groq Chat Model
  4. AI: Extract Violation Signals
  5. Format: Parse AI Response
  6. Gate: Violation Detected?
  7. Groq Chat Model1
  8. Log: Update Supplier Risk Status
  9. Fetch: Supplier Contract Profile
  10. Merge: Violation + DB Profile
  11. Format: Clean Merged Payload
  12. AI: Draft Warning Email
  13. Trigger: On Workflow Error
  14. Alert: High-Risk Violation Found

16 steps in total.

Similar automations