Skip to main content
This is part 5 of the Your First Plugin tutorial. Make sure you’ve completed 4. Use Integration in Node first.
Plugins can read and create files. Since plugins run in isolated processes, file I/O goes through the platform’s file helper — the SDK handles all the bridging transparently.

Reading files

Add a node that reads a file input:

How file reading works

When a File type input arrives, it contains metadata (name, URI, content type) but not the actual bytes. Calling file.get_content(ctx) triggers: You can also access file metadata without downloading:

Creating files

File.from_bytes() uploads the content to the platform’s storage and returns a File object that downstream nodes can use.

Quick reference

Handling multiple files

Use list types to receive or produce multiple files:

Next: Advanced Techniques →

Config UI controls, dynamic config, list handling, error handling, and deployment.