Library / AI Agents & Assistants
AI Agents & Assistants
Classify purchase requisitions with Gemini and route via Gmail, Slack, Sheets
Runs when a purchase requisition hits the webhook, uses Gemini to assign a procurement category with a confidence score, and auto-approves or escalates based on confidence and risk.
What it does
# Intelligent Purchase Requisition Categorization ## How it works: This workflow automates procurement request classification using AI. When a new purchase requisition (PR) is submitted through the webhook, the workflow validates and normalizes the incoming data before sending the requisition details to Google Gemini for intelligent category classification. The AI returns the final procurement category, confidence score, misclassification risk, suggested correction, and reasoning. Based on the confidence level and detected risk, the workflow automatically decides whether the PR should be auto-approved or escalated for manual procurement review. Approved and review-required requests are assigned routing statuses, stored in Google Sheets for audit tracking, and distributed through Gmail and Slack notifications so procurement teams stay informed about approvals, escalations, and processing outcomes in real time. ## Setup steps: 1. Connect Google Gemini API credentials 2. Configure Gmail OAuth2 credentials for email notifications 3. Connect Slack OAuth2 credentials for procurement alerts 4. Connect Google Sheets and create the PR tracking spreadsheet 5. Configure the webhook endpoint for PR submissions 6. Update email recipients and Slack channel IDs as needed 7. Customize procurement categories if required 8. Test the workflow with sample PR payloads 9. Activate the workflow after validation
The steps
- Trigger: New PR Submitted
- Validate & Normalize PR Data
- Google Gemini Chat Model
- AI: Categorize Purchase Requisition
- Parse AI Classification Result
- Calculate Classification Confidence
- Create Manual Review Ticket
- Set Final Procurement Category
- Merge Procurement Outcomes
- Store Procurement Record
- Merge PR Data With AI Result
- Set Manual Review Status
- Notify Procurement Approver
- Check Auto Approval Eligibility
15 steps in total.
Similar automations
Tasks & Project ManagementTriage purchase requisitions from Airtable with Groq, Google Sheets, and Slack16 stepsFinance, Invoices & AccountingRoute purchase approvals by spend and vendor risk with Postgres and Slack24 stepsEmail AutomationRoute purchase requisition approvals with Google Sheets and Gmail28 stepsDocuments, PDF & OCRExtract purchase orders from PDFs into Google Sheets with easybits and Drive15 steps