Skip to main content

Template Examples

Real-world examples showing how to create and use templates for common business documents.

1. Meeting Minutes Template​

Professional meeting protocol with attendees, agenda items, and action items.

Template

Filled Result

Template Creation JSON
{
"document": {
"type": "docx",
"filename": "meeting-minutes-template",
"size": "A4",
"marginTop": 2.0,
"marginRight": 2.0,
"marginBottom": 2.0,
"marginLeft": 2.0
},
"defaults": {
"fontFamily": "Liberation Sans",
"fontSize": 11,
"color": "#1a1a1a",
"lineHeight": 1.4
},
"sections": [
{
"type": "flow",
"content": [
{
"type": "text",
"text": "{{companyLogo}}",
"align": "center"
},
{
"type": "h1",
"text": "MEETING MINUTES",
"fontSize": 22,
"color": "#1a365d",
"align": "center"
},
{
"type": "text",
"text": "{{meetingTitle}}",
"fontSize": 16,
"fontWeight": "bold",
"color": "#2d3748",
"align": "center",
"spacing": { "after": 20 }
},
{
"type": "text",
"text": "**Date:** {{meetingDate}}"
},
{
"type": "text",
"text": "**Time:** {{meetingTime}}"
},
{
"type": "text",
"text": "**Location:** {{location}}"
},
{
"type": "text",
"text": "**Facilitator:** {{facilitator}}",
"spacing": { "after": 20 }
},
{
"type": "h2",
"text": "Attendees",
"fontSize": 14,
"color": "#1a365d",
"spacing": { "before": 20 }
},
{
"type": "table",
"headers": ["Name", "Role", "Status"],
"rows": [
["{{attendees.name}}", "{{attendees.role}}", "{{attendees.status}}"]
],
"style": {
"borders": {
"outer": { "width": 1, "color": "#1a365d", "style": "solid" },
"inner": { "width": 0.5, "color": "#cbd5e0", "style": "solid" }
},
"header": {
"backgroundColor": "#1a365d",
"color": "#ffffff",
"fontSize": 11,
"fontWeight": "bold"
},
"rows": {
"backgroundColor": "#ffffff",
"fontSize": 10
}
}
},
{
"type": "h2",
"text": "Agenda & Discussion",
"fontSize": 14,
"color": "#1a365d",
"spacing": { "before": 20 }
},
{
"type": "table",
"headers": ["Topic", "Discussion Points", "Decision"],
"rows": [
["{{agenda.topic}}", "{{agenda.discussion}}", "{{agenda.decision}}"]
],
"style": {
"borders": {
"outer": { "width": 1, "color": "#1a365d", "style": "solid" },
"inner": { "width": 0.5, "color": "#cbd5e0", "style": "solid" }
},
"header": {
"backgroundColor": "#1a365d",
"color": "#ffffff",
"fontSize": 11,
"fontWeight": "bold"
},
"rows": {
"backgroundColor": "#ffffff",
"fontSize": 10
}
}
},
{
"type": "h2",
"text": "Action Items",
"fontSize": 14,
"color": "#1a365d",
"spacing": { "before": 20 }
},
{
"type": "table",
"headers": ["Action", "Owner", "Due Date", "Priority"],
"rows": [
["{{actions.task}}", "{{actions.owner}}", "{{actions.dueDate}}", "{{actions.priority}}"]
],
"style": {
"borders": {
"outer": { "width": 1, "color": "#1a365d", "style": "solid" },
"inner": { "width": 0.5, "color": "#cbd5e0", "style": "solid" }
},
"header": {
"backgroundColor": "#1a365d",
"color": "#ffffff",
"fontSize": 11,
"fontWeight": "bold"
},
"rows": {
"backgroundColor": "#ffffff",
"fontSize": 10
}
}
},
{
"type": "h2",
"text": "Next Meeting",
"fontSize": 14,
"color": "#1a365d",
"spacing": { "before": 20 }
},
{
"type": "text",
"text": "**Date:** {{nextMeetingDate}}"
},
{
"type": "text",
"text": "**Time:** {{nextMeetingTime}}"
},
{
"type": "text",
"text": "**Location:** {{nextMeetingLocation}}",
"spacing": { "after": 20 }
},
{
"type": "text",
"text": "Minutes prepared by: {{preparedBy}}",
"fontSize": 9,
"color": "#718096",
"spacing": { "before": 30 }
}
]
}
]
}
Template Fill JSON
{
"templateId": "meeting-minutes-template",
"variables": {
"companyLogo": {
"type": "image",
"src": "/images/company-logo.png",
"width": 60
},
"meetingTitle": "Q4 Product Strategy Review",
"meetingDate": "November 15, 2024",
"meetingTime": "2:00 PM - 3:30 PM",
"location": "Conference Room B / Zoom",
"facilitator": "Sarah Johnson, Product Director",
"attendees": {
"type": "table",
"data": [
{ "name": "Sarah Johnson", "role": "Product Director", "status": "Present" },
{ "name": "Michael Chen", "role": "Engineering Lead", "status": "Present" },
{ "name": "Emily Rodriguez", "role": "Design Lead", "status": "Present" },
{ "name": "David Kim", "role": "Marketing Manager", "status": "Present" },
{ "name": "Lisa Wang", "role": "QA Manager", "status": "Remote" },
{ "name": "Tom Anderson", "role": "Sales Director", "status": "Absent" }
]
},
"agenda": {
"type": "table",
"data": [
{
"topic": "Q4 Feature Roadmap",
"discussion": "Reviewed planned features for Q4. Team agreed to prioritize mobile app improvements and API v2 launch.",
"decision": "Approved roadmap with minor adjustments"
},
{
"topic": "Resource Allocation",
"discussion": "Discussed current team capacity and hiring needs. Engineering team at 85% capacity.",
"decision": "Approve 2 additional engineer positions"
},
{
"topic": "Customer Feedback Review",
"discussion": "Analyzed recent user surveys. Top requests: dark mode, export features, better notifications.",
"decision": "Dark mode to be prioritized for Q4"
},
{
"topic": "Budget Review",
"discussion": "Q3 spending on track. Q4 budget approved with 10% contingency.",
"decision": "Budget approved as presented"
}
]
},
"actions": {
"type": "table",
"data": [
{
"task": "Create detailed spec for dark mode feature",
"owner": "Emily Rodriguez",
"dueDate": "Nov 22, 2024",
"priority": "High"
},
{
"task": "Draft job descriptions for engineer positions",
"owner": "Michael Chen",
"dueDate": "Nov 20, 2024",
"priority": "High"
},
{
"task": "Prepare API v2 migration guide",
"owner": "Michael Chen",
"dueDate": "Dec 1, 2024",
"priority": "Medium"
},
{
"task": "Schedule customer interviews for feature validation",
"owner": "David Kim",
"dueDate": "Nov 25, 2024",
"priority": "Medium"
},
{
"task": "Update Q4 roadmap document with decisions",
"owner": "Sarah Johnson",
"dueDate": "Nov 17, 2024",
"priority": "High"
}
]
},
"nextMeetingDate": "November 29, 2024",
"nextMeetingTime": "2:00 PM",
"nextMeetingLocation": "Conference Room B",
"preparedBy": "Sarah Johnson"
},
"output": {
"filename": "meeting-minutes-2024-11-15",
"type": "pdf"
}
}

