ActionBackblaze B2Updated June 2026

How do I list files in a B2 bucket?

Short answer: You can list file names in Backblaze B2 by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Backblaze B2 List File Names action to a workflow, map its 3 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.

FieldTypeRequiredDescription
Bucket ID
bucketId
stringOptional
Prefix
prefix
stringOptional
Max
maxFileCount
stringOptional
Sample request
{
"bucketId": "{{trigger.bucketId}}",
"prefix": "{{trigger.prefix}}",
"maxFileCount": "{{trigger.maxFileCount}}"
}
Returns
{
"files": [
{
"fileId": "abc",
"fileName": "file.png",
"contentLength": 1024,
"uploadTimestamp": 1620000000000
}
]
}

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

Triggered by

Apps that pair well as the trigger for List File Names.

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

FAQ

Questions about List File Names.

What does the List File Names action do in Backblaze B2?
Returns paginated files within a bucket, optionally filtered by prefix. Useful for inventorying bucket contents or for batch processing of files matching a pattern (e.g., "all .csv files under exports/2026-05/").
What inputs does List File Names require?
List File Names has no required inputs. Sensible defaults are applied if you leave fields blank.
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 Backblaze B2 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 List File Names support batch operations?
Yes. Run List File Names inside a Loop node to process arrays. TinyCommand handles Backblaze B2's rate limits automatically so you don't have to throttle manually.
More actions

Other Backblaze B2 actions.

Action
Authorize B2 Account
B2's two-step auth — exchanges the application key for a short-lived (24h) session token used for actual operations. The runtime caches the token, so most workflows don't call this directly; it's mostly for explicit re-auth or for debugging.