---
title: "Bind Pipe"
description: "Save the incoming pipe value under a named key."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/context/bind-pipe"
---
# Bind Pipe

> Save the incoming pipe value under a named key.

<block-meta block="Yes" channels="Any" folder="basic/context" group="Context" groupTo="/build/workflows/blocks/context" icon="i-lucide-save" pipe="Input" scope="Any" tool="No" type="ctx.pipe.bind">



</block-meta>

**Bind Pipe** copies the incoming data pipe into a named variable and **forwards the same pipe** to the next block. Use it when a later step still needs a value this block did not just produce (for example the pipe a pass-through step received).

Blocks that return their own result can save that result from the block configuration instead. Open the block, set **Key**, and choose **Set In Current Scope**. Leave **Key** empty to skip. The next block still receives the same result.

If **Key** is empty, nothing is stored.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Key
      </strong>
    </td>
    
    <td>
      Name to store the piped value under. Same naming rules as <a href="https://docs.vettero.com/build/workflows/blocks/context/set">
        Set
      </a>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Set In Current Scope
      </strong>
    </td>
    
    <td>
      On (default): store in this scope, like <a href="https://docs.vettero.com/build/workflows/blocks/context/set">
        Set
      </a>
      
      . Off: write on the existing owner of that name, like <a href="https://docs.vettero.com/build/workflows/blocks/context/update">
        Update
      </a>
      
       (creates locally if the name is new)
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues with the same pipe value
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block still sees the **incoming** pipe (`pipe.value` is unchanged). The bound name holds that same value.

## Use case

- After a pass-through step whose incoming pipe you will need twice, bind it as `apiResult` and keep using `pipe.value` on the next step.
- Inside a loop, bind the item result locally; turn **Set In Current Scope** off to keep it after the loop.
- For a block that returns its own result, set **Key** on that block. You do not need a Bind Pipe after it.

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
