# Convert a Table to Text

### Overview

This procedure converts a table into a plain text (string) representation. It's useful for exporting or displaying table data as a readable string.

### Syntax

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

<details>

<summary><code>convert the table to a string</code></summary>

#### What does it do?

Instructs the system to convert `the table` to a text string.

#### 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 — A reference to **the table** must be previously defined in the automation.

</details>

### Examples

#### 1. Convert a Sample Table to Text

{% tabs %}
{% tab title="Automation" %}

```
create a sample table
convert the table to a string
```

{% endtab %}

{% tab title="Results" %}
**the string**

\[{"Name":"john","Number":"+ 1 (415) 691 9426","Address":"123 east street","City":"San Francisco"},{"Name":"joe","Number":"+ 1 (415) 691 1234","Address":"321 west street","City":"San Jose"},{"Name":"jack","Number":"+ 1 (415) 691 4595","Address":"213 north street","City":"San Francisco"}]
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kognitos.com/legacy/legacy-experience/automation-areas/tables-v2/convert-a-table-to-csv/convert-a-table-to-text.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
