ActionAnthropicUpdated September 2026

How do I call a Claude model from a workflow?

Short answer: You can create message in Anthropic by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Anthropic Create Message action to a workflow, map its 5 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.

Create Message in Anthropic — start free
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 run history shows the failed step with its input and the error message Anthropic returned, so you can fix the input and run the workflow again. Automatic retries are built into HTTP steps only, where you can also set your own retry count and delay.
Does Create Message support batch operations?
Run Create Message inside a loop to process each item in an array. TinyCommand does not throttle calls for you, so for large arrays add a Delay step if you need to stay within Anthropic's rate limits.
More actions

Other Anthropic actions.

Create Message in Anthropic — start free