Kütüphane / E-posta Otomasyonu
E-posta Otomasyonu
Monitor supplier diversity and ESG spend with Google Sheets, Groq and Notion
On a schedule, it handles email with Groq and OpenAI / ChatGPT using Groq, Gmail, Google Sheets, Notion.
Ne yapar
# Supplier Diversity & ESG Spend Monitor This workflow provides an end-to-end procurement monitoring pipeline that evaluates YTD supplier spend against diversity and ESG targets. It calculates deterministic metrics in Code, then uses a Groq LLM only to recommend FROM → TO spend shifts when a target is missed. Validated recommendations are written to a Notion scorecard and emailed as a CPO briefing. High-impact shifts are flagged for human review — the workflow does not wait for approval. ## How it Works: 1. Runs every Monday, reading Suppliers, Procurement Spend, and Targets from Google Sheets. 2. Joins spend to the supplier master, then scores diverse / women-owned / minority-owned / ESG-qualified spend vs configurable targets. 3. If all targets are met, skip rebalancing and go straight to the executive summary. 4. If any target is missed, Code finds underused qualified suppliers and category gaps; Groq proposes shifts; Code validates, caps, and falls back if the AI output is invalid. 5. Prepare a CPO-ready payload, create a Notion scorecard page, and send a Gmail briefing. ## Setup Steps: * Set Config: Paste company_name, Google Sheet ID, tab names, Notion database ID, CPO email, and period. This is the only node most users need to edit. * Google Sheets: Authenticate and import suppliers.csv,transactions.csv, and targets.csv into the three tabs named in Set Config. * Notion: Create database Weekly Diversity Scorecard. Select options must match exactly: Overall Status ON_TRACK | NEEDS_ATTENTION | NO_DATA; metric Status MET | BELOW_TARGET; Priority HIGH | MEDIUM | LOW; Review Flag NONE | HUMAN_REVIEW. * Groq: Connect Groq credentials for both AI chains (openai/gpt-oss-20b). * Gmail: Connect Gmail so the weekly briefing can send. * Trigger: Default is Monday 09:00. Adjust Trigger Every Monday if needed. ESG-qualified spend = supplier esg_score ≥ minimum_esg_score. Primary objective is supplier diversity; ESG and risk are constraints.
Adımlar
- Set Config
- Get Suppliers
- Get Procurement Spend
- Normalize Data
- Calculate Spend Metrics
- Targets Met?
- Find Rebalancing Opportunities
- Groq Chat Model
- Validate Recommendations
- Groq Chat Model Summary
- Prepare Results
- Create Notion Scorecard
- Send Weekly Briefing
- AI - Analyze Opportunities
Toplam 18 adım.
Benzer otomasyonlar
E-posta OtomasyonuEvaluate and rank supplier bids with MySQL, Groq LLM, Notion, and Gmail19 adımFinans, Faturalar ve MuhasebeFatura E-postalarından Harcama Ayrıntılarını Yapay Zekayla Çıkarma21 adımE-posta OtomasyonuTriage and route Gmail leads with Groq, Notion CRM, and Twilio calls16 adımVeri Senkronizasyonu ve ETLRank supplier RFPs with Groq LLM, Airtable and Slack15 adım