Skip to content
ActionAnthropicUpdated May 2026

How do I upload a file (PDF, image, text) to Anthropic?

Short answer: Drop the "AnthropicUpload File" 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
File URL
file_url
stringRequiredPublic HTTPS URL the executor will fetch and upload as the file body. Anthropic's Files API requires a real binary upload — pass a URL that returns the raw file bytes (PDF, image, text, etc.). Signed S3 / CDN URLs work; one redirect is followed.
Filename (optional)
filename
stringOptionalOverride the filename Anthropic stores. If empty, the executor derives it from the URL's path.
Sample request
{
"file_url": "e.g. https://example.com/files/report.pdf",
"filename": "e.g. report.pdf"
}
Returns
{
"id": "file_abc",
"filename": "report.pdf",
"mime_type": "application/pdf",
"created_at": "2026-05-10T10:00:00Z",
"size_bytes": 12345
}

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

Triggered by

Apps that pair well as the trigger for Upload File.

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

FAQ

Questions about Upload File.

What does the Upload File action do in Anthropic?
Uploads a file (PDF, image, text) to Anthropic for use in messages via document blocks. Returns a file_id you reference instead of re-sending the bytes on every call.
What inputs does Upload File require?
Required: File URL. 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 Upload File support batch operations?
Yes. Run Upload File 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 upload file from your workflows.

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