> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-join-list-to-text.md).

# Rule action: Join list to text

**Used for:** converting a list to a normal text field with the list elements separated by a specific character (e.g. comma).

**Used in:** "THEN"-statements and "ELSE"-statements.

This rule is the opposite of the ['split text to list' rule](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-split-text-to-list.md). In this case, your field already contains a list and you want to convert this to a normal text field (with the elements separated by a certain character). In the example below we will convert a list of sizes to a text field with the sizes separated by "-".

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/2fQVqxMkbDHlteH8Dj4p/join_list_to_text.PNG" alt=""><figcaption></figcaption></figure>

This is what the size field looked like before the rule:

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/IZg0FotJ0awRyyEqTu23/size_before__3_.PNG" alt=""><figcaption></figcaption></figure>

And this is what it looks like after saving the rule:

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/gSVxcLGIw5ZTOxTyVesH/size_after__3_.PNG" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpcenter.channable.com/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-join-list-to-text.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
