πŸ”¬ Detect procurement conflicts of interest with Google Sheets, Slack and Groq

⚑ 3 views Β· πŸ”¬ Document Extraction & Analysis

Description

Quick overview

This workflow runs weekly to compare employee and supplier records in Google Sheets, score potential conflict-of-interest matches, and use Groq (LLM) to generate a neutral risk explanation. High-risk cases trigger a Slack alert, and medium/high-risk cases are logged to a Google Sheets audit tab.

How it works

  1. Runs every week on a schedule trigger.
  2. Reads employee and supplier data from two Google Sheets tabs.
  3. Compares each employee against each supplier, scoring potential conflicts using matches on names, emails, phones, addresses, city/last name signals, and transaction activity.
  4. For each case above the scoring threshold, uses Groq to generate a short, neutral compliance explanation with recommended next steps.
  5. Flags cases with a risk score of 70+ as high risk and posts a formatted alert to a Slack channel.
  6. Appends high-risk and medium-risk cases (including score, reasons, and AI summary) to a Google Sheets β€œConflictCases” tab for tracking.

Setup

  1. Create and populate a Google Sheets file with tabs for Employees, Suppliers, and a ConflictCases log, and ensure the columns used in the workflow (for example EmployeeName/Email/Phone/Address and Supplier owner/contact/spend fields) match your sheet headers.
  2. Add Google Sheets credentials in n8n and update the spreadsheet ID and sheet/tab selections in the Google Sheets nodes if you use a different file.
  3. Add a Groq API credential and confirm the selected model in the Groq chat model node.
  4. Add Slack credentials, select the target channel (for example #conflict-of-interest), and adjust the alert message template if needed.

Additional info

How To Customize Nodes

Add-ons

You can extend this workflow with:

Use Case Examples

  1. Detecting employees linked to supplier ownership
  2. Identifying suspicious vendor relationships in procurement
  3. Monitoring high-spend suppliers for conflicts
  4. Supporting internal audit investigations
  5. Ensuring compliance with corporate governance policies

There can be many more use cases depending on business needs and data availability.

Troubleshooting Guide

IssuePossible CauseSolution
No data fetched from Google SheetsWrong Sheet ID or permissions issueVerify document ID and OAuth credentials
Workflow not triggeringSchedule not configured properlyCheck trigger timing and activate workflow
No conflicts detectedData mismatch or normalization issueVerify input data format and fields
AI node not respondingMissing or invalid API keyReconfigure Groq credentials
Slack message not sentWrong channel ID or permissionsCheck Slack credentials and channel access
Data not saved in SheetsColumn mismatchEnsure column names match mapping

Need Help?

If you need assistance setting up this workflow or want to customize it for your business needs, feel free to reach out.

We at WeblineIndia specialize in building intelligent automation workflows using n8n, AI and cloud integrations. Whether you need enhancements, integrations or a completely custom solution, our team is here to help.

πŸ‘‰ Contact WeblineIndia to:

πŸ”— Nodes Used

Google Sheets, Slack, Schedule Trigger, AI Agent, Groq Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup