> For the complete documentation index, see [llms.txt](https://community-test.logicnets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community-test.logicnets.com/release-9/platform-documentation/process-node-parts/convert-collection-to-text.md).

# Convert Collection to Text

## Description

This part allows you to convert the contents of a collection to a text string. As an example, this part is used to manage data, for instance in running a data table query as follows:

```
select governer from state_table where state on ("NY", "DC", "HI")
```

Typically, this part is NOT used for formatting a collection as text to show on the screen, as both report-item (Assessment Framework) and format variable (all frameworks, standalone) offer a wider range of choices for display.

## Tips and Tricks

This part is good for converting a simple checklist to comma delimited or other simple text format. For more sophisticated separators or creation of an HTML structure for bullet lists, etc. use the [Format Data Object](/release-9/platform-documentation/process-node-parts/format-data-object-format-variable.md) part instead.

## Editor Fields

This part uses the following editor fields:

| Tab   | Field Name              | Description                                                                                                   | Type/Options | Optional/Mandatory |
| ----- | ----------------------- | ------------------------------------------------------------------------------------------------------------- | ------------ | ------------------ |
| Basic | Input path              | This is the name of the collection for the system to convert.                                                 | Text         | Mandatory          |
| Basic | Separator               | This is the symbol the system should use to separate the returned values. The default value is a comma (','). | Text         | Optional           |
| Basic | Add quotes around value | This setting tells the system to add quotation marks around the returned values. The default setting is 'no'. | No \| Yes    | Mandatory          |
| Basic | Output path             | This is the name of the data object into which the converted text will be stored.                             | Text         | Mandatory          |

## Example

For an example of how to use the Convert Collection to Text part, download and import the following [sample project](/release-9/example-gallery/example-projects-for-parts/convert-collection-to-text-example-project.md) in your workspace.


---

# 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://community-test.logicnets.com/release-9/platform-documentation/process-node-parts/convert-collection-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.