2. Certificate of Completion​

Professional certificate with recipient name, course details, and signatures.

Template

Filled Result

Template Creation JSON
{
"document": {
"type": "docx",
"filename": "certificate-template",
"size": "A4",
"orientation": "landscape",
"marginTop": 3.0,
"marginRight": 3.0,
"marginBottom": 3.0,
"marginLeft": 3.0
},
"defaults": {
"fontFamily": "Noto Serif",
"fontSize": 12,
"color": "#1a1a1a",
"lineHeight": 1.5
},
"sections": [
{
"type": "flow",
"content": [
{
"type": "text",
"text": "{{organizationLogo}}",
"align": "center",
"spacing": { "after": 10 }
},
{
"type": "text",
"text": "{{organizationName}}",
"align": "center",
"fontSize": 18,
"fontWeight": "bold",
"color": "#8b4513",
"spacing": { "after": 30 }
},
{
"type": "text",
"text": "CERTIFICATE OF COMPLETION",
"align": "center",
"fontSize": 32,
"fontWeight": "bold",
"color": "#1a365d",
"spacing": { "after": 30 }
},
{
"type": "text",
"text": "This is to certify that",
"align": "center",
"fontSize": 14,
"spacing": { "after": 10 }
},
{
"type": "text",
"text": "{{recipientName}}",
"align": "center",
"fontSize": 28,
"fontWeight": "bold",
"color": "#2c5282",
"spacing": { "after": 20 }
},
{
"type": "text",
"text": "has successfully completed",
"align": "center",
"fontSize": 14,
"spacing": { "after": 10 }
},
{
"type": "text",
"text": "{{courseName}}",
"align": "center",
"fontSize": 20,
"fontWeight": "bold",
"color": "#1a365d",
"spacing": { "after": 10 }
},
{
"type": "text",
"text": "{{courseDescription}}",
"align": "center",
"fontSize": 12,
"color": "#666666",
"spacing": { "after": 30 }
},
{
"type": "text",
"text": "Completed on {{completionDate}}",
"align": "center",
"fontSize": 12,
"spacing": { "after": 40 }
},
{
"type": "table",
"rows": [
["{{instructorSignature}}", "{{directorSignature}}"],
["{{instructorName}}", "{{directorName}}"],
["{{instructorTitle}}", "{{directorTitle}}"]
],
"style": {
"borders": {
"outer": { "width": 0, "color": "#ffffff", "style": "solid" },
"inner": { "width": 0, "color": "#ffffff", "style": "solid" }
},
"rows": {
"backgroundColor": "#ffffff",
"fontSize": 11,
"align": "center"
}
}
},
{
"type": "text",
"text": "Certificate ID: {{certificateId}}",
"align": "center",
"fontSize": 9,
"color": "#999999",
"spacing": { "before": 30 }
}
]
}
]
}
Template Fill JSON
{
"templateId": "certificate-template",
"variables": {
"organizationLogo": {
"type": "image",
"src": "/images/university-logo.png",
"width": 80
},
"organizationName": "Professional Development Institute",
"recipientName": "Sarah Johnson",
"courseName": "Advanced Web Development",
"courseDescription": "A comprehensive 12-week program covering modern web technologies, frameworks, and best practices",
"completionDate": "November 15, 2024",
"instructorSignature": {
"type": "image",
"src": "/images/instructor-signature.png",
"width": 120,
"height": 40
},
"directorSignature": {
"type": "image",
"src": "/images/director-signature.png",
"width": 120,
"height": 40
},
"instructorName": "Dr. Michael Chen",
"instructorTitle": "Lead Instructor",
"directorName": "Jennifer Williams",
"directorTitle": "Program Director",
"certificateId": "CERT-2024-WD-001234"
},
"output": {
"filename": "certificate-sarah-johnson",
"type": "pdf"
}
}

