Claude
Ask Anthropic's Claude models from your Process: answer, summarise, classify, extract data as JSON, read PDFs and images, search and read the web, run code and make files.
This is the core of the Claude family. Three more Modules cover the rest of Anthropic's API:
| Module | What it does |
|---|---|
| Claude (this page) | Send a message, count tokens, list models |
| Claude Agents | An agent that calls your Process: each function is a branch |
| Claude Files & Skills | Upload files once and reuse them; create skills; download files Claude made |
| Claude Batch | Many messages at half the price, answered within 24 hours |
Configuration
Each Claude Module is configured separately, per Environment, with its own Anthropic API key: paste the same key into each, or give each one a key of its own.
| Field | Type | Required | Description |
|---|---|---|---|
| Anthropic API key | string | Yes | Your Anthropic API key (sk-ant-...). Stored securely. Create one in the Claude Console → API keys. The key's workspace decides the spend limits and rate limits. |
| Processing region | choice | No | Where Claude processes the requests: Default, Global, or United States. Some regions cost more. |
| API address | string | No | Leave empty for https://api.anthropic.com. Only for an Anthropic-compatible gateway your organization runs. |
| Default model | string | No | The model a step uses when its own Model field is empty. Default claude-opus-5-5. |
Requests are processed by Anthropic in the United States (or where the Processing region says). Anthropic does not train on API data.
Choosing a model and effort
| Model | Good for |
|---|---|
claude-opus-5-5 (default) | Most work: reasoning, writing, extraction, agents |
claude-sonnet-5-5 | Everyday work, a bit faster and cheaper |
claude-haiku-5-5 | High volume, simple steps (classification, routing), lowest cost |
claude-fable-5-2 | The hardest problems, at a higher price |
Claude always thinks before it answers. Effort sets how much: Low answers fastest and costs least; High, Extra high and Max think longer. Default is the model's own (Medium on Opus 5.5 and Haiku 5.5, High on the others). Thinking counts toward Max tokens.
Tasks
All Tasks in this Module are Generic (all Channels).
ClaudeMessageTask
Sends one message to Claude and stores the answer.
| Property | Type | Required | Example | Description |
|---|---|---|---|---|
| Instructions | prompt | No | You are a support agent for Acme. Answer in Italian. | The system prompt. Supports {variable} placeholders. |
| Message | prompt | Yes | Summarise this email: {email.body} | What you ask. |
| Files | file field | No | ref-session:{email.attachments} | Images (JPEG, PNG, GIF, WebP), PDFs (scanned too) and text files Claude reads with the message. Up to 20 files, about 22 MB together. |
| Uploaded file ids | text | No | {upload.id} | Files uploaded once with Claude Upload file, comma-separated. |
| Image URL | text | No | https://example.com/photo.jpg | An image Claude downloads and reads. |
| Model | text | No | claude-sonnet-5-5 | Empty: the Environment's default. |
| Effort | choice | No | Low | See above. |
| Max tokens | number | No | 4000 | Longest answer (thinking included), up to 32000. Default 16000. |
| Fast mode | yes / no | No | Claude Opus 5.5 only: up to 2.5 times faster, twice the price. | |
| Web search | yes / no | No | Claude may search the web (billed per search). Allowed sites and Max searches narrow it. | |
| Web fetch | yes / no | No | Claude may read web pages whose address is in the message or its search results. | |
| Code execution | yes / no | No | Claude runs code in an Anthropic sandbox; files it makes land in {claude.files}. | |
| Skills | text | No | xlsx, skill_01AbC@3 | Skills to load: Anthropic's xlsx, pptx, docx, pdf, or your own (from Create skill). Turns code execution on. |
| Container id | text | No | {claude.containerId} | Reuse the sandbox of an earlier step, with its files. |
| JSON schema | JSON | No | The answer must follow this schema; the parsed answer goes to {claude.json}. Every object needs "additionalProperties": false. | |
| Cite sources | yes / no | No | Claude quotes the passages of the files it relies on, in {claude.citations}. Not together with a JSON schema. | |
| Retry refusals on another model | yes / no | No | On | When Claude's safety checks decline the message, Anthropic answers it with another model in the same call. |
| Store the result in | variable | Yes | {claude} | See below. |
Result ({claude}):
| Field | Description |
|---|---|
text | The answer. |
json | The parsed answer, with a JSON schema. |
stopReason | end_turn (finished), max_tokens (cut at Max tokens: the answer is kept), refusal. |
refused, refusalCategory | Set when Claude declined. |
files | Files Claude made: {claude.files.0}, {claude.files.count}. Usable in any file field. |
citations | citedText, documentTitle, startPage, endPage, url. |
usage | inputTokens, outputTokens, cacheReadInputTokens, cacheCreationInputTokens, webSearchRequests. |
model, id, containerId | The model that answered, the message id, the sandbox. |
Error flow. The step takes its error flow when the API key is missing, Anthropic refuses the request (bad input, rate limit, overload), or Claude declines the message ({claude.refused} is then true).
Long system prompts are cached automatically: a repeat costs a fraction of the first call.
Example: read an invoice into JSON. Files ref-session:{email.attachments.0}, Message Extract the invoice., JSON schema:
{
"type": "object",
"properties": {
"number": { "type": "string" },
"total": { "type": "number" },
"due": { "type": "string", "format": "date" }
},
"required": ["number", "total", "due"],
"additionalProperties": false
}
Then {claude.json.total} is the total.
ClaudeCountTokensTask
Counts the input tokens a message would cost, without sending it. Same Instructions, Message, Files and Model fields as Send message; the count goes to {tokens}.
ClaudeListModelsTask
Lists the models your key can use (id, displayName, maxInputTokens, maxTokens, capabilities) in {models}.
ClaudeGetModelTask
Reads one model's details into {model}; fails when your key can't use it.