Skip to content
ActionAnthropicUpdated May 2026

How do I call a Claude model from a workflow?

Short answer: Drop the "AnthropicCreate Message" action anywhere in your workflow, map the inputs from upstream nodes, and publish.

Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Model
model
optionsRequiredWhich Claude model to use
Message
message
stringRequiredThe user message to send to Claude
System Prompt
system
stringOptionalInstructions that shape how Claude responds
Max Tokens
max_tokens
stringRequiredMaximum number of tokens in the response (required by Anthropic API)
Temperature
temperature
stringOptionalControls randomness (0 = deterministic, 1 = creative). Default is 1.
Sample request
{
"model": "{{trigger.model}}",
"message": "e.g. Summarize this document...",
"system": "e.g. You are a helpful assistant that responds concisely.",
"max_tokens": "1024",
"temperature": "e.g. 0.7"
}
Returns
{
"id": "msg_abc123",
"role": "assistant",
"type": "message",
"model": "claude-sonnet-4-20250514",
"usage": {
"input_tokens": 10,
"output_tokens": 25
},
"content": [
{
"text": "Hello! How can I help you?",
"type": "text"
}
],
"stop_reason": "end_turn"
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Create Message.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Create Message.

What does the Create Message action do in Anthropic?
Sends a message to a Claude model and gets a response. The core Anthropic action; supports system prompts, multi-turn conversation, temperature, and stop sequences.
What inputs does Create Message require?
Required: Model, Message, Max Tokens. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Anthropic returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Create Message support batch operations?
Yes. Run Create Message inside a Loop node to process arrays. Tiny Command handles Anthropic's rate limits automatically so you don't have to throttle manually.
More actions

Other Anthropic actions.

Send create message from your workflows.

Triggered by anything in the catalog. Free tier available. No credit card.