Classify industrial waste and route vendors with Gemini and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 59 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Slack, Google Sheets, Google Gemini Chat Model and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Check Request Validity (If): checks a condition and branches into true / false
- Has Request ID (If): checks a condition and branches into true / false
- Get Pending Approvals (Google Sheets): uses Google Sheets
- Format Error Alert (Code): runs custom JavaScript code
- Set Request Fields (Edit Fields (Set)): sets 13 fields: requestId, receivedAt, companyName…
- Send Response for Invalid Request (Respond to Webhook): sends the response back to the webhook caller
- Lookup Request Status (Google Sheets): uses Google Sheets
- Send Status Bad Request (Respond to Webhook): sends the response back to the webhook caller
- Filter: keeps only the items that match a condition
- Post Error Alert to Slack (Slack): uses Slack
…plus 39 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (16)
- Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets - Aggregate
n8n-nodes-base.aggregate - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Filter
n8n-nodes-base.filter - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview Youtube Video: https://youtube.com/shorts/MhutEWjbG8o This workflow receives industrial waste disposal requests via webhook, logs them to Google Sheets, classifies the waste and documentation needs with Google Gemini using rules from a sheet,…