Skip to main content

Description

Send AI chat messages using Anthropic Claude through Plura. Use this integration when you want to use Claude models for high-quality, safe conversational AI with advanced reasoning capabilities.

Authentication

  • Configure your Anthropic API key in your Plura workspace settings.

Available Actions

  • List available Claude models
  • Execute chat completions with Claude models
  • Support for multiple Claude models (Claude 4 Sonnet, Opus, Haiku)

Examples

Example 1: Claude - List Models List all available Anthropic Claude models.
{
  "automationType": "ai_chat",
  "nodeId": "ai-node-001",
  "nodeParams": {
    "action": "listModels",
    "params": {
      "provider": "anthropic"
    }
  }
}
Example 2: Claude - Chat Completion (Claude 4 Haiku) Execute a chat completion using Claude 4 Haiku model for fast responses.
{
  "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."
        }
      ]
    }
  }
}
Example 3: Claude - Chat Completion (Claude 4 Sonnet) Execute a chat completion using Claude 4 Sonnet model for balanced performance.
{
  "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
    }
  }
}
Example 4: Claude - Chat Completion (Claude 4 Opus) Execute a chat completion using Claude 4 Opus model for the most advanced reasoning.
{
  "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
    }
  }
}
Example 5: Claude - Chat Completion (Claude 3.5 Sonnet) Execute a chat completion using Claude 3.5 Sonnet model.
{
  "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
    }
  }
}

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

Third-Party Documentation