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 button (shows “Generate for [record name]”).
- 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 in Template Setup.
Save to attachment field (Pro)
Section titled “Save to attachment field (Pro)”Automatically save generated documents back to your Lark Base:
- In Template Setup, enable Save to Base.
- Select the target attachment field.
- Choose write mode: Append (add to existing) or Replace (overwrite).
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. In Template Setup you can switch the output format to:
- PDF — converted from the generated DOCX.
- PNG — an image of 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 — Processing, Completed or Failed — so the Base shows generation state next to each record. Configure it in Template Setup. 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 in Template Setup. 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.