Binary
Binary prepares a file for another component to use, from its web address or from its content encoded as text (Base64). For example, to pass an audio file to a component that transcribes it or an image to one that describes it.
When to use it
- Transcribing an audio file that arrives as a link.
- Describing an image that arrives encoded from an API.
- Passing a document received by a webhook to another component.
Configuration
| Field | What it does |
|---|---|
| Operations (required) | Where the file comes from: From URL (a web address), From Base64 (a full Base64 text) or From structured data (default, from its separate parts). |
| URL | With From URL, the file’s address. |
| Base64 String | With From Base64, the encoded file. |
| File Name | With From structured data, the file name. |
| Mime Type | With From structured data, the file type, for example application/pdf, image/jpeg or audio/mpeg. |
| Base64 Content | With From structured data, the encoded content. |
Advanced options
| Field | What it does |
|---|---|
| Generates Hash | Computes a fingerprint of the file to identify it. Off by default. |
Output
The Binary output is the file, to connect to components that receive files, such as audio transcription or image description components.
Example
A call centre receives links to recordings and wants to transcribe them.
- Add Binary with Operations set to
From URLand connect the link to URL. - Connect Binary to a transcription component.
Related components
- Create Data: creates data records.