Generate PDFs and Google Docs from Notion databases, with optional e-signing
The DocsAutomator-Notion integration turns Notion database pages into PDFs and Google Docs. Each automation is connected to one Notion database; documents are generated from the pages in that database, line items are pulled from related pages, and finished PDFs can be saved back to the same page — or sent out for e-signing.
Generated PDFs can be uploaded straight to a file property on the Notion page, and the PDF or Google Doc URL can be written to a URL or text property.
Pick the Notion database you want to generate documents from. DocsAutomator lists every database you’ve shared with the integration.
5
Choose the document name
Pick which Notion property to use for naming the generated document — typically your Title property. Text and string-formula properties also work.
6
Map your properties to placeholders
Match every template placeholder to a Notion property. Renaming a property in Notion later won’t break the mapping — DocsAutomator tracks properties even when you rename them.
Use AI Field Mapping to fill the table in automatically by matching placeholder names to property names.
7
Map line items (optional)
If your template includes {{line_items_1}} markers, pick a Relation property on your database, then map the fields on the related pages to the line-item placeholders. You can nest line items up to three levels deep.
8
Preview
Generate a preview to make sure everything looks right. You can search for any page in your database to preview from.
9
Configure write-back in the Actions tab
Open the Actions tab to control what happens after a document is generated. For Notion, you can:
Upload the generated PDF to a file property on the page (with overwrite or append).
Write the PDF URL or Google Doc URL into a URL or text property.
Send the PDF by email, save it to Google Drive, merge it with an existing PDF, or send a webhook notification.
10
Choose how documents get triggered
You can generate documents manually from DocsAutomator, automatically when a property changes, or with a button placed on each row in Notion — see the next section.
You can generate documents from Notion three ways: from inside DocsAutomator, automatically when a property changes, or by clicking a button on a row in Notion.
Pick a property and a value that should fire generation. When a page changes to match (for example, Status = Ready), DocsAutomator generates a document for that page.Trigger property types supported:
Status
Select
Multi-select (fires when the chosen option is among the selected values)
Checkbox
Notion delivers change events in batches, so automatic generation typically takes 1–2 minutes after the property changes. If you need instant generation, use the Notion Button method below.
DocsAutomator can drop the entire body of a Notion page (everything you write below the property panel) into your document. In the property picker, choose 📄 Page body (Markdown) for any placeholder, and the page’s content appears at that spot in the document.
Supported content includes:
Headings, paragraphs, and lists (bulleted, numbered, to-do, nested)
Can be flagged as Markdown to preserve inline formatting
Number
299.99
Respects your column’s Notion format (currency, percent, number with commas)
Currency (number format)
$299.99 / €299.99
Symbol matches the currency you picked in Notion
Percent (number format)
50%
Renders as Notion displays it
Number with commas
1,299.99
Thousands separators per your automation locale
Select
Option name
Multi-select
Option 1, Option 2
Comma-separated
Status
Status name
Date
21/05/2024
Honors your automation’s date format. Date ranges render as start – end. Times included when set in Notion, in the time zone set in Notion
Created time / Last edited time
21/05/2024
Per automation date format
People
Ada Lovelace, Alan Turing
Comma-separated
Created by / Last edited by
Name
Files & media
Image(s) or URLs
Map to image placeholders ({{image_*}}) to embed images; other files appear as URLs
Checkbox
✅ or ❌
URL
https://example.com
Unmodified
Email
name@example.com
Unmodified
Phone
+1 234 567 890
Unmodified
Formula
Varies
Matches the formula’s result type (text, number, date, or yes/no)
Rollup
Varies
Matches the rolled-up property’s type. Multi-value rollups join with ,
Relation
Comma-joined IDs
Use line items for full expansion into rows
Unique ID
INV-42
Includes the prefix when one is set
Verification
verified / unverified
Button
(none)
Button properties have no value
Place
(none)
Not currently supplied by Notion
Need a different format? Open the Format popover on any placeholder to override the default — currency code, date format, decimals, and more. See Format Values.
DocsAutomator turns a Relation property on your database into a {{line_items_N}} row in the template — one row per related page.
Pick the relation on your primary database.
Map fields on the related pages to the line-item placeholders ({{line_items_1_qty}}, {{line_items_1_name}}, …).
Sort by any property on the related pages, ascending or descending. With no sort set, line items follow the order you’ve arranged them in on the parent page.
Nest up to three levels — {{line_items_1_1_*}} pulls from a relation on the related page, {{line_items_1_2_*}} adds another level beneath that.
DocsAutomator can collect legally binding e-signatures on documents generated from Notion pages. After a document is generated, it’s routed automatically to one or more signers.In your automation’s output settings, toggle on e-signatures and map each signer’s email and name to a Notion property — for example, map “Client Email” to the first signer’s email and “Client Name” to their name. Multi-signer documents support both sequential (signers sign in order) and parallel (all signers receive the request at the same time) signing.Place e-signature placeholders such as {{esign.signature_1}} and {{esign.date_1}} in your template wherever signatures and dates should appear. Once all signers have completed the document, the signed PDF can be written back to a Notion file property automatically.
E-signatures work with both Google Doc templates and PDF templates. See the E-Signature Guide for full configuration details and the placeholder reference.
I need to share another database after I connected Notion
No need to reconnect. In Notion, open the database, click the ••• menu in the top-right, choose Connections → DocsAutomator, then come back to DocsAutomator and click Refresh.
I authorized Notion but no databases appear
The most likely reason is that no databases were ticked on the authorization screen. Reconnect Notion from your DocsAutomator settings and make sure to select your databases — or share them after the fact using the Connections menu (see above).
Why does automatic generation take a minute or two?
Notion delivers change events to integrations in batches, so the delay is usually 1–2 minutes. If you need instant generation, use the Notion Button trigger instead.
Why does the Notion Button method need a paid Notion plan?
The “Send webhook” action on database buttons is a paid Notion feature (Notion Plus and higher). On the Free plan, you can still generate manually from DocsAutomator or use the Auto Creation trigger.
What happens if I rename a property in Notion?
Nothing breaks. DocsAutomator keeps tracking the property after a rename.
Can I render a page's body content (not just properties)?
Yes. In the property picker, choose 📄 Page body (Markdown) for any placeholder and the page’s content (headings, lists, tables, images, callouts, code, and so on) appears in your document at that spot.
Can I write the PDF back to Notion?
Yes. In the output settings, pick a file property on the database. The generated PDF is uploaded to that property on the page, and you can choose whether to overwrite existing files or add alongside them.