Generate AI governance policy PDFs with OpenAI, SerpAPI, Gotenberg and SharePoint
Needs changesWhat this workflow does
This AI workflow has 33 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects OpenAI Chat Model, SerpApi (Google Search), Microsoft SharePoint and Microsoft Outlook.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Process and Validate Data (Code): runs custom JavaScript code
- Respond via Webhook (Respond to Webhook): sends the response back to the webhook caller
- EU AI Act Research Agent (AI Agent): runs an AI agent, with model: OpenAI EU AI Act Analysis; 1 tool (Search EU AI Act)
- ABA Ethics Research Agent (AI Agent): runs an AI agent, with model: OpenAI ABA Ethics Analysis; 1 tool (Search ABA Ethics)
- Case Law Research Agent (AI Agent): runs an AI agent, with model: OpenAI Case Law Analysis; 1 tool (Search Case Law)
- Jurisdiction Regulations Agent (AI Agent): runs an AI agent, with model: OpenAI Jurisdiction Analysis; 1 tool (Search Jurisdiction Laws)
- Combine Research Findings (Merge): merges the data from its input branches
- Compile Research Data (Code): runs custom JavaScript code
- Executive Summary Agent (AI Agent): runs an AI agent, with model: OpenAI Summary Analysis
- Discussion Guide Agent (AI Agent): runs an AI agent, with model: OpenAI Discussion Analysis
…plus 10 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- AI Agent v1 (old agent modes) in EU AI Act Research Agent (v1.9), ABA Ethics Research Agent (v1.9), Case Law Research Agent (v1.9)…: replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- SerpApi (Google Search) in Search EU AI Act, Search ABA Ethics, Search Case Law…: no direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) EU AI Act Research Agent (v1.9), ABA Ethics Research Agent (v1.9), Case Law Research Agent (v1.9), Jurisdiction Regulations Agent (v1.9), Executive Summary Agent (v1.9), Discussion Guide Agent (v1.9), Draft Policy Agent (v1.9), Roadmap Development Agent (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| SerpApi (Google Search) Search EU AI Act, Search ABA Ethics, Search Case Law, Search Jurisdiction Laws | No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node |
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - SerpApi (Google Search)
@n8n/n8n-nodes-langchain.toolSerpApi - Merge
n8n-nodes-base.merge - HTTP Request
n8n-nodes-base.httpRequest - Microsoft SharePoint
n8n-nodes-base.microsoftSharePoint - Aggregate
n8n-nodes-base.aggregate - Microsoft Outlook
n8n-nodes-base.microsoftOutlook
From the author
Quick overview This workflow receives an intake-form webhook, validates and enriches firm details, uses OpenAI and SerpAPI to research AI governance obligations, generates four branded policy documents, converts them to PDFs via Gotenberg, uploads them to…