Claude Connection
The Claude connection type enables automations to call Anthropic's Claude API for language generation, reasoning, document analysis, and agentic tasks. It supports the full Claude 4 model family — Opus 4, Sonnet 4, and Haiku 4 — across both standard and extended-thinking modes.
Connection Details
| Property | Value |
|---|---|
| Type ID | CLAUDE_AI |
| Category | AI Platforms |
| Testable | Yes |
Friendly Example
| What you enter | Example |
|---|---|
| Connection name | Claude - Contract Review |
| Used for | Extracting key clauses from uploaded contracts and flagging non-standard terms |
| Main details to collect | API key from console.anthropic.com |
| Best person to provide it | AI platform owner or the engineer who manages the Anthropic account |
After it is saved, workflow builders select Claude - Contract Review in a node instead of re-entering credentials every time.
Mandatory Fields
| Field | What It Means | Example |
|---|---|---|
apiKey | The secret key used to authenticate every request to the Anthropic API. Encrypted at rest. | sk-ant-api03-abc123... |
The key is shown only once when you create it. Store it in a password manager or directly in Qinfinite — never paste it into code or chat.
Advanced Fields
| Field | What It Means | Example |
|---|---|---|
defaultModel | The Claude model to use when a workflow step does not specify one. | claude-sonnet-4-6 |
maxTokens | Default maximum number of tokens the model may generate per response. Can be overridden per step. | 4096 |
baseUrl | Override the Anthropic API base URL. Use this for a corporate proxy or private deployment. Defaults to https://api.anthropic.com. | https://proxy.example.com/anthropic |
| Model ID | Description |
|---|---|
claude-opus-4-6 | Highest capability — complex reasoning, long documents, agentic tasks |
claude-sonnet-4-6 | Balanced speed and intelligence — recommended for most production workflows |
claude-haiku-4-5-20251001 | Fastest and most cost-efficient — best for high-volume, latency-sensitive steps |
Rate limits (requests per minute and tokens per minute) vary by usage tier. See Anthropic's rate limit documentation for details.
Setup Instructions
-
Sign in to console.anthropic.com. Create an account if you do not have one.
-
Open the API Keys page. In the left sidebar, click API Keys, then click Create Key. Give the key a descriptive name such as
Qinfinite Automation. -
Copy the key immediately. Anthropic shows the full key only once. Paste it into Qinfinite's API Key field before closing the dialog.
-
Set up billing. Navigate to Organization → Billing and add a payment method. Without an active payment method or credit balance, the API returns a
529or402error. -
(Optional) Select a default model. In the Advanced Fields, set
defaultModelto the model ID your workflows should use when none is specified. Start withclaude-sonnet-4-6unless you need maximum capability (Opus) or maximum throughput (Haiku).
Troubleshooting
| Symptom | Likely Cause | Fix |
|---|---|---|
401 authentication_error | The API key is wrong, revoked, or was copied with extra whitespace | Regenerate a fresh key at console.anthropic.com and update the connection |
429 rate_limit_error | Too many requests or too many tokens per minute for your tier | Add retry logic with exponential back-off; request a higher rate limit tier if needed |
529 overloaded_error | Anthropic's API is under high load | Implement retry with back-off; consider switching to a faster model like Haiku during peak periods |
404 model not found | The defaultModel value is incorrect or the model is not available on your account | Verify the exact model ID from the table above; check your tier for model access |