Integration library
Integration

Claude

Use an approved Claude model for selected conversation and reasoning steps.

Description

AIM AI can be configured to send approved call context to Claude and return a response to the workflow. Model choice, prompts, retention, and permitted data are agreed before implementation.

Authentication

  • An Anthropic API key is required.
  • Exact model access and approved actions are confirmed during workflow scoping.

Supported Actions (2)

These are the operations this integration can perform after the required credentials and permissions are approved.

  • List available Claude models
  • Execute chat completions with Claude models

Available Models

Latest
  • claude-4-sonnet-latest
  • claude-4-opus-latest
  • claude-4-haiku-latest
Previous
  • claude-3-5-sonnet-latest
  • claude-3-opus-latest
  • claude-3-haiku-latest

Examples

Use these representative payloads as a technical starting point, then replace the sample values with the approved workflow data.

Claude - List Models

Representative workflow configuration for Claude - List Models.

JSON
{
  "automationType": "ai_chat",
  "nodeId": "ai-node-001",
  "nodeParams": {
    "action": "listModels",
    "params": {
      "provider": "anthropic"
    }
  }
}
Claude - Chat Completion (Claude 4 Haiku)

Representative workflow configuration for Claude - Chat Completion (Claude 4 Haiku).

JSON
{
  "automationType": "ai_chat",
  "nodeId": "ai-node-004",
  "nodeParams": {
    "action": "chat",
    "params": {
      "provider": "anthropic",
      "model": "claude-4-haiku-latest",
      "apiKey": "YOUR_ANTHROPIC_API_KEY",
      "messages": [
        {
          "role": "user",
          "content": "Summarize this sentence in 10 words."
        }
      ]
    }
  }
}
Claude - Chat Completion (Claude 4 Sonnet)

Representative workflow configuration for Claude - Chat Completion (Claude 4 Sonnet).

JSON
{
  "automationType": "ai_chat",
  "nodeId": "ai-node-claude-sonnet-001",
  "nodeParams": {
    "action": "chat",
    "params": {
      "provider": "anthropic",
      "model": "claude-4-sonnet-latest",
      "apiKey": "YOUR_ANTHROPIC_API_KEY",
      "messages": [
        {
          "role": "system",
          "content": "You are a helpful AI assistant specialized in technical documentation."
        },
        {
          "role": "user",
          "content": "Explain the difference between synchronous and asynchronous programming."
        }
      ],
      "temperature": 0.7,
      "maxTokens": 500
    }
  }
}
Claude - Chat Completion (Claude 4 Opus)

Representative workflow configuration for Claude - Chat Completion (Claude 4 Opus).

JSON
{
  "automationType": "ai_chat",
  "nodeId": "ai-node-claude-opus-001",
  "nodeParams": {
    "action": "chat",
    "params": {
      "provider": "anthropic",
      "model": "claude-4-opus-latest",
      "apiKey": "YOUR_ANTHROPIC_API_KEY",
      "messages": [
        {
          "role": "user",
          "content": "Analyze this code snippet and suggest improvements: [code here]"
        }
      ],
      "temperature": 0.5,
      "maxTokens": 1000
    }
  }
}
Claude - Chat Completion (Claude 3.5 Sonnet)

Representative workflow configuration for Claude - Chat Completion (Claude 3.5 Sonnet).

JSON
{
  "automationType": "ai_chat",
  "nodeId": "ai-node-claude-35-sonnet-001",
  "nodeParams": {
    "action": "chat",
    "params": {
      "provider": "anthropic",
      "model": "claude-3-5-sonnet-latest",
      "apiKey": "YOUR_ANTHROPIC_API_KEY",
      "messages": [
        {
          "role": "user",
          "content": "Write a professional email to schedule a meeting."
        }
      ],
      "temperature": 0.6,
      "maxTokens": 300
    }
  }
}