This document outlines the core data flow in ComfyDeploy, focusing on what matters most to you: your workflows, run history, and outputs.

Data Components

ComponentTypeStorageAccess
Workflows.jsonpostgresDashboard / API
Models.safetensorsvolumeDashboard / API
Run records.jsonpostgresDashboard / API
Inputs.png / .jpg / .webps3Dashboard / API
Outputs.png / .jpg / .webps3Public unique URL / Dashboard / API

This is a high-level overview of ComfyDeploy’s data flow. Some technical details and advanced features may be simplified for clarity.

Custom S3 Integration requires a Business Plan.

Importing a workflow

Import workflow

StepActionResult
1Import workflowWorkflow.json saved to postgres
2Machine configMachine config saved to postgres
3Create machineMachine image built and ready to serve

Using Session

Using Session

StepActionResult
1Getting workflowWorkflow.json loaded from postgres
2Start ComfyUI sessionQueue job to start ComfyUI session
3ComfyUI session startedSession URL returned to user
3Run workflowWorkflow runs and outputs saved to ComfyDeploy
4Output resultsAccess via ComfyUI session

Workflow / API Run

Import workflow

StepActionResult
1Receive user inputsImage upload to s3
2Execute workflowCreates run record
3Monitor progressUpdates in run history
4Generate outputsStored in ComfyDeploy
5Output resultsAccess via public unique URL

If you are interested in using your own media storage, you can use our Custom S3 Integration to store your media in your own S3 bucket.