Get a Table from a File

Opens a table from a file, provided either through direct upload or at an S3 URL.

Overview

This procedure imports a table from a file, which can be provided via direct upload to Kognitos or fetched from an S3 URL. It supports popular file formats such as CSV and Excel.

circle-info

It is recommended to use Get the Worksheetarrow-up-right followed by Get the Worksheet's Tablearrow-up-right when extracting tables from Excel files.

Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

chevron-rightthe filehashtag

What does it do?

Specifies the file to extract the table from.

Where does it go?

This phrase should be written on a new line.

Is it required?

✅ Yes — This phrase is required.

Does it require data?

✅ Yes — Either specify an S3 url using is or leave this line as "the file" to raise an exception prompting a local file upload.

Example

the file is "s3://my-bucket/data/table.xlsx"
chevron-rightopen the table at the filehashtag

What does it do?

Instructs the system to extract the table at the provided file.

Where does it go?

This phrase should be written on a new line.

Is it required?

✅ Yes — This phrase is required.

Does it require data?

✅ Yes — Requires the file to be defined in the previous line.

Examples

1. Uploading a File Directly

Here, the file will raise a question prompting you to upload a file directly.

2. Specifying an S3 URL

In this example, the file is provided as an S3 URL.

Last updated

Was this helpful?