Templates / Monitor AI budgets and optimize costs with Anthropic Claude and Slack alerts

Monitor AI budgets and optimize costs with Anthropic Claude and Slack alerts

Ready for 3.0

by Cheng Siong Chin ✓ · 55 views · created 2026-02-22 · Document Extraction, AI Chatbot

Ready 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 23 nodes and runs on a schedule (every hour). Along the way it connects Anthropic Chat Model and Slack.

How it runs

Trigger: On a schedule (every hour).

  1. Workflow Configuration (Edit Fields (Set)): sets 5 fields: monthlyBudgetLimit, criticalThreshold, warningThreshold…
  2. Generate Mock Metrics Data (Code): runs custom JavaScript code
  3. Cost Intelligence Agent (AI Agent): runs an AI agent, with model: Anthropic Model - Cost Intelligence; output parser: Cost Analysis Output Parser
  4. Route by Budget Status (Switch): routes items into 3 branches
  5. Store Cost Analysis (Data table): uses Data table
  6. Optimization Coordinator Agent (AI Agent): runs an AI agent, with model: Anthropic Model - Coordinator; 3 tools (Budget Alert Agent Tool, Cost Projection Calculator Tool, Routing Recommendation Agent Tool); output parser: Coordinator Output Parser
  7. Route by Action Type (Switch): routes items into 2 branches
  8. Send Slack Alert (Slack): uses Slack
  9. Send Executive Report Email (Send Email): sends an email over SMTP
  10. Merge: merges the data from its input branches

…plus 1 more step. See the full node list below.

Services it uses

Anthropic Chat ModelSlack

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 (13)

From the author

How It Works This workflow automates enterprise budget monitoring and cost optimization using Anthropic Claude as the core AI engine across multiple specialist agents. It targets finance teams, operations managers, and CFOs managing complex multi-department…

Excerpt from Cheng Siong Chin's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.