Tutorials
How to generate PDFs in Notion using a button (Step-by-step guide using PDFOutput)
A step-by-step guide on how to generate PDFs in Notion using a button
By Sanat Biswal · 2026-06-21 · 12 min read
Notion is a versatile tool that helps manage every aspect of a business in-house.
But one of the most commonly asked features is: how do you generate PDFs out of a Notion Database? Is there even a way to do so?
PDFOutput is exactly the solution that will help you with this — and the best part is that all PDFs can be generated simply with the click of a button in Notion!
Let's understand how this works step by step.
Requirements for using PDFOutput
PDFOutput has 3 essential requirements to automate documents for PDF generation.
1. Notion Database
A Notion Database (or datasource) is a must and must be added by the user to allow PDFOutput to generate PDFs.
PDFOutput connects with the provided database, fetches the properties of the Notion Database, and maps the placeholders onto the template source.
Users have the flexibility to add as many Notion databases as required to generate as many PDFs as they would like.
For this demonstration, we will create Invoices as PDFs on automation using a button.
The Invoices Datasource will contain the following 4 databases:
2. Google Account
A valid Google account is required for the setup. It will be used to process the template as a Google Document and generate the PDFs.
A template source can be added in one of the following 4 ways:
- Google Document
- Word File
- PDF File
- Selecting from a list of pre-added templates
- Log in to PDFOutput to get started.
- Click on New Connection to set up a new connection (e.g. Invoicing Automation).
- Click on Connect Notion to create a new Notion connection.
- Click on Select Pages to select the Notion pages for adding the database.
- Search for the Invoices Database to find it in the search window.
- Click on Allow Access to grant PDFOutput access to the connected databases.
- Google Document
- Word File
- PDF File
- Selecting from a list of available templates
Users have the flexibility to opt for any of the 4 methods above.
3. PDFOutput Account
A PDFOutput account is essential - it connects both Google Document and Notion Database together to generate the PDFs.
PDFOutput also has a free plan available that lets you test PDF generation before committing to a paid plan.
How to set up PDFOutput automation (Step-by-step guide)
Step : 1 Connecting the Notion Database (Datasource)
The very first step is to connect the Notion Database that will allow fetching the properties to convert as PDFs.
Here are the steps to follow:
!Searching for Invoices Database
Once access is granted, it's time to connect a template source.
Step : 2 Connecting the Template Source
!Template source selection screen
A template source is added in one of the following 4 ways:
Here are the steps to add a template source:
!Searching for Invoice template
!Selecting the Invoice template
This will proceed to the Provide Data section where you can map the fields fetched from the database onto the template shown on the left.
3. Mapping Notion Properties (Provide Data)
The final step of the automation process is to map the properties live onto the template source.
When you click Continue, you land on the Provide Data step where you can map Notion properties one by one onto the template.
Here are the steps:
!Selecting DB_Invoices as primary database
!Properties loaded from all databases
!Mapping properties onto the template
This will take you to the final step where you set up the automation.
Additional Settings
Before clicking Preview Output, you can configure a few additional settings:
For example: if you select Invoice Number (value: INV-001), the PDF will be saved as INV-001.pdf.
Step : 4 Setting Up the Automation (Preview Output)
Once Preview Output is clicked in the Provide Data stage, you head over to the last step.
In this stage, you can set up the automation to run continuously.
Once the preview output is generated (it creates a preview for the first record from the database), you are ready to activate the automation.
Click on Setup Automation - this sets up the automation to trigger PDF generation indefinitely.
Once the automation is set up, it's time to generate PDFs from the Notion Database using a button.
How to generate PDFs by clicking a button in Notion
Once the automation is set up in PDFOutput, here's how to generate PDFs using a button in Notion.
!Button Automation option in dashboard
Click on the 3-dots → Button Automation for the automation saved in the dashboard. This will show all the steps for setting up the button to automate PDF generation.
Follow these steps:
!Creating a Button property in Notion
- To generate Notion Database entries as PDFs using a template:
https://uynlyrypirkwpbtqhgxq.supabase.co/functions/v1/notion-webhook?action=button-trigger
- To generate Notion Pages as PDFs:
https://uynlyrypirkwpbtqhgxq.supabase.co/functions/v1/page-trigger
Note : Click Copy in PDFOutput to copy the URL value and paste it directly into the URL field.
!Filling in the Authorization key
Note : Click Copy in PDFOutput to copy the Authorization key and paste it directly.
Note : Click Copy in PDFOutput to copy the Authorization value and paste it directly.
That's it - your button is now set up to generate PDFs on demand!
Other ways to generate PDFs from PDFOutput automation
Besides using a button (the recommended way), there are other ways to generate PDFs as well.
1. Using Preview Output
Click on 3-dots → Preview Output for any automation in the dashboard.
This generates a preview output for the first Notion record. It's ideal for quick testing to understand how PDFs will look before the automation runs live.
2. Using Batch PDF
Click on 3-dots → Batch PDF for any existing automation in the dashboard.
This generates PDFs in batches of 100 files at a time - highly useful when you need to produce PDFs in bulk.
!Batch PDF results saved to database
3. Using the GeneratePDF / Generate Page Option
This option allows generating PDFs directly within the Notion Database.
!GeneratePDF property in Notion
Simply mark a record as "Ready to Generate" and PDFOutput will convert the selected template to a PDF and save it directly in the database.
Common issues when generating PDFs in PDFOutput (and how to fix them)
Issue : The placeholders added in the template source file don't get replaced with values from the datasource.
Solution : This happens when the field mapped doesn't exactly match the field name in the template source.
For example: if the field name in the database is “Inv_Num” but the placeholdertext in the template is “Invoice_No”, it will not replace correctly.
Always use the exact placeholder name from the database, including correct capitalisation and underscores. The safest practice is to always Copy the placeholder from PDFOutput and Paste it directly onto the template - this ensures the text is always accurate.
Issue : Secondary database items added to the template don't generate values dynamically from the connected secondary databases.
Solution : This happens when the secondary databases haven't been connected to PDFOutput.
While adding placeholder text, check that secondary databases are connected by clicking … → Connections → PDFOutput. If PDFOutput appears in the active connections, the database is properly linked.
Issue : The generated PDF doesn't preserve the expected formatting of the document.
Solution : This happens when the template file has a complex layout with elements that aren't natively supported by Google Document.
Always use simplistic elements that are natively supported by Google Docs. This will avoid layout or design issues during PDF generation.
Start automating PDFs from Notion using a button with PDFOutput
Setting up an automation with PDFOutput helps produce PDFs not only with speed but also with precision.
If you are still generating PDFs manually, it's time to change your system and generate PDFs completely on automation.
Set up your CRMs in Notion and use PDFOutput to enable generating PDFs right away from your Notion Database. Using a button gives you the power and flexibility to produce PDFs at your own convenience, at any time of day.
Ready to get started? Try PDFOutput for free and create your first automation in minutes.
Have any more questions, reach out to me at notionformyuse@gmail.com for assistance.
FAQ's on how to use PDFOutput
Here's some commonly asked questions about PDFOutput and its use:
Yes, you can produce batch PDFs using PDFOutput - up to 100 PDFs in one go.
To produce batch PDFs, click on 3-dots → Batch PDFs in the automation dashboard to generate PDFs in batches of 100 at once.
Yes, PDFOutput allows you to use multiple templates to produce PDFs from the same database.
You can create different variations of the same template and the automation will let you choose your desired template under the Choose Document field to produce the PDFs. Simply set up separate automations choosing the same database with different templates - all templates will appear within the Choose Document field in Notion.
Yes, PDFOutput allows you to produce PDFs by converting a Notion Page directly to a PDF file.
All the principles explained above apply to the conversion of Notion Pages to PDFs. Connect your Notion Database once, set up a button, and either click it to generate PDFs or mark a record as "Generate Page" to convert a Notion Page to PDF right away.
This also works with placeholders in the form of \{\{…\}\} inside a Notion Page, which get replaced with values from the database. It can even convert normal Notion Pages (without any placeholders) to PDFs as well.