Weft Docs help centre
How to build a template, put your data in it, and produce the PDF — written against what the product does today.
Getting started
Templates
- Create a templateStart blank and assemble a document from semantic blocks — headings, paragraphs, tables, images and layout containers.
- Generate from a promptDescribe the document you need and Buddy drafts an editable template — planning the structure first so you approve the shape before anything is generated.
- Upload a documentDrop in a PDF, Word file or image you already send and Weft rebuilds it as an editable, data-bound template — with Buddy, or as a plain draft without AI.
- Bind fields to your dataPoint a block at a field instead of typing a value, so every render fills itself in — and trace any rendered value back to where it came from.
- Preview your documentSee real pages as you build, then check the exact PDF your customer will get with Preview PDF before you export.
- Save and reuse componentsSave a block, or several blocks, to your component library and insert them into any template from the Add block menu.
- Manage your templatesStart new documents, name and save them, open saved templates, make copies, and delete or restore templates from the recycle bin.
- Publish a templateChoose which saved version of a template the Salesforce PDF button renders, so you can keep editing without changing what other people's documents look like.
Page & layout
- Set up the pageChoose the paper size, orientation and margins every page of a template prints with, from the Document side of the properties panel.
- Add headers, footers and page numbersBuild a running header and footer from ordinary blocks, number the pages, and give either one a full-width colour band.
- Add a cover and back coverGive a document its own front and closing pages, laid out with vertical alignment, full bleed, a background colour or image, and margins of their own.
- Control where pages breakForce a new page where one must start, keep headings and groups from being split, and check where the pages really fall before you export.
Tables & data
- Group table rows and add subtotalsSort a table's rows into groups by a field, with a header row above each group, a subtotal beneath it, nested levels inside, and a grand total at the end.
- Show items under a table rowPrint a list that belongs to each row — a bundle's components, a phase's tasks — as indented rows beneath it, inside the same table and under the same columns.
- Calculate values with formulasWork out line totals, tax and other amounts your data does not store, add up a list with a total, and use a calculation inside a condition.
- Format numbers, currency and datesChoose how a bound value prints — number, currency, percentage, date or time — and set the locale, currency, date style and time zone the document uses.
- Show content only when the data matchesPrint an element, a group of blocks or a table cell only for the records it fits, such as a discount line that appears only when there is a discount.
- Format content based on your dataAdd styling rules that change an element's or a table cell's color, fill, size or font when a condition about the record holds, such as overdue statuses in red.
Design & branding
- Set a document's fonts and coloursSet the document-wide font, primary colour, text size, line spacing and table style that every element follows until you give it its own setting.
- Use your own brand fontsUpload your own font files to a document so they appear in every font list and print in the PDF exactly as they show in the editor.
- Set your workspace brandingSave your logo, colour, font and company details once in Settings, so documents Buddy generates for a chosen document type come out already branded.
- Add a watermarkStamp DRAFT, PAID, CONFIDENTIAL or your own image faintly across every page, and show it only when the record calls for it.
- Add a background imagePut a picture behind a heading, paragraph, list or section, or behind a whole cover page or back cover, and control how it fills the space.
Working with Buddy
- Ask Buddy to change part of a documentPoint Buddy at a block, a few words, several blocks or a page region and say what to change; you review its proposal before anything in your document changes.
- Ask Buddy to change the whole documentGive Buddy one instruction for the whole document — a tone, a new section, a font throughout — and review the changes it proposes before any of them land.
- Review Buddy's proposed changesCheck Buddy's proposals before they touch your document: accept or reject changes singly or all at once, stop Buddy mid-task, and rewind an accepted change.
- Fix the issues Weft flagsUnderstand the notices beside your blocks, jump to the block each is about, and fix it by hand, in one click, or with a Buddy fix you review before it lands.
- Run quick commandsType a one-step change such as "set page size to A4" in the Generate dialog and Weft makes it at once, without AI — but only when it is sure what you mean.
- Check and use your AI creditsBuddy's AI actions use your workspace's AI credits: see what an action will use before it starts, what's left, when credits expire, and what happens at zero.
Data & connectors
- Connect SalesforceRegister Weft as an External Client App in your own Salesforce org, then have each person authorize it with their own login.
- Connect HubSpotAdd a HubSpot connection, choose your portal's region, and authorize it with your own HubSpot login — no app to register.
- Build a data sourceUse the visual query builder to choose exactly which records a template reads — object, fields, filters, order and related records, with no query to write.
- Add a Salesforce PDF buttonGive a Salesforce record page a button that opens a Weft template rendered for that record, and choose whose Salesforce access it reads through.
- Save a PDF to the Salesforce recordLet people save the PDF from your Salesforce button onto the record it was made for, as a Salesforce File or an attachment, with one click.
- Generate a PDF from a HubSpot recordAdd the Weft panel to HubSpot deal, contact, company and custom-object pages, so people turn the record they are on into a PDF with one of your templates.
- Save a PDF to the HubSpot recordLet people save the PDF from a HubSpot deal, contact, company or custom object back onto that record, as a private file on a note, with one click.
Rendering & export
- Export and archive a PDFRender a print-grade PDF, understand the preflight check that runs first, and find your archived exports again.
- Check your document before you exportUse the check behind the PDF button to catch fields and lists that would print blank, and content that overflowed a page, before you render.
Account
- Invite teammates and set rolesAdd people to your workspace or remove them, choose what each can do, and understand the four roles.
- Export your workspace dataDownload a copy of everything your workspace holds — templates, PDFs, uploaded files, settings and the member list — as .zip files you keep.
- Delete your workspaceEnd access to a workspace for everyone in it; Weft erases its data 30 days later.
- Start your free trialStart the 14-day Weft Docs trial by adding a card. Nothing is charged until the Owner confirms a plan, and Settings shows the day the trial ends.
- Choose, upgrade or cancel your planWhat Starter and Team include and cost, how the Owner pays, changes the plan or card, gets invoices or cancels, and what a limited workspace can't do.
- Buy AI creditsOn a paid plan, the Owner buys AI credits in packs of 100, 300 or 1,000 in Settings → Plan & usage. Packs are non-refundable and expire after 12 months.
Elements
- Work with elementsAdd, select, move, copy and delete the blocks a template is built from, and open the properties panel that holds their settings.
- Properties every element sharesThe Style, Box, Spacing, page-flow and Conditional settings that many kinds of element share in the properties panel, and what each one does in the PDF.
- Heading elementA bold title at one of six levels, sized from the base text size and coloured with the primary colour, that can mix fixed words with values from your data.
- Paragraph elementBody text — fixed words, values from your data, formulas and page numbers in one flowing block that wraps across lines and continues onto the next page.
- Text runs and inline formattingThe pieces that make up headings, paragraphs, list items and table cells — fixed text, data fields, formulas, page numbers and totals — and their formatting.
- List elementA bulleted or numbered list of fixed items that can nest and can mix your own words with values from your data.
- Image elementPlace a logo, signature or other picture — uploaded or from a web address — and set its size, alignment, alt text and link.
- Barcode elementPrint a QR code or barcode generated from a fixed value or from a field in your data, and know what prints when the value cannot be encoded.
- Divider elementA horizontal line between elements, with its own colour, thickness and line style — and when to use a border instead.
- Page break elementForce whatever follows onto a new page, and see where a page break shows — and does not show — in the editor.
- Table elementA data-bound table that prints one row per item in a list, with a repeating header row, optional totals, grouping with subtotals, and sub-rows.
- Repeat elementPrint a group of blocks once for every item in a list, such as a card per product, a paragraph per contact, or a heading and table per order.
- Conditional elementPrint a group of blocks only when a condition about your data holds, such as an overdue notice that appears only on overdue invoices.
- Section elementWrap a run of blocks into one titled unit you can move, style, keep on one page, or show and hide as a whole.
- Columns elementPlace content side by side in one row of columns, each column holding its own blocks, with per-column width and alignment.
- Grid elementLay content out in fixed rows of cells whose columns line up, each cell holding its own blocks — for label/value pairs, spec sheets and aligned layouts.