AutomationFlowsAI & RAG › AI Chat Agent with Anthropic Integration

AI Chat Agent with Anthropic Integration

Original n8n title: Trial

Trial. Uses chatTrigger, agent, lmChatAnthropic. Chat trigger; 4 nodes.

Chat trigger trigger★★☆☆☆ complexityAI-powered4 nodesChat TriggerAgentAnthropic Chat
AI & RAG Trigger: Chat trigger Nodes: 4 Complexity: ★★☆☆☆ AI nodes: yes Added:

This workflow follows the Agent → Chat Trigger 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": "My workflow",
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.4,
      "position": [
        -256,
        -48
      ],
      "id": "715bdb04-8c6c-4d24-a184-5ce644f231a6",
      "name": "When chat message received"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "hellonhi",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        -48,
        -48
      ],
      "id": "da849eb7-b65c-4daa-a07e-025239842509",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "path": "025cb870-9484-48b2-8e93-3bcfc8b0c656",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        -560,
        144
      ],
      "id": "a4edb0c8-4986-4ff9-af7f-ddb9dcd495ad",
      "name": "Webhook"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "claude-sonnet-4-5-20250929",
          "cachedResultName": "Claude Sonnet 4.5"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "typeVersion": 1.3,
      "position": [
        -64,
        144
      ],
      "id": "7f3a5603-980e-4a35-8ce9-3bd948547b82",
      "name": "Anthropic Chat Model"
    }
  ],
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "versionId": "f90366a3-d77d-494a-851d-179544d84f91",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "L9iCJtMWiI9E0hQG",
  "tags": []
}
Pro

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

About this workflow

Trial. Uses chatTrigger, agent, lmChatAnthropic. Chat trigger; 4 nodes.

Source: https://github.com/nishchithkulal/discord-reminder-bot/blob/dd5338ea5f3760b55db2422afc6f0d44bb41badd/workflows/trial.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

This workflow is designed to intelligently route user queries to the most suitable large language model (LLM) based on the type of request received in a chat environment. It uses structured classifica

Chat Trigger, Agent, Model Selector +7
AI & RAG

This workflow dynamically chooses between two new powerful Anthropic models — Claude Opus 4 and Claude Sonnet 4 — to handle user queries, based on their complexity and nature, maintaining scalability

Chat Trigger, Output Parser Structured, Agent +5
AI & RAG

This automation helps marketing and sales teams define their Ideal Customer Profile (ICP) using real LinkedIn profiles of current high-fit customers. By enriching and analyzing profile data, it genera

Chat Trigger, Agent, Anthropic Chat +3
AI & RAG

XML (Extensible Markup Language) engineering is a foundational technique in modern software and system architecture. It enables the structured creation, storage, and exchange of messages—such as syste

Chat Trigger, Anthropic Chat, Memory Buffer Window +1
AI & RAG

This workflow builds a conversational AI chatbot agent using Claude 3.7 Sonnet model with the new . It enhances standard LLM capabilities with Anthropic’s features: Web Search and Think:

Chat Trigger, Agent, Anthropic Chat +3