> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/form-management/form-designer/pages/page-looping/looping-pipes.md).

# Looping Pipes

Using looping pipe you can customize each of your looping page with a piece text that will only be visible on that page.

In our previous example of shop selection we can see that ngSurvey pre-generates a default pipe loop for us.

<figure><img src="https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FBzcAyCyF4LKTn1QHYZaV%2Fimage.png?alt=media&amp;token=ab07328f-649b-41ef-9f30-34a3deb6aee6" alt=""><figcaption></figcaption></figure>

To use the output of the looping pipe we can use ngSurvey [piping](/form-management/form-designer/piping.md) features anywhere in our questions or answers labels.

<div><figure><img src="https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FaFd0mjDOiS5uomvJ2Yf0%2Fimage.png?alt=media&amp;token=d683eee7-b077-40cc-9848-84bd274bbf28" alt=""><figcaption></figcaption></figure> <figure><img src="https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FxUAoLOO8LypYWsKeLYhD%2Fimage.png?alt=media&amp;token=67eccbbd-711a-4c17-b3c6-af5e307d243a" alt=""><figcaption></figcaption></figure></div>

The piping loop tag will be replaced dynamically based on the current loop page. As such if the respondent is in the "Cotsco" shop loop it will replace the tag by the Cotsco shop name.

<img src="https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2F6KI8Zs7NiOVL9UgVFiJq%2Fimage.png?alt=media&amp;token=ead4ce65-2c0f-435e-9e7f-90f489f5fc82" alt="" data-size="original"> &#x20;

If you want to add additional piping loops you can use the ![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FZUrXrdyubLBMxEe6WKUD%2Fimage.png?alt=media\&token=eddaf9e4-aa74-4b3c-a246-c4545fdd87b5)icon to add your own entries for each loop. This allows you full customization of each of your looping page with your own custom text.

{% hint style="info" %}
If you are running multi-language surveys you can translate each piping loop after having selected your edition language in your survey.
{% endhint %}


---

# 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://docs.ngsurvey.com/form-management/form-designer/pages/page-looping/looping-pipes.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.