3. Employment Contract​

Professional employment contract with terms, conditions, and signature fields.

Template

Filled Result

Template Creation JSON
{
"document": {
"type": "docx",
"filename": "employment-contract-template",
"size": "A4",
"marginTop": 2.5,
"marginRight": 2.5,
"marginBottom": 2.5,
"marginLeft": 2.5
},
"defaults": {
"fontFamily": "Liberation Serif",
"fontSize": 11,
"color": "#000000",
"lineHeight": 1.5,
"footer": {
"center": "Page {{pageNumber}} of {{totalPages}}"
}
},
"sections": [
{
"type": "flow",
"content": [
{
"type": "text",
"text": "EMPLOYMENT CONTRACT",
"align": "center",
"fontSize": 18,
"fontWeight": "bold",
"spacing": { "after": 20 }
},
{
"type": "text",
"text": "This Employment Contract (\"Agreement\") is entered into on {{contractDate}} between:",
"spacing": { "after": 15 }
},
{
"type": "text",
"text": "**EMPLOYER:**",
"fontWeight": "bold",
"fontSize": 12
},
{
"type": "text",
"text": "{{companyName}}"
},
{
"type": "text",
"text": "{{companyAddress}}"
},
{
"type": "text",
"text": "{{companyCity}}",
"spacing": { "after": 15 }
},
{
"type": "text",
"text": "**EMPLOYEE:**",
"fontWeight": "bold",
"fontSize": 12
},
{
"type": "text",
"text": "{{employeeName}}"
},
{
"type": "text",
"text": "{{employeeAddress}}"
},
{
"type": "text",
"text": "{{employeeCity}}",
"spacing": { "after": 20 }
},
{
"type": "h2",
"text": "1. POSITION AND DUTIES",
"fontSize": 13,
"fontWeight": "bold"
},
{
"type": "text",
"text": "The Employee is hired for the position of **{{jobTitle}}** in the {{department}} department. The Employee's primary responsibilities include:",
"spacing": { "after": 10 }
},
{
"type": "text",
"text": "{{responsibilities}}"
},
{
"type": "h2",
"text": "2. COMPENSATION",
"fontSize": 13,
"fontWeight": "bold",
"spacing": { "before": 15 }
},
{
"type": "text",
"text": "The Employee will receive an annual salary of **{{salary}}**, payable in {{paymentFrequency}} installments. Additional benefits include:"
},
{
"type": "text",
"text": "{{benefits}}"
},
{
"type": "h2",
"text": "3. EMPLOYMENT PERIOD",
"fontSize": 13,
"fontWeight": "bold",
"spacing": { "before": 15 }
},
{
"type": "text",
"text": "Employment begins on **{{startDate}}** and continues until terminated by either party with {{noticePeriod}} notice."
},
{
"type": "h2",
"text": "4. WORKING HOURS",
"fontSize": 13,
"fontWeight": "bold",
"spacing": { "before": 15 }
},
{
"type": "text",
"text": "Standard working hours are {{workingHours}} per week, {{workSchedule}}.",
"spacing": { "after": 20 }
},
{
"type": "text",
"text": "**SIGNATURES:**",
"fontWeight": "bold",
"fontSize": 12,
"spacing": { "before": 30 }
},
{
"type": "table",
"rows": [
["Employer", "Employee"],
["", ""],
["_________________________", "_________________________"],
["{{companyRepresentative}}", "{{employeeName}}"],
["{{companyRepTitle}}", "Date: __________"]
],
"style": {
"borders": {
"outer": { "width": 0, "color": "#ffffff", "style": "solid" },
"inner": { "width": 0, "color": "#ffffff", "style": "solid" }
},
"rows": {
"fontSize": 10,
"backgroundColor": "#ffffff"
}
}
}
]
}
]
}
Template Fill JSON
{
"templateId": "employment-contract-template",
"variables": {
"contractDate": "November 15, 2024",
"companyName": "TechCorp Industries Ltd.",
"companyAddress": "789 Corporate Drive",
"companyCity": "Seattle, WA 98101",
"employeeName": "Alex Martinez",
"employeeAddress": "456 Residential Street",
"employeeCity": "Seattle, WA 98102",
"jobTitle": "Senior Software Engineer",
"department": "Engineering",
"responsibilities": {
"type": "list",
"items": [
"Design and develop scalable software solutions",
"Lead technical architecture decisions",
"Mentor junior developers",
"Participate in code reviews and technical planning",
"Collaborate with product and design teams"
]
},
"salary": "$120,000",
"paymentFrequency": "bi-weekly",
"benefits": {
"type": "list",
"items": [
"Health insurance (medical, dental, vision)",
"401(k) retirement plan with 5% company match",
"20 days paid vacation per year",
"10 days sick leave",
"Professional development budget ($2,000/year)",
"Remote work flexibility"
]
},
"startDate": "December 1, 2024",
"noticePeriod": "30 days written",
"workingHours": "40 hours",
"workSchedule": "Monday through Friday, 9:00 AM to 5:00 PM",
"companyRepresentative": "Jennifer Smith",
"companyRepTitle": "HR Director"
},
"output": {
"filename": "contract-alex-martinez",
"type": "pdf"
}
}

