---
title: "Filling in PDF Forms Using Flow"
slug: "filling-in-pdf-forms-using-flow"
tags: ["fields", "Forms", "pdf"]
updated: 2026-06-26T13:58:09Z
published: 2026-06-26T13:58:09Z
canonical: "documentation.decisions.com/filling-in-pdf-forms-using-flow"
---

> ## 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.

# Filling in PDF Forms Using Flow

## Overview

PDF Files can have form fields populated or retrieved in a Flow using the **Set/****Get** **PDF Form Fields** steps. The **Set PDF Form Fields** steps can populate a PDF file with specified data and output the PDF file in a location according to the [File Storage Structure](/version-10/docs/file-storage) or can be used as input for a [File Download](https://documentation.decisions.com/version-10/docs/using-the-multiple-file-upload-and-download-controls) Form control. The **Get PDF Form Field** steps read an input PDF file and can return the input or the names of the Form fields.

---

## Set PDF Form Fields

The following example will populate the highlighted fields within the below sample PDF. Below is an example project that can be [imported](/version-10/docs/importing-and-exporting-projects) which contains the PDF used in the steps.

[[ArticleExample]FillinginPDFForms.zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/%5BArticleExample%5DFillinginPDFForms.zip)

1. To begin, [create a new Flow](https://documentation.decisions.com/version-10/docs/create-flows).
2. Within the Flow Designer, from the **Toolbox** **> DATA > PDF**, drag a **Set PDF Form Fields** step into the workspace.
3. Connect the **Start** step to the **Set PDF Form Fields** step.
4. With the **Set PDF Form Fields** step selected, click CHOOSE FILE to upload a PDF file into the **Properties > CONFIGURATION >** **PDF File Example** box. A separate step must be created for each field.Using the **Set PDF Form Fields Dynami****c** step, **Build Array** must be selected for the **Field Data** and then **Build Data** for each item they add. The item name will be a Constant value, and the output value should use Select From Flow.

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779131653950.png)
5. After adding the PDF, notice under **Properties** **> PDF Fields Definitions** that the field names are identified.
6. Next, configure the **Properties** **> INPUTS** for the **Set PDF Form Fields** step. Form Fields must have a compatible input.
7. Connect the **Set PDF Form Fields** step to the **End** step and **Save.** ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779131721392.png)

## Debug

1. Select **Debug** from the Top Action Bar. Click START DEBUGGING.
2. Notice the Flow runs successfully.
3. Right-click on the **Set PDF Form Fields** step and select **View Input/Output Data,** and observe the INPUTS mapped earlier.

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779131754716.png)

---

## Get PDF Form Fields

This example will use the **Get PDF Form Fields Names** step to retrieve the list of field names from a PDF File.

1. [Create a new Flow](/version-10/docs/create-flows)
2. Within the Flow Designer, from the **Toolbox** **> DATA > PDF**, drag a **Get PDF Form Fields Names** step into the workspace.
3. Input a PDF file and set the Sorting Method for the step.  
  
For the Sorting Method, below is a table that defines the sorting setting.

| Setting | Description |
| --- | --- |
| None | The default sort. Sorts the fields name based on what order the PDF authoring software has set. |
| Alphabetical | Sorts the field names in Alphabetical order. |
| Tab Order | Sorts the field names based on the Tab order the author assigned to each field. |
| Position on Page | Sorts the field names based on their x and y coordinates on a page. Pages are sorted in order, From top to bottom, left to right. |

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779131810874.png)

## Debug

1. Select **Debug** from the Top Action Bar. Click START DEBUGGING.
2. Right-click on the **Get** **PDF Form Fields Names** step and select **View Input/Output Data** to view the retrieved field names.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779131838812.png)
