If you're new to automation on Avvoka, this article is your starting point. We recommend beginning with the short video below, it's a great way to visualise the steps in action. After that, use this guide to revisit or clarify any of the key concepts covered.
Once you're comfortable with the basics, you can explore:
This guide on common templating errors and best-practice fixes, designed to help you build templates that are consistent, scalable and easy to maintain.
If anything's unclear or you want a second pair of eyes, your Customer Success Manager is always happy to help.
Uploading a template
Before you can start automating, you’ll need to upload your precedent document into Avvoka, to do this follow these steps:
Head to the Templates page and click “Add new”.
You’ll be asked to select the profile where this template should sit. Only users in that profile will be able to see and work on the template once it’s made public (unless added manually afterwards).
Once you’ve selected the profile, you’ll be prompted to choose how to create your template. There are three options:
Upload a .docx file: Import your Microsoft Word document directly into Avvoka. Make sure the file is in
.docxformat (not.doc). The template will inherit the file name automatically.Smart Automation (AI): Upload your
.docxprecedent and let our AI suggest placeholders and conditional logic automatically. It’s a quick way to generate a first draft of your automated template - ready for you to refine. Learn more about Smart Automation here (only available with AI-enabled Organisations).Blank template: Build from scratch by giving your template a name and (optionally) a description.
It’s best to make sure your document’s formatting and styles are in a good place before you start automating - this keeps things tidy and easier to manage. But if you need to make updates later, that’s no problem. You can download the template as a .docx, make your edits directly in Word, and reupload it to Avvoka without losing any of your automation.
For a step-by-step walkthrough on how to do this, check out our guide on editing templates in Word and reuploading to Avvoka.
Automating
Once your template is created, click into the “Document” tab on the left-hand panel of the Template page. This is where you’ll begin adding placeholders, conditions, and other automation to your document.
Placeholders
A placeholder marks an input field in the document - this is where answers from the questionnaire will drop into the final version. In a traditional legal document, this is usually where you'd find square brackets.
For example, if you want the user to be able to insert the borrower’s name, you might create a placeholder called “Borrower Name”.
You’ll recognise placeholders in Avvoka by their yellow highlight in the template.
To create one:
Highlight the relevant text in your document
Click the Placeholder icon in the toolbar
This will create a corresponding question in the Questionnaire tab. Whatever your user enters there will automatically populate into the document in place of the highlighted text.
For a more detailed walkthrough on placeholders, check out this article.
You can also use keyboard shortcuts to speed things up:
Windows:
Alt + PMac:
Option + P
Just highlight the text and press the shortcut to create a placeholder.
If you need the same input in multiple places, once created, you can copy and paste the yellow-highlighted placeholder anywhere else in your template, it will pull the same answer across all locations.
Every time you create a placeholder (or a new attribute for a condition), Avvoka will automatically generate a corresponding question in the Questionnaire tab.
Learn more about building and editing the questionnaire here.
Placeholder Transformations
For more advanced control over how placeholder values appear, you can apply placeholder transformations directly from the editor.
These let you apply simple formatting rules without needing operations or extra attributes. For example:
Show a party’s name in UPPERCASE in the document title
Display the same name as Capitalised in the body
Convert a number to words (e.g. “twenty-five” instead of “25”)
To apply a transformation:
Click into the placeholder in your document
Open the sidebar on the right
Expand the Transform value dropdown
Select the transformation you want to apply
The transformation only applies to the instance you select, so you can display the same data in different formats across your document.
Conditions
Conditions let you control whether certain parts of your document appear, based on the answers given in the questionnaire.
To add one:
Highlight the text you want to show or hide
Click Block Condition for full clauses or paragraphs
Click Inline Condition for shorter phrases or single words
Once added, the text will only appear when the condition you define is met (e.g. “Include a probation clause only if the answer to ‘Does this contract have a probation period?’ is ‘Yes’”).
You can learn more about how conditions work, plus the difference between block and inline conditions, in this article.
Clicking on either the Block or Inline Condition icons will load the “Condition Builder”, where you define the logic that controls when the text appears:
The Condition Builder has three parts:
Attribute - What are you checking?
(e.g. Guarantor, Company Name, Security Type)Evaluator - How are you checking it?
(e.g. equals, contains, is present)Value - What must be true for the text to appear?
(e.g. Yes, UK, Non-secured)
If the condition is satisfied, the selected text will appear in the document. If not, it stays hidden.
For example: In a loan agreement, you may want a clause to appear only if there is a guarantor.
Attribute: Guarantor
Evaluator: equals
Value: Yes
Creating a condition like this will automatically generate a new question in the Questionnaire for your chosen attribute (e.g. Guarantor).
You can customise the question text—for example, change it to:
“Is there a guarantor?”
To make it even more user-friendly, switch the Input Type to Radio Button, so users can easily select Yes or No with a simple toggle.
If the user selects Yes, the guarantor clause appears.
If they select No, the clause stays hidden.
You can apply the same logic across multiple areas like the title, recitals, definitions, body clauses, and even the signature page.
Copying and Pasting Conditions
You can easily reuse existing conditions elsewhere in your template - no need to rebuild the logic from scratch.
To do this:
Go to the right-hand panel where the condition is displayed
Click the “Copy” button
You will now be able to "Paste" it into the condition builder. This works for both creating new conditions and editing existing ones.
This is especially useful if the same condition applies across multiple parts of your document (e.g. header, definitions, and signature block).
Note: To enable this feature, ensure clipboard access is allowed. When prompted by your browser, select Allow for “See text and images copied to the clipboard.”
Advanced automation
Avvoka’s advanced tools help you handle more complex drafting scenarios - especially when working at scale. These features reduce manual edits, increase consistency, and streamline your workflows.
Here are some of the most commonly used:
Loops - Repeat sections of text based on multiple answers (e.g. listing multiple shareholders or parties)
Autolist - Automatically formats lists so they remain grammatically correct as items are added or removed
Operations - Transform or calculate answers (e.g. turning numbers into words, or performing date-based logic)
Workflows - Automate document flow, including approvals and signing logic
Template Packs - Bundle multiple templates together and generate them via a single questionnaire - ideal for onboarding packs, deal bundles, or multi-doc processes
Questionnaire
The Questionnaire is where users provide the answers that drive your document. Each placeholder or condition either creates a new question or connects to an existing one - ensuring the right data is captured at the right time.
This centralises input and keeps your documents accurate, consistent, and easy to complete.
You can customise the Questionnaire to guide users and reduce drafting errors. For each question, you can:
Control who answers it (e.g. specific parties or roles)
Add guidance text to provide context
Set default answers
Apply validations (e.g. date formats, character limits)
A well-designed questionnaire makes the drafting process intuitive, while ensuring documents are generated accurately and consistently every time.
You can also toggle to split-screen view to see the questionnaire alongside the document. This is especially helpful for live editing and checking that placeholders are linked correctly in context.
Learn more about editing and managing the questionnaire here.
Organising the questionnaire
You can sort the Questionnaire to reflect the order you want questions to appear - either for logical flow or to match the structure of the final document.
The most common (and most precise) method is to drag and drop questions using the “Drag” icon beside each one.
To make rearranging easier, use the “Compress” toggle to collapse long questions and see more of the list at once.
You can tick multiple questions to drag them all at the same time.
Another option is to click the “Sort” icon. This automatically reorders the questionnaire based on how placeholders and conditions appear in the document.
Drafting the questionnaire with AI
As the name suggests, you can also use AI to help build your questionnaire. Clicking the “AI-powered Questionnaire builder” button at the top of the questionnaire opens a modal where you can enter prompts or hints for either the questionnaire as a whole (for general question phrasing) or for each question individually.
Avvoka’s AI will then generate relevant questions for the questionnaire, helping you get a strong first draft in seconds.
Save and publish
Once you’ve automated your template, you can either save or publish it - each option serves a different purpose:
Save: Creates a minor version (e.g. 0.1 → 0.2) that’s only visible in the editor. Use this for work-in-progress updates or internal testing. It won't be available for document generation.
Publish: Creates a major version (e.g. 0.2 → 1.0) and makes the template live in the Create area, so end users can start generating documents from it.
In both cases, you’ll be prompted to add (optional) release notes - a short description of what’s changed.
All saved and published versions are stored in the History tab, where you can view, compare, or restore any version as needed.
Learn more about publishing templates here.
Testing the template
Live demo
Live Demo lets you test your template in real time - without generating a full document.
From the left-hand sidebar, click Live Demo to preview how the most recently saved version of your template behaves. This allows you to:
Answer the questionnaire
See how placeholders and conditions populate in the document
Check formatting and logic
It’s a quick and easy way to validate your automation before publishing.
Create Document
Generating a document works much like Live Demo - you’ll complete the questionnaire and test how the automation behaves. But with one key difference: generated documents can be shared, downloaded, and collaborated on with counterparties.
To generate a document:
Click Create Document in the top-right corner of the page
If the button is greyed out, make sure the template has been saved first
Once generated, the document can be accessed from the My Documents area, where you can review, edit, negotiate, and share it as needed.




















