PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

List Keys

Lists the keys (names) of the objects in an Amazon S3 bucket, optionally only under a prefix.

List Keys returns the keys of the objects in an Amazon S3 bucket as a list of text. Give a prefix to list only one folder. Use the list in a For Each, or pass it to Delete by Keys.

Before you start

The AWS S3 actions don't use a stored credential. Each action has the same four connection fields:

FieldTypeRequiredWhat to put
Access KeyTextYesThe access key ID of an AWS IAM user, for example AKIAโ€ฆ.
Secret KeyTextYesThe secret access key that belongs to that access key.
RegionTextYesThe AWS region of the bucket, as its code, for example eu-central-1.
BucketTextYesThe bucket name, for example my-company-invoices.

The IAM user needs S3 permissions on the bucket for the operation you run. The values you type are visible to everyone who can edit the process, so prefer an IAM user limited to the buckets the process needs.

Add the action

In the Process Designer toolbox, open AWS S3 and pick List Keys (or type List Keys in the search box).

The List Keys action properties: Access Key, Secret Key, Region, Bucket, Prefix and Result

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
Access Key, Secret Key, Region, BucketInputTextYesThe connection fields described above.
PrefixInputTextNoOnly keys that start with this text are listed, for example invoices/2026/. Leave empty to list the whole bucket.
ResultOutputList of TextYesThe full keys found, for example ["invoices/2026/inv-001.pdf", "invoices/2026/inv-002.pdf"].

Example

Prefix invoices/2026/ โ†’ Result lists every key under invoices/2026/, including keys in deeper "subfolders" such as invoices/2026/q1/inv-003.pdf.

Good to know

  • The prefix matches the start of the key: invoices also matches invoices-old/โ€ฆ. End it with / to list one folder only.
  • Keys are listed in alphabetical order, and subfolders are not separated: you get every key under the prefix.
  • One run returns at most 1,000 keys (one S3 listing page). Use a more specific prefix on large buckets.
  • If a connection field is empty, the step fails with "Invalid connection details."
  • Common errors from S3: "Access forbidden! Ensure the connection details are valid." (wrong keys or missing permission), "Unable to connect! Ensure the provided region matches the bucket one." (wrong Region), and "Unrecognized Amazon Region: โ€ฆ" (a region code that doesn't exist).

On this page