Monitor AI infrastructure costs and route budget alerts with Claude, NVIDIA, Slack, and Gmail
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-10-19.
What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every 15 minutes). Along the way it connects Anthropic Chat Model and Slack.
How it runs
Trigger: On a schedule (every 15 minutes).
- Workflow Configuration (Edit Fields (Set)): sets 6 fields: budgetThresholdUSD, warningThresholdUSD, slackCriticalChannel…
- Generate Mock AI Metrics Data (Code): runs custom JavaScript code
- Cost Intelligence Agent (AI Agent): runs an AI agent, with model: Anthropic Model - Cost Intelligence; output parser: Structured Output Parser
- Optimization Coordinator Agent (AI Agent): runs an AI agent, with model: Anthropic Model - Optimization; 2 tools (Budget Alert Tool, Routing Recommendation Tool); output parser: Structured Output Parser
- Store Cost Analysis History (Data table): uses Data table
- Route by Alert Level (Switch): routes items into 3 branches
- Store Optimization Recommendations (Data table): uses Data table
- Slack: uses Slack
- Slack: uses Slack
- Email - Executive Report (Send Email): sends an email over SMTP
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 - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Send Email
n8n-nodes-base.emailSend - Data table
n8n-nodes-base.dataTable
From the author
How It Works This workflow automates cost analysis and budget optimization for enterprises managing complex operational expenses. Designed for CFOs, finance teams, and operations managers, it addresses the challenge of identifying cost inefficiencies and…