File Handling

Last updated: Jan 2026

Overview

ORCFLO provides robust file handling capabilities that let you upload documents, images, and other files to use in your AI workflows. Files can be processed by AI models, analyzed, and transformed, with results saved as downloadable output files.

StageDescription
UploadAdd files to your workflow via your file library
ProcessAI analyzes and transforms file content
DownloadGet results as downloadable output files

Uploading Files

You will always give your workflows access to your files through your personal file library.

File Library

Upload files to your personal library from the Files page. These files are always available to use in any workflow.

  • Navigate to the Files page from your dashboard
  • Drag and drop files onto the Files page, or click the upload button to browse
  • Files are stored securely in your account

Accessing Your Files

All your uploaded files and workflow output files are available in the Files page. You can filter by source to see uploaded files vs. workflow-generated files.

Supported File Formats

ORCFLO supports a wide variety of file formats. Different AI models have different capabilities for processing certain file types.

TypeFormatsModels
Images.png, .jpg, .jpeg, .gif, .webp, .bmp, .svgClaude, GPT-4, Gemini
Documents.pdf, .doc, .docx, .txt, .md, .csv, .json, .xml, .yamlAll models
Video.mp4, .mov, .avi, .webmGemini
Audio.mp3, .wav, .oggGemini

Model Compatibility

Claude and GPT-4 excel at PDF and image analysis. Gemini offers the widest multimodal support including video and audio files.

Using Files in Workflows

Once you've uploaded files to your library, you can attach them to Input Steps and LLM Steps in your workflow. Files are added directly through the node configuration panel.

Input Steps with Files

Input steps can include files that flow through your entire workflow. This is useful for providing reference documents or data that multiple steps will need.

  • Files attached to Input steps are available to all downstream steps
  • The Input node card displays up to 2 files with a "+N more" indicator
  • Perfect for workflows that process the same document through multiple steps

LLM Steps with Files

1

Select an LLM Step

Click on the LLM Step node where you want to use files. This opens the node configuration panel on the right side of the editor.

2

Find the Files Section

In the configuration panel, locate the "Files" section. This is where you manage which files are attached to this step.

3

Select Files from Your Library

Click to browse and select files from your library. You can attach multiple files to a single LLM Step. Selected files will be available to the AI during execution.

4

Reference in Your Prompt

Write your prompt naturally: "Analyze the attached document" or "Describe what you see in the image". The AI knows which files are attached.

Vision Files vs Document Files

Images are treated as "vision files" and displayed inline in the execution inspector. Documents are shown as downloadable input files with size and source information.

Output Files

AI agents can create and save files during workflow execution. When a step generates a file (like a report, code, or processed data), it appears in the execution pane for download.

StatusDescription
SavedSuccessfully saved files show a "saved" badge and can be downloaded immediately
FailedIf a file fails to save (e.g., invalid format), the reason is displayed

Supported Output Formats

AI agents can save files in these formats:

.txt, .md, .json, .csv, .py, .js, .ts, .html, .css, .xml, .yaml, and more.

File Metadata

Each output file includes metadata: filename, size, MIME type, timestamp, and status. This information is visible in the Files section of each step.

Previewing Files

Before downloading workflow output files, you can preview them directly in your browser. This lets you quickly verify file contents without having to save them to your device.

How to Preview Files

1

Open Execution Output

Navigate to a workflow execution and view a step that generated output files.

2

Click "Preview"

Click the Preview button next to any output file to open the preview modal.

3

View or Download

View the file contents directly in the preview modal, or click Download if you want to save it to your device.

Supported Preview Types

File TypePreview Features
Text FilesPlain text display for .txt, .csv, .html, .css, and more
MarkdownRendered markdown with proper formatting for .md files
JSONSyntax-highlighted, formatted JSON with validation for .json files
ImagesProfessional image viewer with click-to-zoom, smooth pan, pinch-to-zoom, mouse wheel zoom, keyboard navigation (Esc to close, +/- to zoom), and fullscreen mode for .png, .jpg, .gif, .webp, .svg
PDFsNative browser PDF viewer with navigation and zoom for .pdf files

Preview Limitations

To maintain performance and security, file previews have the following limitations:

  • Size limit: Files larger than 10 MB cannot be previewed (download to view)
  • Unsupported types: Binary formats like .zip, .exe, or proprietary formats show a download prompt instead
  • Security: All previews are sandboxed - no code execution or external requests
  • Browser compatibility: Some advanced PDF features require modern browsers

Quick Preview Workflow

Use Preview to quickly verify AI-generated files before downloading. For text and code files, you can copy content directly from the preview. For images, click to zoom inline or use the fullscreen button for advanced controls including mouse wheel zoom and touch gestures to inspect details.

Saving Outputs to Files

When a workflow generates output files, you can save them to your permanent Files collection for later use. This makes it easy to reuse workflow outputs in other workflows or download them for external use.

1

View Execution Output

After a workflow runs, open the execution pane and navigate to a step that generated files.

2

Click "Save to Files"

Each output file has a "Save to Files" button next to it. Click this button to open the save dialog.

3

Customize Filename (Optional)

In the save dialog, you can rename the file before saving. The original filename is pre-filled, but you can change it to anything you like. If a file with that name already exists, it will be automatically renamed to avoid conflicts.

4

Enable Auto-Save (Optional)

Check the "Auto-save all outputs from this workflow" option to automatically save all future output files from this workflow to your Files collection. This saves time when you frequently use workflow outputs in other workflows.

5

Access Saved Files

Saved files appear in your Files page with full provenance information showing which workflow, execution, and step created them.

Custom Filenames

You can give output files custom names when saving them to your Files collection. This is especially useful when:

  • The generated filename is not descriptive enough
  • You want to organize files with a consistent naming convention
  • You need to avoid conflicts with existing files in your library
  • You want to include timestamps or version numbers in the filename

Auto-Save Feature

When you enable auto-save for a workflow, all output files from future executions will be automatically saved to your Files collection. This feature is perfect for:

  • Workflows that run on a schedule and generate reports
  • Data processing workflows where you always need the results
  • Workflows that create files you frequently use in other workflows
  • Automated archival of workflow outputs

Conflict Resolution

When saving a file, if a file with the same name already exists in your Files collection, the system will automatically rename the new file to avoid overwriting. For example, "report.pdf" becomes "report (1).pdf" if a conflict occurs.

File Provenance

Files saved from workflow executions maintain complete provenance tracking. This helps you understand where each file came from and how it was created.

  • Source workflow name and ID
  • Execution timestamp and ID
  • Step name that created the file
  • Original file metadata (name, size, type)

Filtering by Source

In the Files page, you can filter files by source to distinguish between:

Source TypeDescription
UploadedFiles you manually uploaded to your library
Workflow OutputFiles generated and saved from workflow executions

Organizing Workflow Outputs

Use the source filter to quickly find files generated by your workflows. The Source column shows workflow names for output files, making it easy to track file origins.

File Limits and Security

ORCFLO enforces security measures and limits to ensure safe and reliable file handling.

LimitValue
Max file size10 MB
Max files per upload5 files
Max filename length255 characters

Security Features

  • File type validation on upload
  • Path traversal protection
  • Filename sanitization
  • Secure storage with encryption
  • Files are scoped to your account - others cannot access them
  • All file transfers use HTTPS encryption

Best Practices

Follow these best practices to get the most out of file handling in your workflows.

PracticeDescription
Use descriptive filenamesName files clearly so you can easily find and select them later
Choose the right modelUse Gemini for video/audio, Claude or GPT-4 for documents and images
Keep files under 10MBLarge files take longer to process and may hit size limits
Reference files in promptsMention the file naturally: "Analyze the attached PDF" or "Describe this image"
Preview before downloadingUse the Preview button to verify file contents before downloading
Check the execution paneView input files used and output files generated for each step
Organize your file libraryDelete files you no longer need to keep your library manageable

Key Takeaways

  • Upload files from the Files page - they're stored securely in your account
  • Supported formats include images, PDFs, documents, video, and audio
  • Files flow automatically to connected AI steps - just reference them in your prompt
  • AI agents can create and save output files during execution
  • Preview output files in-browser before downloading (text, markdown, JSON, images, PDFs)
  • Save workflow output files to your Files collection with the "Save to Files" button
  • Files maintain provenance tracking showing source workflow, execution, and step
  • Filter by source to distinguish uploaded files from workflow outputs
  • Max file size is 10 MB with security validation on all uploads