Templates / Detect procurement workflow gaps with Google Sheets, OpenAI, and Gmail

Detect procurement workflow gaps with Google Sheets, OpenAI, and Gmail

Ready for 3.0

by WeblineIndia ✓ · 1 views · created 2026-09-28 · Document Extraction, AI Summarization

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 AI workflow has 16 nodes and runs on Google Sheets events. Along the way it connects Google Sheets, OpenAI and Gmail.

How it runs

Trigger: On Google Sheets events.

  1. Normalize Procurement Event Data (Code): runs custom JavaScript code
  2. Validate Required Procurement Fields (If): checks a condition and branches into true / false
  3. Retrieve Procurement Workflow State (Google Sheets): uses Google Sheets
  4. Record Invalid Event Result (Google Sheets): append or update
  5. Load Required Procurement Lifecycle Steps (Google Sheets): uses Google Sheets
  6. Assemble Procurement Context and Detect Workflow Gaps (Code): runs custom JavaScript code
  7. Check for Workflow Gap (If): checks a condition and branches into true / false
  8. Log Detected Procurement Gap (Google Sheets): append
  9. Update Procurement Workflow State (Google Sheets): append
  10. Generate Recovery Recommendation (OpenAI): uses OpenAI

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

Services it uses

Google SheetsOpenAIGmail

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 (6)

From the author

Quick overview This workflow watches procurement events in Google Sheets, validates and normalizes each entry, checks the procurement’s lifecycle state to detect missing required steps, and then uses OpenAI to recommend a recovery action, logs results back to…

Excerpt from WeblineIndia'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.