> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Append Files Node

> Append files together into a single file

<img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-transformation/append-files.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=0da8b9e7dbbd71c59ac73620d699c90e" alt="Append Files" width="503" height="273" data-path="images/platform/pipelines/data-transformation/append-files.png" />

The append files node allows you to append files together.

## Node Inputs

1. Files to append: The files you want to append together.
   * Type: `List<File>`

If toggle for itemize is on for providing the files you have two options:

1. If toggle is on Upload: Upload a file by clicking the upload button
2. If toggle is on Variable: Reference files from other nodes.

## Node Parameters

1. File Type: The type of files you want to append. Currently only PDF files are supported.

## Node Outputs

1. File: The file with all the appended files
   * Type: `File`
   * Example usage: `{{append_files_0.file}}`

## Example

The below example shows a pipeline that takes two PDF files each and appends them together.

1. Text Node: Contains the text for the first PDF file
   * Text: `file 1`
2. Text to File Node: Converts the text to PDF File
   * File Type: `PDF`
   * Text to convert to file: `{{text_0.text}}`
3. Text Node: Contains the text for the second PDF file
   * Text: `file 2`
4. Text to File Node: Converts the text to PDF File
   * File Type: `PDF`
   * Text to convert to file: `{{text_1.text}}`
5. Append Files Node: Appends the two PDF files together
   * Itemize: `On`
   * Files to append: Item 1: `{{text_to_file_0.file}}` and Item 2: `{{text_to_file_1.file}}`
6. Output Node: Displays the appended file
   * Output: `{{append_files_0.file}}`

<img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-transformation/append-files-example.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=4ab2774fc466d8b5be045d4bcf47ab56" alt="Append Files Example" width="1907" height="834" data-path="images/platform/pipelines/data-transformation/append-files-example.png" />

<img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-transformation/append-files-example-2.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=04e4eceea88229ad97b28caf85621818" alt="Append Files Example" width="1907" height="834" data-path="images/platform/pipelines/data-transformation/append-files-example-2.png" />