4. Product Catalog​

Modern product catalog with images, descriptions, and pricing tables.

Template

Filled Result

Template Creation JSON
{
"document": {
"type": "docx",
"filename": "product-catalog-template",
"size": "A4",
"marginTop": 1.5,
"marginRight": 1.5,
"marginBottom": 1.5,
"marginLeft": 1.5
},
"defaults": {
"fontFamily": "Roboto",
"fontSize": 10,
"color": "#333333",
"lineHeight": 1.4
},
"sections": [
{
"type": "flow",
"content": [
{
"type": "text",
"text": "{{companyLogo}}",
"align": "center"
},
{
"type": "text",
"text": "{{catalogTitle}}",
"align": "center",
"fontSize": 28,
"fontWeight": "bold",
"color": "#e53e3e",
"spacing": { "after": 5 }
},
{
"type": "text",
"text": "{{catalogSubtitle}}",
"align": "center",
"fontSize": 14,
"color": "#718096",
"spacing": { "after": 30 }
},
{
"type": "text",
"text": "{{productImage}}",
"align": "center"
},
{
"type": "text",
"text": "{{productName}}",
"fontSize": 20,
"fontWeight": "bold",
"color": "#2d3748",
"spacing": { "before": 15, "after": 10 }
},
{
"type": "text",
"text": "{{productDescription}}",
"fontSize": 11,
"color": "#4a5568",
"spacing": { "after": 15 }
},
{
"type": "text",
"text": "**Key Features:**",
"fontWeight": "bold",
"fontSize": 12,
"color": "#2d3748"
},
{
"type": "text",
"text": "{{features}}"
},
{
"type": "text",
"text": "**Technical Specifications:**",
"fontWeight": "bold",
"fontSize": 12,
"color": "#2d3748",
"spacing": { "before": 15 }
},
{
"type": "table",
"headers": ["Specification", "Details"],
"rows": [
["{{specs.name}}", "{{specs.value}}"]
],
"style": {
"borders": {
"outer": { "width": 1.5, "color": "#e53e3e", "style": "solid" },
"inner": { "width": 0.5, "color": "#e2e8f0", "style": "solid" }
},
"header": {
"backgroundColor": "#e53e3e",
"color": "#ffffff",
"fontSize": 11,
"fontWeight": "bold"
},
"rows": {
"backgroundColor": "#f7fafc",
"fontSize": 10
}
}
},
{
"type": "text",
"text": "**Pricing:**",
"fontWeight": "bold",
"fontSize": 12,
"color": "#2d3748",
"spacing": { "before": 20 }
},
{
"type": "table",
"headers": ["Quantity", "Unit Price", "Total"],
"rows": [
["{{pricing.quantity}}", "{{pricing.unitPrice}}", "{{pricing.total}}"]
],
"style": {
"borders": {
"outer": { "width": 1.5, "color": "#e53e3e", "style": "solid" },
"inner": { "width": 0.5, "color": "#e2e8f0", "style": "solid" }
},
"header": {
"backgroundColor": "#e53e3e",
"color": "#ffffff",
"fontSize": 11,
"fontWeight": "bold",
"align": "center"
},
"rows": {
"backgroundColor": "#ffffff",
"fontSize": 10,
"align": "center"
}
}
},
{
"type": "text",
"text": "**Contact Us:**",
"fontWeight": "bold",
"fontSize": 12,
"spacing": { "before": 30 }
},
{
"type": "text",
"text": "{{contactInfo}}",
"fontSize": 10,
"color": "#718096"
}
]
}
]
}
Template Fill JSON
{
"templateId": "product-catalog-template",
"variables": {
"companyLogo": {
"type": "image",
"src": "/images/brand-logo.png",
"width": 60
},
"catalogTitle": "2024 Product Catalog",
"catalogSubtitle": "Premium Electronics & Accessories",
"productImage": {
"type": "image",
"src": "/images/product-laptop.png",
"width": 300
},
"productName": "UltraBook Pro 15",
"productDescription": "Experience unmatched performance with our flagship laptop. Featuring the latest processor technology, stunning display, and all-day battery life. Perfect for professionals and creatives who demand the best.",
"features": {
"type": "list",
"items": [
"15.6\" 4K OLED Display with 100% DCI-P3 color gamut",
"Intel Core i9 12th Gen processor",
"32GB DDR5 RAM, expandable to 64GB",
"1TB NVMe SSD storage",
"NVIDIA RTX 4060 Graphics",
"Thunderbolt 4 ports",
"Up to 18 hours battery life",
"Aluminum unibody construction"
]
},
"specs": {
"type": "table",
"data": [
{ "name": "Processor", "value": "Intel Core i9-12900H" },
{ "name": "Display", "value": "15.6\" 4K OLED (3840x2160)" },
{ "name": "Memory", "value": "32GB DDR5" },
{ "name": "Storage", "value": "1TB NVMe SSD" },
{ "name": "Graphics", "value": "NVIDIA RTX 4060 8GB" },
{ "name": "Weight", "value": "1.8 kg / 3.97 lbs" },
{ "name": "Dimensions", "value": "35.7 x 24.5 x 1.79 cm" },
{ "name": "Warranty", "value": "3 years international" }
]
},
"pricing": {
"type": "table",
"data": [
{ "quantity": "1-5 units", "unitPrice": "$2,499", "total": "$2,499+" },
{ "quantity": "6-20 units", "unitPrice": "$2,299", "total": "$13,794+" },
{ "quantity": "21+ units", "unitPrice": "$2,099", "total": "Contact us" }
]
},
"contactInfo": "Email: sales@techcompany.com | Phone: +1 (555) 987-6543 | Web: www.techcompany.com"
},
"output": {
"filename": "catalog-ultrabook-pro",
"type": "pdf"
}
}

