Assess technical documentation compliance with GPT‑4o and send Slack alerts
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets. It also calls api.openai.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Document Input (Edit Fields (Set)): sets 4 fields: doc_url, doc_title, doc_type…
- Fetch Document Content (HTTP Request): calls an HTTP API
- Prepare Document for AI (Code): runs custom JavaScript code
- Score Documentation with AI (HTTP Request): calls api.openai.com (POST)
- Parse AI Compliance Report (Code): runs custom JavaScript code
- Route by Compliance Status (Switch): routes items into 3 branches
- Build Slack Report (Code): runs custom JavaScript code
- Slack — FAIL Alert (Engineering Channel) (HTTP Request): calls an HTTP API (POST)
- Slack — WARNING Alert (Review Channel) (HTTP Request): calls an HTTP API (POST)
- Slack — PASS Notice (Docs Channel) (HTTP Request): calls an HTTP API (POST)
…plus 1 more step. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011)
HTTP calls to: api.openai.com
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 (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Google Sheets
n8n-nodes-base.googleSheets
From the author
This n8n template demonstrates how to use AI to automatically review technical documentation against predefined compliance standards — and alert your team via Slack. Use cases: Engineering teams maintaining API docs, product teams enforcing terminology…