Skip to content
ActionBackblaze B2Updated May 2026

How do I list files in a B2 bucket?

Short answer: Drop the "Backblaze B2List File Names" 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
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. Tiny Command handles Backblaze B2's rate limits automatically so you don't have to throttle manually.
More actions

Other Backblaze B2 actions.

Send list file names from your workflows.

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