Skip to main content

Amazon SNS

Use Amazon Simple Notification Service (SNS) when your applications or teams already receive messages through an SNS topic. SNS distributes each publication to the subscribers you configure, such as SQS queues, Lambda functions, HTTPS endpoints, email addresses, or SMS recipients.

Files.com can publish folder activity, events selected by an Event Channel subscription, or a message built in an Automation v2 branch.

Configuration in AWS

Create or identify an SNS topicExternal LinkThis link leads to an external website and will open in a new tab and copy its Amazon Resource Name (ARN). Note the topic's AWS region. Use an AWS access key ID and secret access key for an identity with sns:Publish permission on the topicExternal LinkThis link leads to an external website and will open in a new tab. Configure the subscribers that need to receive the messages in AWS.

Configuration in Files.com

The Files.com feature you configure determines which messages arrive at the topic and which fields they contain.

Folder Notifications

Add a folder Notification for Amazon SNS. Site, Workspace, and Folder Administrators can configure notifications within their scope.

Provide the topic ARN, AWS region, access key ID, and secret access key. A notification can publish to several topic ARNs using the same AWS credentials. Create separate notifications when different topics require different credentials.

Choose the folder and the file or folder actions to report. The notification reports all supported actions in the selected folder and its subfolders by default. Include only the selected folder when the subscriber needs that folder's activity. Notifications about changes made directly on remote storage follow detection by the Remote Metadata Index.

Event Channels

Create an Amazon SNS target with the topic ARN, AWS region, access key ID, and secret access key. The saved secret access key is hidden. Select the target in the subscription that matches the events to publish. The JSON message describes the Files.com event. Check Delivery Attempts for the result and retry status.

Automations v2

In the Publish to Amazon SNS action, enter the topic ARN and select the AWS credentials from a Key/Value Secret. Files.com reads the region from the ARN. For a FIFO topic, provide a message group ID. The node publishes the JSON built from each item that reaches it.

What Is Included in Amazon SNS Notifications From Files.com

SNS Notifications use a JSON message structure containing the fields listed in this table.

FieldPossible/Example ValuesDescription
source"Files.com"Where the SNS message came from.
actioncreate, copy, move, archived_delete, update, read, destroyThe type of operation performed.
interfaceweb, ftp, robot, sftp, dav, desktop, restapi, office, mobile, as2, inbound_email, remoteThe interface used for the action.
pathincoming/report.docxThe source file or folder path when the action records a source; otherwise, the path of the file or folder acted on.
destinationprocessed/report.pdfThe resulting file or folder path, when available. This can be the same as path, as with an upload or update, or a different path, as when creating an output file, copying, or moving.
at2026-09-16T14:03:11+00:00Event timestamp in ISO-8601 format.
usernameUsername string or absentUsername of the account that performed the action, when available.
ipIP address string or empty stringThe IP address of the session that started the action.
typefile or directoryItem type, when available.
sizeInteger bytesFile size, when available.

The destination field is omitted when no destination is recorded. Its presence does not identify the action as a copy or move. SNS uses the same file action fields and path relationships as the standard Files.com Webhook payload, including create events that identify a source file and a newly generated output file.

Messages at the Subscriber

For supported subscriber types, the SNS subscription's raw message delivery settingExternal LinkThis link leads to an external website and will open in a new tab determines whether the subscriber receives the JSON directly or inside an SNS notification envelope. Check a subscriber's records to verify what it received and whether it processed the message.