Stacksync File System

Stacksync File System provides standard way to receive, securely store, and reuse files across workflow modules.

Stacksync File System is the platform capability for file ingestion in workflows. Files sent to workflow triggers are stored by Stacksync and represented as reusable file_id references. This removes raw file payload handling from downstream execution and provides a consistent integration model across workflow modules.

circle-info

Files are workspace scoped and can be reused across workflows in the same workspace.

1. Processing Flow

When a POST Trigger webhook request includes file input, Stacksync automatically:

  1. Ingests the incoming file payload.

  2. Stores the file in Stacksync-managed storage.

  3. Replaces file content with a Stacksync-managed file object containing the file_id reference.

  4. Passes the updated payload to downstream workflow steps.

Supports both multipart file uploads and JSON payloads with embedded base64 file content.

2. Usage

Get the POST Trigger URL from your workflow trigger configuration:

https://.api.workflows.stacksync.com/workspaces/<workspace_id>/workflows/<workflow_id>:latest_draft/triggers/post_trigger/run 

Format 1: Multipart Upload

HTTPS Request:

Transformed payload in workflow execution Trigger Output:

Format 2: JSON with base64 file

HTTPS Request:

Transformed payload in workflow execution Trigger Output:

Supported Usage Pattern

  1. Send files once through trigger ingestion

  2. Use file_id in downstream workflow modules

  3. Reuse the same file across multiple workflow steps without re-uploading

If you have any questions or run into any blockers, reach out anytime at [email protected]envelope and the Stacksync team will be happy to help.

Last updated