Save Workflow Extended

SaveWorkflowExtended

workflowoutput node

Save workflow JSON files locally and/or upload to a cloud provider. How it works ------------ - Local: Saves workflow JSON files under the ComfyUI output directory (only if 'Save to Local' is enabled). - Cloud: Uploads workflow JSON files to cloud storage (only if 'Save to Cloud' is enabled). - Result: Returns the saved filename and cloud upload details. The workflow JSON includes: - The prompt (workflow structure with nodes and connections) - Extra data (UI positions, metadata, etc.) Cloud provider examples ----------------------- - AWS S3 → bucket_link: s3://my-bucket/prefix | cloud_api_key: JSON {access_key, secret_key, region} or 'ACCESS:SECRET[:REGION]'. - S3-Compatible → bucket_link: https://endpoint.example.com/my-bucket/prefix | cloud_api_key: same as S3. - Google Cloud Storage → bucket_link: gs://bucket/prefix or bucket/prefix | cloud_api_key: service-account JSON string or path (empty uses ADC). - Azure Blob → bucket_link: connection string OR https://account.blob.core.windows.net/container/prefix | cloud_api_key: connection string or account key/SAS when using URL. - Backblaze B2 → bucket_link: b2://bucket/prefix or bucket/prefix | cloud_api_key: KEY_ID:APP_KEY. - Google Drive → bucket_link: /MyFolder/Sub OR drive://<folderId>/<optional/subpath> | cloud_api_key: OAuth2 access token. - Dropbox → bucket_link: /base/path | cloud_api_key: JSON {"app_key","app_secret","authorization_code"}. The refresh token is automatically fetched and cached. - OneDrive → bucket_link: /base/path | cloud_api_key: OAuth2 access token. - FTP → bucket_link: ftp://user:pass@host[:port]/basepath | cloud_api_key: not used. - Supabase → bucket_link: <bucket_name> | cloud_api_key: JSON {url, key} or 'url|key'. - UploadThing → bucket_link: (leave blank) | cloud_api_key: UploadThing secret key (sk_...). Returns utfs.io URLs. Token refresh (optional) ------------------------ - Google Drive cloud_api_key JSON: {client_id, client_secret, refresh_token} (optional access_token). - OneDrive cloud_api_key JSON: {client_id, client_secret, refresh_token, tenant='common'|'consumers'|'organizations', redirect_uri?}. When provided, a fresh access token is obtained automatically before uploading.

Pack: comfyui-save-file-extended

custom_nodes.comfyui-save-file-extended

Inputs (11)

NameTypeRequired
filename_prefixSTRINGrequired
filenameSTRINGoptional
custom_filenameSTRINGoptional
save_to_cloudBOOLEANoptional
cloud_providerCOMBOoptional
bucket_linkSTRINGoptional
cloud_folder_pathSTRINGoptional
cloud_api_keySTRINGoptional
save_to_localBOOLEANoptional
local_folder_pathSTRINGoptional
append_timestampBOOLEANoptional

Outputs (1)

NameType
filenameSTRING