Templates / Route purchase order approvals and budget alerts with Gmail, Slack and Sheets

Route purchase order approvals and budget alerts with Gmail, Slack and Sheets

Ready for 3.0

by Avkash Kakdiya ✓ · 43 views · created 2026-06-16 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Slack, Gmail and Google Sheets.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Parse PO Payload (Code): runs custom JavaScript code
  2. Valid PO Request (If): checks a condition and branches into true / false
  3. Enrich & Classify PO (Edit Fields (Set)): sets 7 fields: poId, approvalTier, approverEmail…
  4. Alert Invalid Submission (Slack): uses Slack
  5. Route by Approval Tier (Switch): routes items into 3 branches
  6. Email Low-Tier Approver (Gmail): uses Gmail
  7. Email Mid-Tier Approver (Gmail): uses Gmail
  8. Email High-Tier Approver (Gmail): uses Gmail
  9. Read Department Budget (Google Sheets): lookup
  10. Budget Breach Check (If): checks a condition and branches into true / false

…plus 3 more steps. See the full node list below.

Services it uses

SlackGmailGoogle Sheets

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.

Nodes used (8)

From the author

Quick Overview This workflow receives purchase order requests via webhook, validates and enriches them, emails the correct approver through Gmail based on spend tier, checks department budgets in Google Sheets, sends budget warnings to Slack, logs each PO to…

Excerpt from Avkash Kakdiya's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.