File Operations
Append Files Node
Append files together into a single file
The append files node allows you to append files together.
Node Inputs
- Files to append: The files you want to append together.
- Type:
List<File>
- Type:
If toggle for itemize is on for providing the files you have two options:
- If toggle is on Upload: Upload a file by clicking the upload button
- If toggle is on Variable: Reference files from other nodes.
Node Parameters
- File Type: The type of files you want to append. Currently only PDF files are supported.
Node Outputs
- File: The file with all the appended files
- Type:
File
- Example usage:
{{append_files_0.file}}
- Type:
Example
The below example shows a pipeline that takes two PDF files each and appends them together.
- Text Node: Contains the text for the first PDF file
- Text:
file 1
- Text:
- Text to File Node: Converts the text to PDF File
- File Type:
PDF
- Text to convert to file:
{{text_0.text}}
- File Type:
- Text Node: Contains the text for the second PDF file
- Text:
file 2
- Text:
- Text to File Node: Converts the text to PDF File
- File Type:
PDF
- Text to convert to file:
{{text_1.text}}
- File Type:
- 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}}
- Itemize:
- Output Node: Displays the appended file
- Output:
{{append_files_0.file}}
- Output: