Skip to content

civex.load_file

Load the bytes and metadata from a file field on the trigger record. Reach for this when a downstream step (built-in or custom) needs the actual file content, not just its reference.

Plugin ID: civex.load_file
Category: data-sources
Capabilities: get_file

Config

Field Type Required Default Description
field string yes Name of the file field on the trigger record to load.

Outputs

Name Type Required Description
bytes bytes yes The file's raw contents.
filename string yes Original filename.
sha256 string yes Content hash of the file.
- id: load_audio
  plugin: civex.load_file
  config:
    field: audio_file

- id: process
  plugin: my.audio_processor
  inputs:
    bytes: load_audio.bytes
    filename: load_audio.filename