What is a Template?
A template is a saved document design that you can use repeatedly with different data. Instead of sending raw HTML with every API request, you:- Create a template once in the dashboard
- Reference it by ID in API requests
- Pass only the dynamic data
Template Components
Every template consists of:Template vs Raw HTML
Creating Your First Template
1
Open Template Editor
Go to Templates → Create Template in the dashboard.
2
Write HTML
Create your document structure with Handlebars placeholders:
3
Add CSS
Style your document in the CSS tab:
4
Test with Data
Enter sample JSON in the Test Data tab:
5
Preview and Publish
Check the live preview, then click Publish to make it available via API.
Handlebars Basics
Fileloom uses Handlebars for dynamic content:Built-in Helpers
Fileloom includes 70+ helpers for common operations:Text & String
uppercase, lowercase, truncate, replace
Numbers & Currency
currency, formatNumber, percentage
Dates & Time
formatDate, formatTime, addDays, now
Math & Logic
add, multiply, round, gt, lt, and, or
Using Templates via API
Reference your template by ID:Next Steps
Handlebars Basics
Learn template syntax in depth
Starter Templates
Browse 50+ ready-to-use templates
Helpers Reference
Explore all 70+ built-in helpers
Best Practices
Tips for production templates

