# Workflow Automation: Make a PDF

Use **Make a PDF** to create a new PDF file and attach it to the Podio *Item*.

For example, for a marketing campaign, you can set up a standard PDF welcome letter to send to prospective clients. Every time you add a new Company to this marketing list, this welcome letter will be created and attached to this Company record.

Start the flow by selecting the **Trigger** and add any **Filters** required.

Add the **Make a PDF** action.

![Make a pdf 1](https://www.progress.com/podio/documentation/assets/174cb6ebc06ff65ea9b0d639d6782985/makepdf1.png)

Add your title, making it unique by adding field tokens

*Note: To prevent issues, PWA sanitizes filenames, so there is no way to have capitals, spaces, or special characters.*

![Make a pdf 2](https://www.progress.com/podio/documentation/assets/5ad4cf6b3f593c538ce10d9b444461e5/makepdf2.png)

Select your paper size and orientation

![Make a pdf 3](https://www.progress.com/podio/documentation/assets/5e51e304eecaeb99f7325c36d78fab30/makepdf3.png)

Now create the PDF body. Headers and Footers can also be created. You can format the text, add bullets, images and links as well as change the source code for more formatting options.

![Make a pdf 4](https://www.progress.com/podio/documentation/assets/9d35bb354be3ff06cdeecc867e11baff/makepdf4.png)

**Note:** Keep in mind that your total file size should not exceed **25MB**.For larger files, we recommend Saving the File to the ShareFile Integration.

Change the way the data is output using **Custom Variables**

Find php calculation examples HERE

Add Page Numbers:

* Add **Page {PAGENO} of {nbpg}**
* Can be added to the Header or Footer

Add Page Breaks:

* Add a Custom Variable collector with **"(pagebreak/)"** \[Format pagebreak/ within <>]

![Make a pdf 5](https://www.progress.com/podio/documentation/assets/cb9c0d07155e294971005f57973a0d34/makepdf5.png)

* Add this created Custom Variable token into the PDF

Insert Image:

* Select the image button on the format toolbar
* Enter address of public image and click OK

![Make a pdf 6](https://www.progress.com/podio/documentation/assets/91b8c9c7cb8e3916a109d082437f2b18/makepdf6.png)

See this PDF in action in our blog post Create a PDF Invoice
One of our users posted this [YouTube video](https://www.youtube.com/watch?v=6fbpy7eH_mQ) to illustrate
