--- title: "Combining PDFs Using a Custom Group Action" slug: "combining-pdfs" updated: 2023-08-16T21:04:03Z published: 2023-08-16T21:04:03Z canonical: "documentation.decisions.com/combining-pdfs" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Combining PDFs Using a Custom Group Action The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production-quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.4.0 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [ExampleLab.CombiningPDFs-16082023-050130 (1).zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab.CombiningPDFs-16082023-050130%20(1).zip) --- | Example Lab Details | | --- | | **Version** | 8.12 | | **Root Folder** | Example Lab - Combining PDFs | | **Modules** | None | | **Dependencies** | None | ## Feature Overview Utilizing the HTML to PDF and Merge PDF steps. This approach streamlines the process of consolidating content into a unified document. Whether it's assembling reports, portfolios, medical records, or other information-rich materials, this combined approach significantly enhances the value and accessibility of the resulting PDF document. --- ## Project Overview This project aims to provide users with a streamlined method of processing multiple examples from the "Example Data" folder within the Root Folder. By utilizing the provided multiple selection tools, users can effortlessly choose two or more out of the three examples available for processing. Subsequently, a series of automated actions are triggered to convert the selected items into individual PDFs, followed by combining them into a single, downloadable PDF file. The process involves the utilization of HTML to PDF conversion and PDF merging, all orchestrated within a cohesive user interface. ### What's Included | Item | Designer Element Type | Steps Used | | --- | --- | --- | | Example Data | Designer Folder | --- | | | PDF Test Entity | Entity | --- | | PDFTestEntity Configuration | Configuration Folder | --- | | | Group PDF Folder | Flow | [HTML to PDF](https://documentation.decisions.com/step-library/docs/html-to-pdf) | | [ForEach Step](https://documentation.decisions.com/step-library/docs/foreach-step) | | [Show Form Step](https://documentation.decisions.com/step-library/docs/show-form) | | [Merge PDF Documents](https://documentation.decisions.com/step-library/docs/merge-pdf) | | | TestForm | Form | --- | | Create Test Data | Flow | Create Entity | | PDFTestEntity | Folder Entity Data Structure | --- | ### Configuration To effectively use this example project, follow these steps: 1. Navigate to the Root Folder and open the "Example Data" subfolder. 2. Select two examples within this folder, and a list of group actions will become visible. Select the Group PDF Flow. 3. The selected files will undergo conversion into individual PDF files via an HTML to PDF conversion step. Subsequently, a Merge PDF step, implemented within a ForEach loop, will consolidate these individual PDFs into a single PDF document. 4. Following successful merging, a Form interface will be displayed. This will provide an option to download the combined PDF.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2023-08-16_16h33_10.png) --- ## Expected Result This section provides a video displaying the project in action to see the desired outcome. Gain a firsthand understanding of how the project works and visualize the operation of the implemented features. [Video](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2023-08-16_16h35_31.mp4) Reference Articles[Converting HTML to PDF](https://documentation.decisions.com/docs/en/turning-richtexthtml-into-pdf)[ForEach Step](https://documentation.decisions.com/docs/en/processing-lists-of-items-with-the-foreach-step)[Creating Forms](https://documentation.decisions.com/docs/en/creating-your-first-form)