Route client onboarding and approvals with OpenAI, Gmail and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Google Sheets, Gmail and OpenAI Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- 02 — Normalize and Validate Intake (Code): runs custom JavaScript code
- 02B — Normalize Approval Decision (Code): runs custom JavaScript code
- 06 — Find Stale Approvals and Blocked Projects (Code): runs custom JavaScript code
- 03 — AI Scope and Risk Analysis (AI Agent): runs an AI agent, with model: 03A — OpenAI Scope Review Model
- 03B — Approved? (If): checks a condition and branches into true / false
- 07 — Append Audit Record (Google Sheets): append
- 04 — High Risk or Approval Required? (If): checks a condition and branches into true / false
- 04B — Rehydrate Approved Project Plan (Code): runs custom JavaScript code
- 04C — Notify Rejection and Pause Delivery (Gmail): uses Gmail
- 05B — Send Human Approval Request (Gmail): uses Gmail
…plus 1 more step. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Quick overview This workflow accepts client onboarding requests via webhook, uses OpenAI to analyze scope and delivery risk, routes high-risk work to Gmail-based human approval, and writes an audit trail to Google Sheets, with a daily scheduled sweep to log…