> For the complete documentation index, see [llms.txt](https://docs.formsort.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.formsort.com/creating-flows/building-a-new-flow/copy-paste-of-form-content.md).

# Copy-pasting form content

Cut, copy, and paste work whenever your have a group, step, question, or variable selected: within flows, or even between flows.

### Copying and pasting items

When an item is focused, there is a sub-menu that will allow you to copy/cut an item. Alternatively, you can right-click the item.&#x20;

This is available on groups, steps, and questions.&#x20;

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2Fv7q9zUIUGsCJHJkW4Zns%2Fimage.png?alt=media&amp;token=5678733f-7c36-42e6-b1de-e14eef32993c" alt="" width="429"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2F3lh3F7179JpZGeIyTqpJ%2Fimage.png?alt=media&amp;token=fdd9eeed-d0f3-42d1-971c-6876c3175b0f" alt="" width="563"><figcaption></figcaption></figure></div>

Once an item is copied, you can paste by right clicking the target area and:&#x20;

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2F3AtsQYmzq4CqOmqMrJFG%2Fimage.png?alt=media&amp;token=844640d4-ab0f-4044-b145-0e2763e6b95f" alt="" width="420"><figcaption></figcaption></figure></div>

When pasting content that depends on answers from other parts of a flow, you’ll need to guide the Formsort studio on how to handle those dependencies. This process is called **mapping input variables**.

### Mapping input variables

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FEIhJ1LChjjda3MWFvJjJ%2Fimage.png?alt=media&amp;token=1a9f9f1a-686d-457e-985a-369e52d7e626" alt="" width="458"><figcaption></figcaption></figure></div>

If you paste a flow slice that contains variables—such as [templated labels](/variable-templating.md) or questions that rely on conditional logic—you'll be prompted to map those variables to existing answers in your flow.

Flow slices that contain only static content (like informational text or images) can be pasted without any additional configuration.

When mapping input variables, you’ll have a few options:

### Create new answer

Adds a new question to the beginning of the pasted slice to collect the required input from the responder.

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FUgiOiQKwFMdbT50K6etQ%2Fimage.png?alt=media&amp;token=ff37a1da-f827-4a02-a1cd-4d9349824896" alt="" width="332"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FJgdeswwHtMxjMG7BrWM9%2Fimage.png?alt=media&amp;token=1eebfebd-1713-4c11-89c8-2f834707b639" alt="" width="400"><figcaption></figcaption></figure></div>

### Map to existing answer

If your flow already collects an answer of the correct type, you can map the variable to that existing answer—no new question needed.

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FHN8nqtPYCjpKaS8taJmF%2Fimage.png?alt=media&amp;token=b3eb4633-15bb-4183-b3a1-fc07a5a32bdd" alt="" width="350"><figcaption></figcaption></figure></div>

This process is great for creating duplicate instances of a question.&#x20;

<div align="left"><figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FWMiOA2im5QyjNyyLWsFa%2Fimage.png?alt=media&amp;token=d932ea42-e7ff-4964-9c88-abc177d84006" alt="" width="394"><figcaption></figcaption></figure></div>


---

# 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.formsort.com/creating-flows/building-a-new-flow/copy-paste-of-form-content.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.
