PDF editor'

Add selection logic to a PDF

With Anvil Workflows, you can generate customized PDF packets based on a set of rules. In this way, you can use a single Workflow that can accommodate a variety of outcomes and different final PDF output needs. By adding all PDFs that could possibly be included in a PDF packet that result from a Workflow and setting visibility rules for each PDF, Anvil will dynamically select and fill the correct PDFs.

For example, a landlord may have standard lease agreements for each state and an additional lead-based paint disclosure for properties built before 1978. In this case, standard lease agreements for each state and the disclosure document would be added to the Workflow. With document visibility logic added, Anvil would select the lease agreement for the state indicated in the webform and include the disclosure document for any buildings built before 1978.

Back to Help Center
1

How to navigate to the PDF editor

2

Add all the possible PDF documents.

3

Navigate to the PDF document that you want to conditionally include in the final PDF packet.

PDF logic 1

4

On the right side panel, click the “Rules” dropdown next to Document visibility.

PDF logic 2

5

Add a condition.

Add a logic condition for the selected document to appear.

PDF logic 3

6

Repeat.

Repeat for all documents that you want to conditionally include in the final PDF packet.

Back to Help Center

Related Articles

1 - 0 of 0