base64 to file

This block is part of the files group and was last modified in core v15.0.0.

base64 to file v15.0.0

Accepts a base64 string and returns a file. The file is written to its own directory under /temp/ (/temp/{id}/{filename}) so concurrent conversions never share a name.

In pins 2 + flow
  • flow
    flow
  • base64 required
    value

    The base64 to be transformed to a file

  • filename v15.0.0
    value

    Optional name for the file. Each conversion gets its own directory under /temp/, so the name only has to be unique within this call. Defaults to a generated id with the extension of the detected mime type.

Out pins 3 + flow
  • flow
    flow
  • success
    condition
  • error
    value
  • file
    file

A typical wiring for base64 to file: branch feeds the flow pin; value feeds the value pin; the flow out pin feeds return.

Studio canvas example for the base64 to file block: typical wiring for base64 to file.

Commonly used with

In production blueprints, this block is most often wired together with:

  • return: this block feeds into it. Returns the added custom pins as data-pins on the function execute.
  • branch: feeds into this block.
  • get fields: feeds into this block. Gets the selected fields from the given object.

Version history

Introduced in v15.0.0.


Back to files Return to the main group to view all sub-groups Back to encoding Return to the group to view all blocks within this group