> For the complete documentation index, see [llms.txt](https://support.docstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.docstudio.com/user/envelopes/how-to-add-or-remove-an-envelope-from-a-chain.md).

# How to Add or Remove an Envelope from a Chain

This document describes the process of managing envelope chains, including how to add individual envelopes to a chain, how to remove them, and how this affects chain order and workflow.

{% hint style="warning" %}
You can add an envelope to a chain only if it isn’t already in another chain.
{% endhint %}

### When to use this

Use chains when several envelopes belong to the same process and you want to keep them connected.

Common cases:

* continue one business process in a new envelope
* group related envelopes for easier tracking
* remove an envelope that was added to the wrong chain

### Add envelopes to a chain

<figure><img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2FmKEtVI2qbsriLLHA7Vql%2Fimage.png?alt=media&amp;token=21ff4624-acf5-49b3-8b7e-d6cfb1c12c11" alt=""><figcaption></figcaption></figure>

1. Select the envelopes you want to chain.
2. Click the **Add envelope to chain** ![](https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2FcsfiWCJnTXTrxH9Gppc7%2Fimage.png?alt=media\&token=33eecdd7-c4ea-4588-8513-46e0ce8e65cd) icon.

#### Add to an existing chain (merge)

{% columns %}
{% column %}
Use this when the envelope you need isn’t on the same page.

1. Select an envelope.
2. Click the **Add envelope to chain** ![](https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2FGJUTGXSdnrAUKqWSS7td%2Fimage.png?alt=media\&token=95bb7ba2-9f4c-499e-a647-d9a8331fa1f9)icon.
3. In the modal, enter the subject or UUID of the envelope you want to add, then confirm.
   {% endcolumn %}

{% column %}

<figure><img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2FJAOxnKK69x5sA5p7z3eJ%2Fimage.png?alt=media&amp;token=20ae10a6-9453-4d8a-ad4c-5eea2a2eeb1f" alt="" width="216"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### Remove envelopes from a chain

You can remove an envelope from a chain only if you added it to that chain.

1. In the envelopes list, select the chained envelope(s).
2. Click the **Remove envelope from chain** <img src="https://2962383972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoqUiFHjwtCCGSaEDqbXb%2Fuploads%2FRe8lfreB9H3pt5dVFVWv%2Fimage.png?alt=media&amp;token=bbd74fcb-a273-4cae-9956-9343d287630c" alt="" data-size="line"> icon.


---

# 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://support.docstudio.com/user/envelopes/how-to-add-or-remove-an-envelope-from-a-chain.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.
