Production AI Playbook: Human Oversight (Exercise 3)
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs when someone submits an n8n form (“Content Approval Request”). Along the way it connects OpenAI Chat Model, Slack and Gmail.
How it runs
Trigger: When someone submits an n8n form (“Content Approval Request”).
- AI Agent: runs an AI agent, with model: OpenAI Chat Model
- Route by Channel (Switch): routes items into 2 branches
- Slack: send and wait for a reply
- Email Approval Request (Gmail): send and wait for a reply
- Slack Decision (Switch): routes items into 3 branches
- Email Decision (Switch): routes items into 3 branches
- Escalate to Manager (Gmail): uses Gmail
- Publish Content (Code): runs custom JavaScript code
- Handle Rejection (Code): runs custom JavaScript code
Services it uses
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 (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail
From the author
Route AI-generated content to reviewers on Slack or email, with automatic escalation if nobody responds. This template demonstrates a full multi-channel review workflow with timeout handling. What you'll do - Submit content through a Form Trigger with a body…