Blocks

Anthropic Claude

Generate text with Claude AI models.

Connect to Anthropic Claude API to generate high-quality text using Claude 4 Opus, Sonnet, and other models.

Back to Catalog
Toolsanthropic

Block Preview

Anthropic

Anthropic Claude

Generate text with Claude AI models.

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the anthropic block with monitoring enabled in production.

Inputs (UI)

API Key

short-input

Placeholder: sk-ant-...

Layout: full

Model

dropdown

Layout: full

Options: Claude 4 Opus (Latest), Claude 4 Sonnet (Latest), Claude 3.5 Sonnet, Claude 3.5 Haiku (Fast)

System Prompt

long-input

Placeholder: You are a helpful assistant...

Layout: full

User Prompt

long-input

Placeholder: Enter your prompt here...

Layout: full

Max Tokens

short-input

Placeholder: 1024

Layout: half

Temperature

short-input

Placeholder: 1.0 (0-1)

Layout: half

Inputs (API)

apiKey

string

Required

model

string

Required

prompt

string

Required

systemPrompt

string

Optional

maxTokens

number

Optional

temperature

number

Optional

Outputs

Primary response type:

{
  "success": "boolean",
  "content": "string",
  "usage": "json",
  "model": "string",
  "stopReason": "string"
}

Tool Access

anthropic_chat
Anthropic Claude | NowFlow Blocks