[Yandex Cloud documentation](../../../../../index.md) > [Yandex Serverless Integrations](../../../../index.md) > [Concepts](../../../index.md) > Workflows > [YaWL specification](../index.md) > Integration steps > ObjectStorage

# ObjectStorage

Interacting with the Yandex Object Storage objects. The `put` and `get` fields are mutually exclusive: you can perform only one of these actions on an object.

Field name | Type | Required | Default value | [Templating](../../templating.md) is supported | Description
--- | --- | --- | --- | --- | ---
`bucket` | `string` | Yes | No | No | Bucket name.
`object` | `string` | Yes | No | Yes | Object name.
`put` | [ObjectStoragePut](#ObjectStoragePut) | No | No | No | Configuring the `put` action to add the object to the bucket.
`get` | [ObjectStorageGet](#ObjectStorageGet) | No | No | No | Configuring the `get` action to get the object from the bucket.

## ObjectStoragePut object {#ObjectStoragePut}

Field name | Type | Required | Default value | [Templating](../../templating.md) is supported | Description
--- | --- | --- | --- | --- | ---
`content` | `string` | Yes | No | Yes | Object contents.
`contentType` | `BINARY`\|<br/>`JSON`\|<br/>`TEXT` | No | `TEXT` | No | Sets how to interpret the data delivered to `content`:<ul><li>`BINARY`: Set of bytes as a [base64](https://en.wikipedia.org/wiki/Base64)-encoded string.</li><li>`JSON`: Text containing [JSON](https://en.wikipedia.org/wiki/JSON) will be converted to a JSON structure.</li><li>`TEXT`: UTF-8 encoded text. If the file has a different encoding, Workflows will return an error, or the workflow will run incorrectly.</li></ul>

## ObjectStorageGet object {#ObjectStorageGet}

Field name | Type | Required | Default value | [Templating](../../templating.md) is supported | Description
--- | --- | --- | --- | --- | ---
`contentType` | `BINARY`\|<br/>`JSON`\|<br/>`TEXT`\| <br/>`EXCEL`\| <br/>`CSV` | No | `BINARY` | No | Defines how the object contents will be interpreted:<ul><li>`BINARY`: Set of bytes as a [base64](https://en.wikipedia.org/wiki/Base64)-encoded string.</li><li>`JSON`: Text containing [JSON](https://en.wikipedia.org/wiki/JSON) will be converted to a JSON structure.</li><li>`TEXT`: UTF-8 encoded text. If the file has a different encoding, Workflows will return an error, or the workflow will run incorrectly.</li><li>`EXCEL`: Text will be converted into an array of pages where each page is an array of string arrays. Supported formats: `XLAM`, `XLSM`, `XLSX`, `XLTM`, and `XLTX`.</li><li>`CSV`: Text will be converted into an array of string arrays by dividing the string at these characters: comma (`,`) and line break.</li></ul>