Run procurement approvals with Google Sheets, Gmail, Google Docs, and Slack
Ready for 3.0What this workflow does
This workflow has 32 nodes and runs when someone submits an n8n form (“Purchase Request”) (plus 1 other trigger). Along the way it connects Gmail, Google Sheets, Google Docs and Slack.
How it runs
Trigger: When someone submits an n8n form (“Purchase Request”) (plus 1 other trigger).
- Workflow Configuration (Edit Fields (Set)): sets 11 fields: autoApproveMax, L1max, L2max…
- Load Purchase Log (Google Sheets): read (sheet within document)
- Validate Request (Code): runs custom JavaScript code
- Find Pending Request (Code): runs custom JavaScript code
- Is Request Valid? (If): checks a condition and branches into true / false
- Is Duplicate Decision? (If): checks a condition and branches into true / false
- Load Vendor List (Google Sheets): read (sheet within document)
- Notify Requester Invalid (Gmail): send (message)
- Log Decision Event (Google Sheets): append (sheet within document)
- Check Vendor Policy (Code): runs custom JavaScript code
…plus 20 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 (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets - Google Docs
n8n-nodes-base.googleDocs - Slack
n8n-nodes-base.slack - Webhook
n8n-nodes-base.webhook
From the author
Quick overview Run purchase approvals with policy checks and multi-level routing. A form collects the request, vendor, budget and duplicate checks run, then L1 to L3 approvals by amount, with a purchase order and a full audit trail in Sheets. How it works 1.…