AutomationFlowsAI & RAG › Spendguard - AI Agent + Chat Model

Spendguard - AI Agent + Chat Model

SpendGuard - AI Agent + Chat Model. Uses agent, spendGuardChatModel, lmChatAnthropic. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexityAI-powered4 nodesAgentSpend Guard Chat ModelAnthropic Chat
AI & RAG Trigger: Event Nodes: 4 Complexity: ★★☆☆☆ AI nodes: yes Added:

This workflow follows the Agent → Anthropic Chat recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "SpendGuard - AI Agent + Chat Model",
  "nodes": [
    {
      "parameters": {},
      "id": "1d3a7c5e-0e0a-4f5b-9f3c-001100110011",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        220,
        360
      ]
    },
    {
      "parameters": {
        "text": "Tell me three things about agent-runtime budget guardrails."
      },
      "id": "2d3a7c5e-0e0a-4f5b-9f3c-002200220022",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1,
      "position": [
        520,
        360
      ]
    },
    {
      "parameters": {
        "budgetIdOverride": "",
        "route": "llm.call",
        "runIdSource": "executionId",
        "claimAmountAtomic": "1000000",
        "unit": "usd_micros"
      },
      "id": "3d3a7c5e-0e0a-4f5b-9f3c-003300330033",
      "name": "SpendGuard Chat Model",
      "type": "n8n-nodes-base.spendGuardChatModel",
      "typeVersion": 1,
      "position": [
        820,
        480
      ],
      "credentials": {
        "spendGuardApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "model": "claude-3-5-sonnet-20241022",
        "options": {}
      },
      "id": "4d3a7c5e-0e0a-4f5b-9f3c-004400440044",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "typeVersion": 1,
      "position": [
        1120,
        600
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "SpendGuard Chat Model",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "SpendGuard Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "versionId": "00000000-0000-0000-0000-000000000037",
  "tags": [
    "spendguard",
    "demo"
  ]
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

SpendGuard - AI Agent + Chat Model. Uses agent, spendGuardChatModel, lmChatAnthropic. Event-driven trigger; 4 nodes.

Source: https://github.com/m24927605/agentic-spendguard/blob/5287511067963488c512dbbc7597776cfc28dd66/examples/n8n/workflows/n8n_real.workflow.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

💬 Conversational Calendar Bot for Telegram This workflow creates an AI chatbot on Telegram that intelligently manages your Google Calendar using natural language. It even checks for conflicts before s

Telegram Trigger, Agent, OpenAI Chat +4
AI & RAG

A form collects a research goal and target audience from the user An AI agent (Claude Opus 4.7) plans the research and calls Bright Data's Web Unlocker to scrape Google results and source pages — hand

Form Trigger, Agent, Anthropic Chat +2
AI & RAG

Want to check out all my flows, follow me on:

Gmail Trigger, Gmail, Output Parser Structured +3
AI & RAG

This workflow automates Ideal Customer Profile (ICP) scoring for any company using a combination of Explorium data and an LLM-driven evaluation framework. Input: Company name is submitted via form. Da

Form Trigger, Agent, Mcp Client Tool +2
AI & RAG

Child Agent. Uses executeWorkflowTrigger, agent, lmChatAnthropic, memoryBufferWindow. Event-driven trigger; 7 nodes.

Execute Workflow Trigger, Agent, Anthropic Chat +2