Template Management
Templates are the foundation of your document generation workflow. This guide covers everything you need to know about creating, editing, and managing templates.
Overview
A template defines the structure and layout of your PDF documents. It combines:
- Static content: Text, images, and design elements that stay the same
- Merge fields: Placeholders that get replaced with data from your CRM or database
- Tables: Dynamic sections that expand based on related records
Creating a New Template
Step 1: Start the Creation Process
- From your dashboard, click the New Template button
- You'll enter the template creation wizard
Step 2: Template Details
Fill in the basic information:
| Field | Description | Required |
|---|---|---|
| Template Name | A descriptive name for your template (e.g., "Sales Contract", "Invoice Template") | Yes |
| Description | Optional notes about the template's purpose | No |
| Data Source | The system where your data comes from | Yes |
| Object Type | The type of record to merge (e.g., Account, Contact, Deal) | Yes |
Choosing a Data Source
Select the integration that contains your data:
- Salesforce: Use Salesforce objects (Account, Contact, Opportunity, etc.)
- HubSpot: Use HubSpot objects (Contacts, Companies, Deals, etc.)
- SQL Database: Query data from your connected database
- Google Sheets: Pull data from spreadsheet rows
Step 3: Design Your Template
After clicking Continue, you'll enter the template designer. You have two options to create your template:
Option A: Upload and Extract from an Existing PDF (Recommended for existing documents)
This is the fastest way to create a template from an existing document:
- Click Upload PDF and select your existing PDF document
- Click Extract Fields to analyze the PDF content
- The system automatically converts text and tables into editable fields
- Review the extracted elements and adjust positioning if needed
- Replace static text with merge fields (e.g., change "John Doe" to
{{FirstName}} {{LastName}}) - Configure tables with dynamic merge fields for related data
Option B: Build from Scratch
Create a template from a blank canvas:
- Add text fields, tables, and other elements to the canvas
- Position elements where you want them
- Add merge fields using
{{FieldName}}syntax - Set up tables for related records
- Apply fonts and styling
Both options give you full control over the final template design.
Uploading a PDF to Extract Fields
One of the most powerful features is the ability to upload an existing PDF and automatically extract its content as editable fields in your template. This allows you to quickly convert any PDF document into a dynamic template.
How Field Extraction Works
When you upload a PDF, the system analyzes its content and converts it into editable template elements:
- Text content becomes editable text fields
- Tables are detected and converted to dynamic table elements
- Layout and positioning are preserved
This means you can take any existing PDF document (contracts, invoices, forms) and instantly turn it into a reusable template with editable fields.
Step-by-Step: Uploading and Extracting
Step 1: Upload Your PDF
- In the template designer, click Upload PDF or drag and drop a file
- Supported format: PDF files only
- Wait for the upload to complete
Step 2: Extract Fields
- Click the Extract Fields button
- The system analyzes your PDF content
- Text areas are converted to editable text fields
- Tables are detected and converted to table elements
Step 3: Review and Edit Extracted Fields
After extraction, you'll see your PDF content as editable elements:
- Text fields: Click on any text field to edit its content
- Add merge fields: Replace static text with merge field syntax like
{{FirstName}} - Tables: Modify table structure and add merge fields for dynamic data
- Reposition elements: Adjust positioning if needed
Step 4: Connect to Your Data Source
Once fields are extracted, connect them to your CRM data:
- Replace static text with merge fields:
{{FieldName}} - For tables, use child relationship fields:
{{LineItems.ProductName}} - The extracted fields become dynamic and pull data during PDF generation
Example Workflow
Starting with an existing invoice PDF:
- Upload
invoice-template.pdf - Click Extract Fields
- The system extracts:
- Header text → Editable text field
- Customer info section → Text fields you can add
{{CustomerName}},{{Address}} - Line items table → Dynamic table ready for
{{LineItems.Description}},{{LineItems.Amount}} - Total section → Text field for
{{TotalAmount}}
- Save and your static PDF is now a dynamic template!
Best Practices for PDF Upload
Preparing Your PDF
- Use clear, well-structured PDFs: Clean layouts extract better
- Avoid scanned documents: OCR quality varies; native PDFs work best
- Simple tables work best: Complex nested tables may need manual adjustment
- Check fonts: Extracted text will use your template fonts
After Extraction
- Review all extracted fields: Ensure text was captured correctly
- Adjust positioning: Fine-tune element placement if needed
- Add merge fields: Replace static content with dynamic placeholders
- Test with sample data: Generate a test PDF to verify results
What Gets Extracted
| PDF Content | Extracted As |
|---|---|
| Text paragraphs | Editable text fields |
| Headings | Text fields with styling |
| Simple tables | Dynamic table elements |
| Lists | Text fields or table rows |
Limitations
- Images: Images in the PDF are not extracted as editable elements
- Complex layouts: Very complex layouts may need manual adjustment
- Scanned PDFs: Text in scanned/image-based PDFs cannot be extracted
- Form fields: PDF form fields are extracted as static text
Template Designer Interface
Canvas Area
The main workspace where you design your document:
- Zoom controls: Adjust the view size
- Page navigation: Move between pages (for multi-page templates)
- Grid/guides: Help with alignment (optional)
Element Toolbar
Add different types of content:
| Element | Description | Use Case |
|---|---|---|
| Text | Static or dynamic text fields | Labels, merge fields, paragraphs |
| Image | Static images | Logos, signatures, graphics |
| Table | Dynamic tables | Line items, related records |
| QR Code | Dynamic QR codes | Links, reference numbers |
| Barcode | Various barcode formats | Product codes, tracking numbers |
| Signature | Signature anchor point | Signature placement |
Properties Panel
Configure the selected element:
- Position: X/Y coordinates and size
- Font: Family, size, weight, color
- Alignment: Text alignment options
- Border: Border style and color
- Content: The actual text or merge field
Working with Text Elements
Adding Static Text
- Click the Text tool
- Draw a text box on the canvas
- Enter your text content
- Style using the properties panel
Adding Merge Fields
Insert dynamic content using merge field syntax:
Dear {{FirstName}},
Thank you for your purchase of {{Product.Name}}.
Your order total is {{Amount}}.
Formatting Options
- Font family: Choose from default or custom fonts
- Font size: Set the text size in points
- Font weight: Normal, bold
- Font style: Normal, italic
- Text color: Set the color using hex codes or picker
- Alignment: Left, center, right, justified
- Line height: Control spacing between lines
Multi-Page Templates
Creating Multiple Pages
- Use the page controls in the designer
- Click Add Page to create additional pages
- Navigate between pages using the page selector
Headers and Footers
Create content that repeats on every page:
- Add elements to the header/footer area
- Mark them as "Repeat on all pages"
- Common uses:
- Company logo
- Document title
- Page numbers:
Page {{pageNumber}} of {{totalPages}}
Page Numbering
Use these special merge fields for automatic page numbers:
{{pageNumber}}- Current page number{{totalPages}}- Total number of pages
Example footer:
Page {{pageNumber}} of {{totalPages}}
Saving and Managing Templates
Saving Your Work
- Auto-save: Templates are automatically saved as you work
- Manual save: Click Save to ensure all changes are saved
- Save as draft: Templates can be saved without being activated
Template States
| State | Description |
|---|---|
| Active | Template is ready for PDF generation |
| Draft | Template is being edited, not available for generation |
| Archived | Template is no longer in active use |
Editing Existing Templates
- From the dashboard, find your template
- Click on the template name or the Edit button
- Make your changes in the designer
- Save when complete
Note: Editing a template doesn't affect previously generated PDFs.
Duplicating Templates
Create a copy of an existing template:
- Open the template options menu (⋮)
- Click Duplicate
- The copy opens in the designer with "(Copy)" appended to the name
- Rename and modify as needed
Deleting Templates
- Open the template options menu (⋮)
- Click Delete
- Confirm the deletion
Warning: Deleted templates cannot be recovered. Generated PDFs will remain in your history.
Template Limits by Plan
Different subscription plans have different template limits:
| Plan | Template Limit |
|---|---|
| Free | 3 templates |
| Solo | Unlimited |
| Starter | 10 templates |
| Enterprise | Unlimited |
When you reach your limit, you'll need to:
- Delete unused templates, or
- Upgrade your subscription plan
Best Practices
Naming Conventions
Use clear, descriptive names:
- ✅ "Sales Contract - Enterprise"
- ✅ "Invoice Template v2"
- ✅ "Welcome Letter - New Customer"
- ❌ "Template 1"
- ❌ "New document"
Organization Tips
- Use descriptions: Add context about what each template is for
- Group related templates: Use consistent naming prefixes
- Archive old versions: Don't delete, archive instead
- Document changes: Note major changes in the description
Performance Tips
- Optimize images: Compress images before uploading
- Limit pages: Keep templates as concise as needed
- Simplify tables: Only include necessary columns
- Test regularly: Generate test PDFs to verify output
Troubleshooting
Common Issues
Template won't save
- Check your internet connection
- Ensure all required fields are filled
- Try refreshing the page
Merge fields not appearing
- Verify the field name matches your data source
- Check the syntax:
{{FieldName}} - Ensure the data source is connected
PDF looks different than expected
- Check font availability
- Verify element positioning
- Test with actual data
Upload failed
- Verify the file is a valid PDF
- Check file size limits
- Ensure the PDF isn't password protected
Next Steps
- Merge Fields - Learn about dynamic content
- Tables - Create dynamic tables
- Custom Fonts - Add your brand fonts
- Signatures - Add signature fields
