ActionAnthropicUpdated September 2026
How do I run Claude messages in a batch?
Short answer: You can create message batch in Anthropic by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Anthropic Create Message Batch action to a workflow, map its 4 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.
Inputs
The fields this action accepts.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Model model | options | Required | Model. Options: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5 |
Prompt prompt | string | Required | The prompt to send to each item in the batch |
Max Tokens max_tokens | string | Optional | Max Tokens |
Custom ID custom_id | string | Required | Your 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 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 Batch support batch operations?
Run Create Message Batch 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.
Action
Analyze Image
Sends an image to Claude for analysis (vision), via URL or base64 bytes alongside a text prompt. Use for OCR, chart extraction, accessibility alt-text, or visual QA flows.
ActionCancel Message Batch
Cancels a message batch that is still processing. Already-completed entries in the batch keep their results; in-flight ones get cancelled with no charge.
ActionComputer Use
Sends a message with the computer-use tool, letting Claude take screenshots and click/type on a virtual desktop. Requires Opus 4.x or Sonnet 4.x; you provide the sandboxed desktop environment.
ActionCount Tokens
Counts the number of tokens a Messages API call would consume without actually sending the message. Useful for cost estimation and to stay under context-window limits.
ActionCreate Message
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.
ActionCreate Message with Tools
Sends a message with tool definitions. Claude returns tool_use blocks when it wants to call a function; you execute the call and feed results back as tool_result blocks for the next turn. The foundation for agentic workflows.