Amazon S3

Amazon S3 Help & Support

What Amazon S3 Triggers and Actions are Supported?

Supported Triggers#

  • New Bucket - Triggers when you add a new bucket.
  • New or Updated File - Triggers when you add or update a file in a specific bucket. (The bucket must contain less than 10,000 total files.)

Supported Actions#

  • Create Bucket - Create a new bucket.
  • Create Text Object - Creates a brand new text file from plain text content you specify.
  • Upload File - Copy an already-existing file or attachment from the trigger service.

How to Get Started With Amazon S3

There are two things you'll need to do to make S3 work with Zapier:

  1. Add a bucket to your S3 account (if you already use S3 you might already have one you wish to use, if not, directions are below as well).
  2. Add a new Zapier user via IAM with only permission to use S3 and give those AWS Security Credentials to Zapier.

Add a Bucket to S3#

This is fairly simple! Just click the S3 logo from your AWS dashboard and click Create Bucket on the top left hand side.

Click that button and fill out the form:

Remember that bucket names need to be unique per region, so make it something unique. A good idea is often to prefix it with your company name or the like. Just select your region and either setup logging or click create to complete this task.

Create Security Credentials by Adding a New Zapier User to IAM#

To add an S3 account to Zapier, you should follow these instructions. They will walk you through setting up a user in IAM and adding that account to Zapier. Remember that you want to select S3 instead of SES where applicable.

Keep in mind that in addition to granting the appropriate IAM policy you may also need to grant access at the bucket level as well. Please see this article for additional details on this topic.

Example Read Only Policy#

Here is an example policy to apply for a Zapier specific user that will allow Zapier to list all of your buckets, the contents of a specific bucket and be able to retrieve objects from that bucket. Perfect for triggering!

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
                "s3:ListAllMyBuckets",
                "s3:GetBucketLocation"
      ],
      "Resource": "arn:aws:s3:::*"
    },
    {
      "Effect": "Allow",
      "Action": [
                "s3:ListBucket"
      ],
      "Resource": "arn:aws:s3:::EXAMPLE-BUCKET-NAME"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:GetObject"
      ],
      "Resource": "arn:aws:s3:::EXAMPLE-BUCKET-NAME/*"
    }
  ]
}

Common Problems with Amazon S3

I want to add files to a folder#

In Amazon S3, folders are designated by the key name. For example, if you upload a file with the key images/sample1.jpg then it will show in the Amazon S3 console as a file sample1.jpg inside a folder images.

Some of my Buckets are not Showing up as an Option in my Action#

Zapier intentionally filters out buckets with capital letters in their name. Renaming a bucket to all lower case letters will make the bucket show up.

Technical Details: Buckets with uppercase letters in the name can't be accessed via the S3 API, so Zapier filters them out. Info on why uppercase letters are a problem can be found in the answer to "Some of the results for New Bucket trigger do not have a URL"

Some of the Results for New Bucket Trigger do not have a URL#

This behavior is intentional. S3 bucket names are case sensitive. Unfortunately, URLs are not. Trying to access MyBucket.s3.amazonaws.com will actually access mybucket.s3.amazonaws.com. Due to this mismatch, there is no URL by which you can access a bucket with capital letters in the name, so we set the URL for these buckets to be empty.

I Can't Add to a Specific Bucket (400 error)#

Is your bucket in a different region than the one you selected when connecting your S3 account to Zapier? If so, you will need to reconnect and select the matching region.

Note that often (depending on the security policy of the S3 account you have connected to Zapier), we are able to see buckets from regions other than the selected region, but we are not able to interact with them. For example, if you have a bucket in US East (Ohio) (which is us-east-2), you may be able to select that bucket in a drop-down, but if you selected us-east-1 when you connected your account, we won't be able to upload files to that bucket.

AWS has documentation on their region names here if you aren't sure which numerical region your bucket resides in: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region

If you are still having trouble after this, please drop us an email so we can troubleshoot further with you!

Need More Help? - Our support team is happy to help -- send us a message

Amazon Simple Storage Service is a fully redundant data storage system. It makes it easy to store and retrieve any amount of data, anytime, from anywhere.

Getting Started with Zapier