Dev: Flow Download Button

Published on February 10, 2026 DRTE



Download Document Buttons for Flow Screens

The DRTE Extension adds download buttons to Salesforce Flow screens so users can generate and download documents from a template in a single click. This guide covers the available components and the Flow setup required to use them.

Flow screen showing the DRTE download button components.


Available Screen Components

The extension provides four Lightning Web Components that can be added to any Flow screen:

ComponentOutput
Download Docx ButtonMicrosoft Word document
Download PDF ButtonPDF file
Download PPTx ButtonPowerPoint presentation
Download Xlsx ButtonExcel spreadsheet

Implementation Workflow

Build the Flow in Flow Builder using the following sequence of logic and screen elements.

Step 1: Data Retrieval

Step 2: User Selection

Step 3: Document Generation

Step 4: Final Download

Final download screen (Screen2) with the download button.


Developer Note

The extension is designed to handle "larger files". The download may take a few moments to complete after the user clicks the button on the screen.


Knowledge Article Number: KA-00119

View more articles in the knowledge base