Probe AISIX model aliases and generate health reports for SRE teams
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set AISIX Probe Config (Edit Fields (Set)): sets 3 fields: aisix_base_url, probe_prompt, max_models
- List AISIX Model Aliases (HTTP Request): calls an HTTP API
- Build Model Probe Queue (Code): runs custom JavaScript code
- Route Discovery Result (Switch): routes items into 1 branches
- Probe Model via AISIX (HTTP Request): calls an HTTP API (POST)
- Return Discovery Failure (Edit Fields (Set)): sets 4 fields: status, stage, reason…
- Classify Probe Result (Code): runs custom JavaScript code
- Build AISIX Health Report (Code): runs custom JavaScript code
- Route Health Status (Switch): routes items into 1 branches
- Return Healthy Report (Edit Fields (Set)): sets 2 fields: status, report
…plus 1 more step. See the full node list below.
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 (5)
- 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
From the author
Quick Overview This workflow runs on demand to list model aliases from an AISIX AI Gateway and sends a small OpenAI-compatible Chat Completions probe to each alias, then returns a consolidated health report that flags rate limits, auth errors, policy blocks,…