Review and approve supplier applications with OpenAI, Google Sheets, Gmail and Discord
Quick Overview This workflow monitors new supplier applications in Google Sheets, validates required fields, uses OpenAI to assess risk and recommend approval or follow-up, logs decisions back to Sheets, and notifies the team and applicants via Discord and Gmail, plus sends a monthly summary report.
How it works Triggers when a new row is added to the SupplierApplications sheet in Google Sheets. Normalizes the application fields and checks that company name, contact email, and category are present. Posts an invalid-application alert to Discord when required fields are missing. Sends valid applications to OpenAI (gpt-4o-mini) to categorize the supplier, score risk, and return an approval/request-info/reject recommendation. Writes the AI review results and status into the SupplierLog sheet in Google Sheets. If the application needs review, posts details to Discord and emails the supplier via Gmail requesting more information. If the application does not need review, posts an approval message to Discord and emails the supplier an approval confirmation via Gmail. On the first day of each month, reads SupplierLog from Google Sheets, summarizes the month with OpenAI, then emails and posts the summary to Discord.
Setup Create or select a Google Sheets document with SupplierApplications (incoming rows) and SupplierLog (review log) sheets, and update the document ID and sheet names if yours differ. Add Google Sheets OAuth credentials for both the trigger and the log read/append actions. Add an OpenAI API credential and confirm the model selection (gpt-4o-mini) in both AI steps. Add a Discord bot credential and set the target server and channel IDs for invalid, review, approval, and monthly report messages. Add a Gmail OAuth2 credential and update the recipient address for the monthly report email and any email templates or sender settings as needed.
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments