---
title: "File"
description: "Send a file download with an optional caption."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/out/file"
---
# File

> Send a file download with an optional caption.

<block-meta block="Yes" channels="Chat" folder="basic/output" group="Output" groupTo="/build/workflows/blocks/out" icon="i-lucide-file" pipe="Unset" scope="Any" tool="No" type="out.file">



</block-meta>

**File** (canvas label **Send File**) sends a downloadable file in a **chat** session and continues. Bind a file from context or upload one in the inspector. This block does not pass a value on the data pipe.

## Configure

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

<tbody>
  <tr>
    <td>
      <strong>
        File
      </strong>
    </td>
    
    <td>
      File value or upload
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Text (Optional)
      </strong>
    </td>
    
    <td>
      Caption next to the file (variables allowed)
    </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 after the file is sent
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

This block does not pass a value on the data pipe.

## Use case

- Return a generated PDF or spreadsheet.
- Echo a file collected with [Upload](https://docs.vettero.com/build/workflows/blocks/in/file).

<block-page-nav>



</block-page-nav>


## Sitemap

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