Amazon S3
App · Cloud Computing · 16 actions
Store, retrieve, and share files in Amazon S3: upload and download objects, list a bucket, copy, move and delete objects, generate pre-signed URLs, and start a workflow when a new object arrives.
Actions
| Action | What it does |
|---|---|
| Copy object in S3 | Copy an object to a new key, in the same bucket or another one (up to 5 GB). |
| Create folder in S3 | Make an empty folder in a bucket, as the S3 console's Create folder does, so it shows before any file is put in it. |
| Create pre-signed S3 URL | Create a time-limited, pre-signed URL to download (or upload) an S3 object without sharing your AWS credentials. |
| Create S3 bucket | Make a new, empty, private bucket. |
| Delete folder from S3 | Delete a folder and every file in it, including its own folders, up to 10,000 files per step. |
| Delete object from S3 | Delete an object from an S3 bucket. |
| Delete S3 bucket | Delete an empty bucket for good. |
| Delete several objects from S3 | Delete up to 1,000 objects from one bucket at once. |
| Download object from S3 | Download an object from an S3 bucket and save it to a local file. |
| Get object details from S3 | Check whether an object is in a bucket and, if it is, get its size, type and when it last changed, without downloading it. |
| List folders in S3 bucket | List the folders directly inside a bucket, or inside one of its folders. |
| List objects in S3 bucket | List objects in an S3 bucket, optionally filtered by key prefix. |
| List S3 buckets | List the S3 buckets the connected AWS user can see. |
| Move or rename object in S3 | Move an object to a new key, or another bucket, and delete it from where it was (up to 5 GB). |
| Read text object from S3 | Read a text file in S3, such as a CSV, JSON or notes file of up to 1 MB, and hand its text to the next steps. |
| Upload object to S3 | Upload an object to an S3 bucket from inline text or a local file. |
Copy object in S3
Copy an object to a new key, in the same bucket or another one (up to 5 GB). It won't overwrite an object already at the new key unless you turn on Replace an existing object.
Inputs
- Bucket
buckettextRequired - The S3 bucket the object to copy is in.
- Object key
keytextRequired - The key of the object to copy, e.g. reports/june.pdf.
- New object key
destination_keytextRequired - Where to copy it: the new key, e.g. archive/june.pdf.
- Destination bucket
destination_buckettext - The bucket to copy it into. Leave blank to keep it in the same bucket.
- Replace an existing object
replace_existingtrue/false - Turn on to overwrite an object already at the new key; the object there now is lost unless the bucket keeps versions. Off by default: the step then fails and changes nothing if the key is taken.Default:
false.
Outputs
buckettext- The bucket the copy is in.
etagtext- The copy's ETag.
keytext- The copy's object key.
last_modifiedtext- When the copy was written (ISO-8601).
source_buckettext- The bucket the object came from.
source_keytext- The key the object came from.
version_idtext- Version ID of the copy when the bucket is versioned, else null.
Example output
{
"bucket": "my-bucket",
"etag": "9b2cf535f27731c974343645a3985328",
"key": "archive/june.pdf",
"last_modified": "2026-07-30T12:00:00+00:00",
"source_bucket": "my-bucket",
"source_key": "reports/june.pdf",
"version_id": null
}Create folder in S3
Make an empty folder in a bucket, as the S3 console's Create folder does, so it shows before any file is put in it.
Inputs
- Bucket
buckettextRequired - The S3 bucket to make the folder in.
- Folder
foldertextRequired - The folder's path in the bucket, such as invoices/2026. Folders above it that aren't there yet are fine.
Outputs
buckettext- The bucket the folder is in.
etagtext- A fingerprint S3 gives the folder's marker.
foldertext- The folder's path, ending in /, such as invoices/2026/.
Example output
{
"bucket": "my-bucket",
"etag": "d41d8cd98f00b204e9800998ecf8427e",
"folder": "invoices/2026/"
}Create pre-signed S3 URL
Create a time-limited, pre-signed URL to download (or upload) an S3 object without sharing your AWS credentials.
Inputs
- Bucket
buckettextRequired - The S3 bucket the URL should point at.
- Object key
keytextRequired - The key of the object the URL should point at.
- URL type
methodtext - What the URL should authorize: a download (get_object) or an upload (put_object).One of:
get_object(Download (get_object)),put_object(Upload (put_object)). Default:get_object. - Expires in (seconds)
expires_innumber - How long the URL stays valid, in seconds (max 604800 = 7 days, default 3600 = 1 hour).From 1 to 604800. Default:
3600.
Outputs
buckettext- The bucket the URL points at.
expires_innumber- Seconds the URL stays valid for.
keytext- The object key the URL points at.
methodtext- What the URL authorizes: get_object or put_object.
urltext- The time-limited pre-signed URL.
Example output
{
"bucket": "my-bucket",
"expires_in": 3600,
"key": "reports/june.pdf",
"method": "get_object",
"url": "https://my-bucket.s3.us-east-1.amazonaws.com/reports/june.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&X-Amz-Signature=EXAMPLE"
}Create S3 bucket
Make a new, empty, private bucket. Bucket names are shared by every AWS account, so pick one nobody else has. Needs the s3:CreateBucket permission, which AmazonS3FullAccess includes.
Inputs
- Bucket name
buckettextRequired - 3 to 63 lowercase letters, digits and hyphens, such as acme-invoices-2026.
- Region
regiontext - The AWS Region to keep it in, such as eu-west-2. Leave empty for the Region the connection uses (us-east-1 unless you chose one when connecting).
Outputs
buckettext- The new bucket's name.
locationtext- Where S3 says the bucket is.
regiontext- The AWS Region it was made in.
Example output
{
"bucket": "acme-invoices-2026",
"location": "http://acme-invoices-2026.s3.amazonaws.com/",
"region": "eu-west-2"
}Delete folder from S3
Delete a folder and every file in it, including its own folders, up to 10,000 files per step. This can't be undone unless the bucket keeps versions.
Inputs
- Bucket
buckettextRequired - The S3 bucket the folder is in.
- Folder
foldertextRequired - The folder to delete with everything in it, such as tmp/exports. It can't be the whole bucket.
Outputs
buckettext- The bucket the folder was in.
deleted_countnumber- How many files (and folder markers) were deleted.
errorslist- The files S3 couldn't delete, with its reason.
foldertext- The folder that was deleted, ending in /.
more_lefttrue/false- True when the folder had more than 10,000 files; run the step again for the rest.
Example output
{
"bucket": "my-bucket",
"deleted_count": 3,
"errors": [],
"folder": "tmp/exports/",
"more_left": false
}Delete object from S3
Delete an object from an S3 bucket.
Inputs
- Bucket
buckettextRequired - The S3 bucket to delete from.
- Object key
keytextRequired - The key of the object to delete.
Outputs
buckettext- The bucket the object was deleted from.
deletedtrue/false- True when the delete call succeeded.
keytext- The object key that was deleted.
version_idtext- Version ID of the delete, when the bucket is versioned.
Example output
{
"bucket": "my-bucket",
"deleted": true,
"key": "reports/june.pdf",
"version_id": null
}Delete S3 bucket
Delete an empty bucket for good. S3 refuses a bucket that still has files, so nothing in it can be lost. Needs the s3:DeleteBucket permission, which AmazonS3FullAccess includes.
Inputs
- Bucket
buckettextRequired - The empty S3 bucket to delete.
Outputs
buckettext- The bucket that was deleted.
deletedtrue/false- True once S3 has deleted it.
Example output
{
"bucket": "acme-invoices-2026",
"deleted": true
}Delete several objects from S3
Delete up to 1,000 objects from one bucket at once. Objects S3 couldn't delete are listed with the reason; the rest are still deleted.
Inputs
- Bucket
buckettextRequired - The S3 bucket to delete the objects from.
- Object keys
keystextRequired - The keys of the objects to delete, one per line or separated by commas, e.g. tmp/a.csv, tmp/b.csv. Up to 1,000.
Outputs
buckettext- The bucket the objects were deleted from.
deletedlist- The keys that were deleted.
deleted_countnumber- How many were deleted.
errorslist- The objects S3 couldn't delete, with its reason.
Example output
{
"bucket": "my-bucket",
"deleted": [
"tmp/a.csv",
"tmp/b.csv"
],
"deleted_count": 2,
"errors": []
}Download object from S3
Download an object from an S3 bucket and save it to a local file.
Inputs
- Bucket
buckettextRequired - The S3 bucket to read from.
- Object key
keytextRequired - The key of the object to download.
- Save to
destination_pathtext - Where to save the downloaded file. Defaults to a temporary folder when left blank.
Outputs
buckettext- The bucket the object was read from.
content_typetext- The object's Content-Type, if S3 returned one.
keytext- The object key that was read.
pathtext- Local path the object was saved to.
sizenumber- Number of bytes downloaded.
Example output
{
"bucket": "my-bucket",
"content_type": "application/pdf",
"key": "reports/june.pdf",
"path": "/tmp/june.pdf",
"size": 20480
}Get object details from S3
Check whether an object is in a bucket and, if it is, get its size, type and when it last changed, without downloading it.
Inputs
- Bucket
buckettextRequired - The S3 bucket the object is in.
- Object key
keytextRequired - The object's key, e.g. reports/june.pdf.
Outputs
buckettext- The bucket that was checked.
content_typetext- The object's type, such as application/pdf.
etagtext- A fingerprint of the object's contents that changes when they do.
existstrue/false- Whether the object is there. The other fields are empty when it isn't.
keytext- The object key that was checked.
last_modifiedtext- When the object last changed.
metadataobject- Any custom details saved with the object, by name.
sizenumber- The object's size in bytes.
storage_classtext- How S3 stores it, such as STANDARD or GLACIER.
Example output
{
"bucket": "my-bucket",
"content_type": "application/pdf",
"etag": "9b2cf535f27731c974343645a3985328",
"exists": true,
"key": "reports/june.pdf",
"last_modified": "2026-07-30T12:00:00+00:00",
"metadata": {},
"size": 48213,
"storage_class": "STANDARD"
}List folders in S3 bucket
List the folders directly inside a bucket, or inside one of its folders.
Inputs
- Bucket
buckettextRequired - The S3 bucket to look in.
- Inside folder
parent_foldertext - Only the folders inside this one, such as invoices. Leave empty for the folders at the top of the bucket.
- Max results
max_keysnumber - The most folders to return (1-1000, default 1000).From 1 to 1000.
Outputs
buckettext- The bucket looked in.
countnumber- How many folders.
folderslist- The folders.
is_truncatedtrue/false- True if there are more than were returned.
parent_foldertext- The folder looked in, empty for the top of the bucket.
Example output
{
"bucket": "my-bucket",
"count": 1,
"folders": [
{
"folder": "invoices/2026/",
"name": "2026"
}
],
"is_truncated": false,
"parent_folder": "invoices/"
}List objects in S3 bucket
List objects in an S3 bucket, optionally filtered by key prefix.
Inputs
- Bucket
buckettextRequired - The S3 bucket to list.
- Prefix
prefixtext - Only return objects whose key starts with this prefix (e.g. reports/). Leave blank to list the whole bucket.
- Max results
max_keysnumber - Maximum number of objects to return (1–1000, default 1000).From 1 to 1000.
Outputs
buckettext- The bucket that was listed.
countnumber- Number of objects returned.
is_truncatedtrue/false- True if more objects exist beyond this page.
objectslist- The objects in the bucket that matched.
prefixtext- The key prefix filter that was applied, if any.
Example output
{
"bucket": "my-bucket",
"count": 2,
"is_truncated": false,
"objects": [
{
"etag": "9b2cf535f27731c974343645a3985328",
"key": "reports/june.pdf",
"last_modified": "2026-07-30T12:00:00+00:00",
"size": 20480,
"storage_class": "STANDARD"
},
{
"etag": "1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d",
"key": "reports/may.pdf",
"last_modified": "2026-06-30T12:00:00+00:00",
"size": 18432,
"storage_class": "STANDARD"
}
],
"prefix": "reports/"
}List S3 buckets
List the S3 buckets the connected AWS user can see. Needs the s3:ListAllMyBuckets permission, which AmazonS3FullAccess includes.
Inputs
None.
Outputs
bucketslist- The buckets, by name.
countnumber- How many buckets.
Example output
{
"buckets": [
{
"created_at": "2025-01-15T09:30:00+00:00",
"name": "my-bucket",
"region": "us-east-1"
}
],
"count": 1
}Move or rename object in S3
Move an object to a new key, or another bucket, and delete it from where it was (up to 5 GB). It won't overwrite an object already at the new key unless you turn on Replace an existing object.
Inputs
- Bucket
buckettextRequired - The S3 bucket the object to move is in.
- Object key
keytextRequired - The key of the object to move, e.g. reports/june.pdf.
- New object key
destination_keytextRequired - Where to move it: the new key, e.g. archive/june.pdf.
- Destination bucket
destination_buckettext - The bucket to move it into. Leave blank to keep it in the same bucket.
- Replace an existing object
replace_existingtrue/false - Turn on to overwrite an object already at the new key; the object there now is lost unless the bucket keeps versions. Off by default: the step then fails and changes nothing if the key is taken.Default:
false.
Outputs
buckettext- The bucket the copy is in.
etagtext- The copy's ETag.
keytext- The copy's object key.
last_modifiedtext- When the copy was written (ISO-8601).
source_buckettext- The bucket the object came from.
source_keytext- The key the object came from.
version_idtext- Version ID of the copy when the bucket is versioned, else null.
Example output
{
"bucket": "my-bucket",
"etag": "9b2cf535f27731c974343645a3985328",
"key": "archive/june.pdf",
"last_modified": "2026-07-30T12:00:00+00:00",
"source_bucket": "my-bucket",
"source_key": "reports/june.pdf",
"version_id": null
}Read text object from S3
Read a text file in S3, such as a CSV, JSON or notes file of up to 1 MB, and hand its text to the next steps.
Inputs
- Bucket
buckettextRequired - The S3 bucket the file is in.
- Object key
keytextRequired - The file's key, e.g. exports/orders.csv.
Outputs
buckettext- The bucket the file is in.
content_typetext- The file's type, such as text/csv.
keytext- The file's key.
sizenumber- The file's size in bytes.
texttext- The file's text.
Example output
{
"bucket": "my-bucket",
"content_type": "text/csv",
"key": "exports/orders.csv",
"size": 24,
"text": "order,total\n1042,99.00\n"
}Upload object to S3
Upload an object to an S3 bucket from inline text or a local file. Provide either 'content' or 'file_path', not both.
Inputs
- Bucket
buckettextRequired - The destination S3 bucket name.
- Object key
keytextRequired - The object key (path within the bucket), e.g. reports/june.pdf.
- Content
contenttext - Inline text to upload as the object's contents. Use this or 'file_path'.
- File to upload
file_pathtext - A local file to upload as the object. Use this or 'content'.
- Content type
content_typetext - Optional MIME type (e.g. application/pdf). Guessed from the key's extension when omitted.
Outputs
buckettext- The bucket the object was written to.
etagtext- The object's ETag (quotes stripped).
keytext- The object key that was written.
sizenumber- Number of bytes uploaded.
version_idtext- Version ID when the bucket has versioning enabled, else null.
Example output
{
"bucket": "my-bucket",
"etag": "9b2cf535f27731c974343645a3985328",
"key": "reports/june.pdf",
"size": 20480,
"version_id": null
}