5. Event Invitation​

Elegant event invitation with RSVP details and schedule.

Template

Filled Result

Template Creation JSON
{
"document": {
"type": "docx",
"filename": "event-invitation-template",
"size": "A5",
"orientation": "portrait",
"marginTop": 2.0,
"marginRight": 2.0,
"marginBottom": 2.0,
"marginLeft": 2.0
},
"defaults": {
"fontFamily": "Noto Sans",
"fontSize": 11,
"color": "#2d3748",
"lineHeight": 1.6
},
"sections": [
{
"type": "flow",
"content": [
{
"type": "text",
"text": "{{eventLogo}}",
"align": "center",
"spacing": { "after": 20 }
},
{
"type": "text",
"text": "You are cordially invited to",
"align": "center",
"fontSize": 12,
"color": "#718096"
},
{
"type": "text",
"text": "{{eventName}}",
"align": "center",
"fontSize": 24,
"fontWeight": "bold",
"color": "#744210",
"spacing": { "before": 10, "after": 20 }
},
{
"type": "text",
"text": "{{eventDescription}}",
"align": "center",
"fontSize": 11,
"color": "#4a5568",
"spacing": { "after": 25 }
},
{
"type": "text",
"text": "**Date & Time:**",
"fontWeight": "bold",
"fontSize": 12,
"color": "#744210"
},
{
"type": "text",
"text": "{{eventDate}}",
"fontSize": 11,
"spacing": { "after": 10 }
},
{
"type": "text",
"text": "**Location:**",
"fontWeight": "bold",
"fontSize": 12,
"color": "#744210"
},
{
"type": "text",
"text": "{{venueName}}"
},
{
"type": "text",
"text": "{{venueAddress}}",
"spacing": { "after": 15 }
},
{
"type": "text",
"text": "**Event Schedule:**",
"fontWeight": "bold",
"fontSize": 12,
"color": "#744210"
},
{
"type": "table",
"headers": ["Time", "Activity"],
"rows": [
["{{schedule.time}}", "{{schedule.activity}}"]
],
"style": {
"borders": {
"outer": { "width": 1, "color": "#d69e2e", "style": "solid" },
"inner": { "width": 0.5, "color": "#ecc94b", "style": "solid" }
},
"header": {
"backgroundColor": "#744210",
"color": "#ffffff",
"fontSize": 11,
"fontWeight": "bold"
},
"rows": {
"backgroundColor": "#fffaf0",
"fontSize": 10
}
}
},
{
"type": "text",
"text": "**Dress Code:**",
"fontWeight": "bold",
"fontSize": 12,
"color": "#744210",
"spacing": { "before": 15 }
},
{
"type": "text",
"text": "{{dressCode}}",
"spacing": { "after": 15 }
},
{
"type": "text",
"text": "**RSVP:**",
"fontWeight": "bold",
"fontSize": 12,
"color": "#744210"
},
{
"type": "text",
"text": "Please confirm your attendance by {{rsvpDeadline}}"
},
{
"type": "text",
"text": "Contact: {{rsvpContact}}",
"spacing": { "after": 25 }
},
{
"type": "text",
"text": "We look forward to celebrating with you!",
"align": "center",
"fontSize": 11,
"color": "#718096"
},
{
"type": "text",
"text": "{{hostSignature}}",
"align": "center",
"spacing": { "before": 20 }
},
{
"type": "text",
"text": "{{hostName}}",
"align": "center",
"fontWeight": "bold",
"fontSize": 12,
"color": "#744210"
}
]
}
]
}
Template Fill JSON
{
"templateId": "event-invitation-template",
"variables": {
"eventLogo": {
"type": "image",
"src": "/images/gala-logo.png",
"width": 80
},
"eventName": "Annual Charity Gala 2024",
"eventDescription": "Join us for an evening of elegance, entertainment, and philanthropy as we raise funds for local education initiatives.",
"eventDate": "Saturday, December 14, 2024 at 7:00 PM",
"venueName": "Grand Ballroom, Riverside Hotel",
"venueAddress": "123 Waterfront Avenue, Downtown",
"schedule": {
"type": "table",
"data": [
{ "time": "7:00 PM", "activity": "Cocktail Reception" },
{ "time": "8:00 PM", "activity": "Dinner Service" },
{ "time": "9:00 PM", "activity": "Live Auction" },
{ "time": "9:30 PM", "activity": "Entertainment & Dancing" },
{ "time": "11:30 PM", "activity": "Event Concludes" }
]
},
"dressCode": "Black Tie Optional",
"rsvpDeadline": "December 1, 2024",
"rsvpContact": "events@charityfoundation.org or (555) 234-5678",
"hostSignature": {
"type": "image",
"src": "/images/host-signature.png",
"width": 100,
"height": 35
},
"hostName": "The Charity Foundation Board"
},
"output": {
"filename": "gala-invitation-2024",
"type": "pdf"
}
}

