# 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 %}
