Convertor icon

Convertor

Convert data from one format to another

Binary → Convert From Binary

AI-generated

Overview

The node named "Convertor" provides functionality to convert data between different formats, specifically focusing on binary data transformations. In the context of the "Binary" resource and the "Convert From Binary" operation, this node converts binary file data into text format.

This operation is useful when you have binary data (such as files or images) stored in a binary property within n8n and you want to extract or transform that data into readable text for further processing, analysis, or integration with other systems.

Practical examples:

  • Extracting textual content from a binary file uploaded in a previous workflow step.
  • Converting an image or document stored as binary data into a base64 or UTF-8 string representation.
  • Preparing binary data for APIs or services that require text input rather than raw binary.

Properties

Name Meaning
Input Binary Field The name of the binary property that contains the file data to be converted. Default is "data". This tells the node which binary field to read from.
Output Type The type of output data after conversion. Currently supports only "Text" which converts binary data to a string.

Output

The node outputs JSON data where the binary content specified by the input property is converted into text and placed in the json output field of each item.

  • The json output will contain the textual representation of the binary data.
  • No binary output is produced in this operation since it converts from binary to text.

Dependencies

  • No external API or service dependencies are required for this operation.
  • The node relies on internal n8n mechanisms to access binary data from input items.

Troubleshooting

  • Common issues:
    • If the specified binary property does not exist or is empty, the node will likely fail or produce empty output.
    • Providing an incorrect binary property name will result in no data being converted.
  • Error messages:
    • Errors related to missing binary data typically indicate that the input binary field name is incorrect or the previous node did not provide binary data.
  • Resolution:
    • Verify the binary property name matches exactly the name used in the input data.
    • Ensure the previous nodes correctly output binary data under the expected property.

Links and References

Discussion