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.

0
Downloads
0
Views
8.18
Quality Score
beginner
Complexity
Author:Khaisa Studio(View Original →)
Created:8/18/2026
Updated:8/18/2026

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments