How To Guide
Files in Script Tasks (Python Lambda)
Unmeshed Python script tasks ("Python Lambda") can read files that have been uploaded to the platform. These files are mounted inside the script at /app/files and match what you see under Manage Files in the UI. This is ideal for large inputs that should not be passed through workflow payloads.
Manage Files in the UI
The Manage Files view shows the same set of files available under /app/files in Python script tasks.

Why Use Files Instead of Payloads
- Avoid large payload sizes and memory limits inside workflow steps.
- Share data across steps and workflows without re-sending large content.
- Keep workflow inputs lightweight while storing heavy assets separately.
When to Use This
- A remote worker generates a large file and needs a Python script to process it.
- You want to reuse a file across multiple steps or downstream workflows.
- You want to pass only a file name or key through the workflow, not the file itself.
How It Works (Typical Flow)
- A worker uploads a file to Unmeshed before its step completes.
- The worker passes the file name/path to the next step.
- A Python script task reads the file from
/app/files/<file-name>. - Another step (or worker) can download the file if needed.
- Files are retained by default; delete them when they are no longer needed.
Example: Read a PDF File
Use unique file names or paths to avoid overwriting files.
python
Example Output
json
Cleanup Guidance
Files are retained by default. If the file is no longer needed after your workflow finishes, delete it as part of a cleanup step to keep storage tidy.