Run multi-model research analysis and email reports with GPT-4, Claude and NVIDIA NIM
Ready for 3.0What this workflow does
This workflow has 39 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Postgres and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Workflow Configuration (Edit Fields (Set)): sets 14 fields: azureHealthEndpoint, awsHealthEndpoint, googleHealthEndpoint…
- Parse Request & Validate (Code): runs custom JavaScript code
- Analyze Prompt Complexity (Code): runs custom JavaScript code
- Check Azure OpenAI Health (HTTP Request): calls an HTTP API
- Check AWS Bedrock Health (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Score & Rank Models (Code): runs custom JavaScript code
- Check Policy Constraints (If): checks a condition and branches into true / false
- Apply Policy Routing (Code): runs custom JavaScript code
- Route to Selected Model (Switch): routes items into 4 branches
…plus 28 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)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Wait
n8n-nodes-base.wait - Postgres
n8n-nodes-base.postgres - Slack
n8n-nodes-base.slack - Send Email
n8n-nodes-base.emailSend
From the author
How It Works This workflow automates end-to-end research analysis by coordinating multiple AI models—including NVIDIA NIM (Llama), OpenAI GPT-4, and Claude to analyze uploaded documents, extract insights, and generate polished reports delivered via email.…