Generating documents
Generate single documents or bulk generate for multiple records at once.
Single document generation
Section titled “Single document generation”- Open the Generate page (the extension’s home page).
- Select your template from the dropdown.
- In Lark Base, click the checkbox next to a record to select it.
- Click the Generate Doc button — it shows the selected record name underneath.
- Click Download when ready.
Bulk generation
Section titled “Bulk generation”Generate documents for multiple records at once:
- Select your template.
- In Lark Base, check the boxes next to the records you want to generate.
- Click the Bulk Generation button (appears when multiple records are selected).
- Download each document when ready — or auto-save to Lark if configured on the Template tab.
Save to attachment field (Pro)
Section titled “Save to attachment field (Pro)”Automatically save generated documents back to your Lark Base:
- On the Template tab, enable Save to Base.
- Select the target attachment field.
- Choose the write mode: Append to original attachment or Replace original attachment.
Perfect for archiving documents, triggering automations, or keeping documents with source data.
Output format: DOCX, PDF or PNG
Section titled “Output format: DOCX, PDF or PNG”Templates produce a Word document by default. On the Template tab, use Output Format to switch to:
- PDF Document (.pdf) — converted from the generated DOCX.
- Image (.png) — renders only the first page, useful for thumbnails and previews.
All three formats are available on every plan, including Free, and all cost the same one generation.
Status field (Pro)
Section titled “Status field (Pro)”A template can write its progress back to a Lark field, so the Base shows generation state
next to each record: ⏳ Processing, then ✅ Completed with the filename, ⚠️ Completed with warnings, or ❌ followed by the error. Configure it under
Status Field (Optional) on the Template tab. See Pro features.
Dynamic filenames
Section titled “Dynamic filenames”Create organized filenames using variable patterns:
Invoice_{Invoice_Number}.docx→Invoice_INV-2024-001.docxReport - {Customer_Name} - {Date}.docx→Report - Acme Corp - 2024-01-15.docx
Configure the filename pattern on the Template tab. The pattern accepts the same placeholders as the template body — see Template syntax.
Check available fields
Section titled “Check available fields”Before generating, visit the Variables page to see all available fields and their exact names. This helps ensure your template placeholders match your Lark Base field names exactly — see Template syntax for what you can write, and Variables not replacing if a placeholder comes through unreplaced.