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

Library / Email Automation

Email Automation

Evaluate and rank supplier bids with MySQL, Groq LLM, Notion, and Gmail

When you run it, it handles email with Groq and OpenAI / ChatGPT using Groq, Gmail, MySQL, Notion.

What it does

## Workflow Overview: AI-Powered Supplier Bid Evaluation This workflow acts as an automated Procurement Intelligence Engine for evaluating vendor proposals. It extracts submitted bids from a MySQL database, fetches live currency exchange rates, and standardizes financial and delivery metrics while anonymizing vendor names to prevent bias. ## How it works This workflow acts as an automated Procurement Intelligence Engine for your purchasing department. It processes submitted bids, standardizes currencies and delivery durations, and uses an AI proposal auditor to evaluate qualitative text and compliance certifications. A math engine calculates multi-factor weighted scenario scores to rank vendors objectively, logs individual supplier metrics to Notion, and synthesizes an executive summary to notify your team via Slack and email. ## Setup Steps * Start Workflow — Manually trigger the execution of the supplier evaluation pipeline. * Fetch Live Exchange Rates — Query external currency APIs to obtain live conversion rates. * Fetch Submitted Bids (MySQL) — Retrieve pending vendor proposal records from the database. * Normalize & Anonymize Data — Standardize currency values and delivery times while masking supplier identities. * AI Proposal Auditor — Evaluate qualitative text and compliance certifications using a Groq LLM and structured output parser. * Math & Ranking Engine — Calculate weighted scenario scores and sort suppliers into a final leaderboard. * Log Supplier to Notion — Save individual supplier metrics and scores to a Notion database. * Generate Executive Summary — Synthesize the ranked leaderboard data into a structured executive report using AI. * Send Slack Notification — Broadcast the formatted summary directly to the designated Slack channel. * Send Email Report — Convert the markdown report to HTML and email the final brief to stakeholders.

The steps

  1. Start Workflow
  2. Fetch Live Exchange Rates
  3. Fetch Submitted Bids (MySQL)
  4. Normalize & Anonymize Data
  5. Loop Through Bids
  6. AI Proposal Auditor
  7. Groq LLM (Auditor)
  8. Enforce Scoring Schema
  9. Wait for Next Item
  10. Extract Evaluated Scores
  11. Math & Ranking Engine
  12. Log Supplier to Notion
  13. Generate Executive Summary
  14. Groq LLM (Summarizer)

19 steps in total.

Similar automations