Skip to content
ActionAnthropicUpdated May 2026

How do I run Claude messages in a batch?

Short answer: Drop the "AnthropicCreate Message Batch" 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
optionsRequiredModel. Options: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5
Prompt
prompt
stringRequiredThe prompt to send to each item in the batch
Max Tokens
max_tokens
stringOptionalMax Tokens
Custom ID
custom_id
stringRequiredYour unique ID for this batch request
Sample request
{
"model": "{{trigger.model}}",
"prompt": "{{trigger.prompt}}",
"max_tokens": "{{trigger.max_tokens}}",
"custom_id": "e.g. request-001"
}
Returns
{
"id": "batch_abc123",
"type": "message_batch",
"request_counts": {
"errored": 0,
"expired": 0,
"canceled": 0,
"succeeded": 0,
"processing": 1
},
"processing_status": "in_progress"
}

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

Triggered by

Apps that pair well as the trigger for Create Message Batch.

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

FAQ

Questions about Create Message Batch.

What does the Create Message Batch action do in Anthropic?
Creates a batch of messages for async processing on the Messages API, with a 50% cost reduction and up to 24-hour turnaround. Perfect for bulk classification, summarization, or labeling jobs.
What inputs does Create Message Batch require?
Required: Model, Prompt, Custom ID. 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 Batch support batch operations?
Yes. Run Create Message Batch 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 batch from your workflows.

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