Skip to main content

Publish Governed File Events Straight Into Google Pub/Sub

When a file lands in a folder you're watching, Files.com publishes a tidy message to your Pub/Sub Topic — or one a partner or another team owns — and Pub/Sub sends it to every Cloud Function, Cloud Run service, Dataflow job, and subscriber. No function sitting there watching a bucket to build or babysit.

Google Pub/SubFiles.com

Why Google Cloud Teams Put Files.com in Front of Pub/Sub

Pub/Sub is great at one thing: publish a message to a Topic once, and it reaches every subscriber. What Pub/Sub doesn’t do is the file part — taking files in from partners over SFTP and FTPS, controlling who can touch which folder, and keeping an audit trail. Files.com does that part, and publishes a message to your Topic the moment a file lands. Your existing fan-out kicks off, and there’s no Cloud Function watching a bucket to get the event going.

A File Lands, Google Cloud Hears About It

When something happens in a folder you're watching, Files.com publishes a message to your Pub/Sub Topic — yours, or one a partner or another team owns — and Pub/Sub delivers it to everything subscribed. Files.com hands the message to Pub/Sub, and Pub/Sub takes it from there.

A Tidy Message Your Code Can Act On

The message says what happened, where, by whom, from what address, over which protocol, and the file's name, type, and size. That's enough for a Cloud Function or Dataflow consumer to route and process the file without opening it first.

No More Cloud Function Watching a Bucket

Instead of running a Cloud Function that listens for GCS bucket events to find out a partner's file showed up, let Files.com be the front door that takes the file in and publishes the event itself — with the access controls and audit trail a raw bucket path doesn't give you. You don't even need a GCS bucket; the event fires wherever the file lands.

Files In Any Way, Events Out to Google Cloud

Files can arrive over SFTP, FTPS, AS2, the API, an Inbox, or a Share Link — and any of those can fire the Pub/Sub event. So a partner who can only do SFTP still kicks off your Google Cloud pipeline.

Publish to a Topic You Don't Own

The Topic can belong to another team, a vendor, or a partner running the downstream pipeline. They grant publish access on their Topic, and you add the credential.

The Details That Matter for Pub/Sub

Only the Permission It Needs

Files.com publishes with a Google Cloud service account that can do one thing — put a message on the Topic, and nothing else. Setting up the event stream never widens what an attacker could reach in your Google Cloud project.

No GCS Bucket Required

The event fires when a file lands over any path in — SFTP, FTPS, AS2, the API, an Inbox, or a Share Link — whether or not the storage behind the folder is Google Cloud Storage.

One Message Per File, Right Away

Files.com publishes one message per file operation, the instant it happens — no waiting, no lumping things together. A Cloud Function or Dataflow consumer reacts the moment a file lands.

Every Event Is Logged Anyway

Files.com records every event in its own audit log, separate from Pub/Sub. So the Pub/Sub stream is never your only record — the full trail is still there even if a subscriber misses a message.

What Teams Build With Pub/Sub on Files.com

Partner Upload to Hands-Off Processing

A partner uploads a file over SFTP, Files.com publishes the event to Pub/Sub, a Cloud Function picks it up and processes the file, and a Dataflow job loads it. No function sitting there watching a bucket.

Keep BigQuery Continuously Up to Date

Every data feed that lands in Files.com fires a Pub/Sub event that kicks off a Dataflow job or a BigQuery load. Your analytics stay current instead of waiting on a job that runs on a timer.

Coordinate Services Across Cloud Run

One folder's activity publishes to a Topic that several Cloud Run services listen to on their own — one pulls metadata, one processes the document, one archives it — each reacting independently.

Feed Your Security Tools

The who, where, and from-what-address details feed a subscriber that writes to your SIEM, turning file activity into security data your team can watch.

Files.com Features That Pair With Google Pub/Sub

Google Cloud Storage logo

Google Cloud Storage

Your storage behind it all. Pointing Files.com at a GCS bucket and publishing Pub/Sub events is the classic Google Cloud setup.

Learn More

Automations & Workflows

Run file jobs inside Files.com instead of stitching together Cloud Functions and schedulers.

Learn More
Webhooks logo

Webhooks

The same idea over plain HTTP, for when the thing receiving the event isn't on Google Cloud.

Learn More

Audit Log & Forensic Trail

The full, separate record of activity that sits behind the Pub/Sub stream.

Learn More

Frequently Asked: Pub/Sub on Files.com

What buyers ask about how Files.com connects to Pub/Sub, what it costs, and what the integration actually does.

Publish Your First File Event Today

Start a free 7-day trial. Point a folder at a Pub/Sub Topic, run a test upload, and watch the event reach your subscribers. No credit card required.

No credit card required • 7-day free trial • Setup in minutes