fileFile

Overview of the File integration.

circle-info

The following documentation is for File v1.5.0.

Overview

This integration enables reading, writing, and manipulating files, providing essential file management capabilities for your automation workflows.

Setup

The following integrations need to be connected to your Kognitos workspace:

  • File

Steps

Follow these steps to connect the integration in Kognitos:

1

Using the left navigation menu, go to IntegrationsExplore Integrations.

2

Find

Search for the integration and click on it.

3

Connect

Click on Connect to add a connection to the integration.

4

Configure

Add a name for the connection. You'll be prompted for authentication details if needed. Then, click on Connect.

Actions

The following actions are available in the File integration:

1. Get the file's extension

Get the extension of a file.

2. Get the file's mime type

Get the MIME type of a file.

3. Get the file's size

Get the size of a file in a human-readable format.

4. Read the file

Read the contents of a file as a string.

5. Read the file as a base64 string

Read the contents of a file as a base64-encoded string.

6. Write a file

Create a file with the specified content.

Last updated

Was this helpful?