Validate clinical trial and lab signals with OpenAI for regulatory governance
Ready for 3.0Ready 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-12-01.
What this workflow does
This AI workflow has 18 nodes and runs on a schedule (every day). Along the way it connects OpenAI Chat Model.
How it runs
Trigger: On a schedule (every day).
- Workflow Configuration (Edit Fields (Set)): sets 4 fields: clinicalTrialApiUrl, labProductionApiUrl, qualityTeamEmail…
- Fetch Clinical Trial Signals (HTTP Request): calls an HTTP API
- Fetch Lab & Production Signals (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Clinical Signal Validation Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Clinical Signal Agent; output parser: Clinical Signal Output Parser
- Regulatory Governance Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Governance Agent; output parser: Governance Output Parser
- Route by Governance Action (Switch): routes items into 3 branches
- Log Regulatory Report (Data table): uses Data table
- Log Batch Release (Data table): uses Data table
- Log Post-Market Surveillance (Data table): uses Data table
…plus 3 more steps. See the full node list below.
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 (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Switch
n8n-nodes-base.switch - Data table
n8n-nodes-base.dataTable - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend
From the author
How It Works This workflow automates clinical trial signal validation and regulatory governance through intelligent AI-driven oversight. Designed for clinical research organizations, pharmaceutical companies, and regulatory affairs teams, it solves the…