4. Business Card with QR Codes​

Modern business card template with contact QR code and WiFi access.

Template

Filled Result

Template Creation JSON
{
"document": {
"type": "docx",
"filename": "business-card-qr-template",
"size": "A4"
},
"sections": [
{
"type": "flow",
"content": [
{
"type": "text",
"text": "Company Name:"
},
{
"type": "text",
"text": "{{companyName}}"
},
{
"type": "text",
"text": "Contact Person:"
},
{
"type": "text",
"text": "{{contactPerson}}"
},
{
"type": "text",
"text": "Email:"
},
{
"type": "text",
"text": "{{email}}"
},
{
"type": "text",
"text": "Phone:"
},
{
"type": "text",
"text": "{{phone}}"
},
{
"type": "text",
"text": "Website QR Code:"
},
{
"type": "text",
"text": "{{websiteQR}}"
},
{
"type": "text",
"text": "Contact QR Code (vCard):"
},
{
"type": "text",
"text": "{{contactQR}}"
}
]
}
]
}
Template Fill JSON
{
"templateId": "business-card-qr-template",
"variables": {
"companyName": "TechSolutions AG",
"contactPerson": "Sarah Miller",
"email": "sarah.miller@techsolutions.com",
"phone": "+49 30 1234 5678",
"websiteQR": {
"type": "qrcode",
"qrType": "url",
"data": {
"url": "https://www.techsolutions.com"
},
"size": 150,
"errorCorrection": "M"
},
"contactQR": {
"type": "qrcode",
"qrType": "vcard",
"data": {
"firstName": "Sarah",
"lastName": "Miller",
"organization": "TechSolutions AG",
"phone": "+49 30 1234 5678",
"email": "sarah.miller@techsolutions.com",
"url": "https://www.techsolutions.com",
"address": "Alexanderplatz 1, 10178 Berlin, Germany"
},
"size": 200,
"errorCorrection": "H"
}
},
"output": {
"filename": "business-card-sarah-miller",
"type": "pdf"
}
}