Step Details | |
| Introduced in Version | 9.24.0 |
| Modified in Version | 9.24.0 |
| Location | PGP Module |
The Decrypt File Reference step decrypts a file using File Reference data. This step provides the same functionality as the Decrypt File step, but works with file references instead of loading the file as FileData.
This step is useful when working with large encrypted files or when a Flow needs to decrypt a referenced file without loading the entire file into memory.
This step requires GPG to be installed on the system. GPG can be used to generate and export the key files used by this step.
In many environments, the key files used for decryption are provided by an organization’s internal IT operations or security team. In other cases, the private key may be generated and exported for the system that is responsible for decrypting files.
Properties
Inputs
| Property | Description | Data Type |
|---|---|---|
| File | The desired PGP-encrypted file | File Reference |
| Private Key | Generated PGP private key file used for encrypting or decrypting | FileData |
| Private Key Password | Password for the specified Private Key | String |
Outputs
| Property | Description | Data Type |
|---|---|---|
| Output | Outputs the decrypted file | File Reference |
Example Inputs and Outputs
| File | Private Key | Private Key Password | Output |
|---|---|---|---|
| Content | privatekey.asc | YourPkPassHere | Id: "217fd06a-1933-4baa-9ff5-5476aecc1ea8" FileName: "pgp_dec_out_EncryptedFile.docx" Size: 11 FileDateTime: "2026-04-23T15:32:58.1572565Z" |
Example
In this example, a Flow decrypts an incoming encrypted file using a file reference so the file can be used in later steps.
- In the Flow Designer, add the Decrypt File Reference step from the PGP steps available in the Toolbox.
- Map the File Reference for the encrypted file that should be decrypted.
- Configure the remaining properties.
- When the Flow runs, the file is decrypted and returned as a file reference.
The table below shows the decryption setup and results.
Before (encrypted file reference), Process (mapping the private key and private key password), and After (the decrypted output file).
| Before Decryption | Process | After Decryption |
|---|---|---|
![]() | ![]() ![]() | ![]() |
Step Changes
| Description | Version | Date | Developer Task |
|---|---|---|---|
| New steps have been added to the PGP Module. | 9.24 | April 2026 | [DT-047092] |
Documentation:
PGP Module
GnuPG
Forum Posts:
Error While Encrypting A File Using PGP
PGP Issues With Decrypting Using Private Key



