Conditional clauses in Word: include or remove paragraphs automatically
Most contracts and letters have parts that only apply sometimes: a retainer, a guarantor, a bonus, a jurisdiction clause. Here is how to make Word documents include or drop those parts automatically.
Yes/no sections
{#has_guarantor}
GUARANTEE
{guarantor_name} guarantees the tenant's obligations.
{/has_guarantor}
Clausery asks "Has guarantor?" and removes the whole block, including its paragraphs, when the answer is no. Questions inside the block, such as the guarantor's name, are only asked when the answer is yes.
Either/or wording
{#is_remote}This is a remote position.{/is_remote}{^is_remote}You will work from our {office} office.{/is_remote}
{^…} is the opposite of {#…}: it keeps its text when the answer is no.
Clauses based on amounts, dates or choices
A section does not have to be a yes/no question. In the designer, change the section's question to Computed and give it a rule such as salary > 100000, fee_type == "flat" or years_between(start_date, today()) >= 5. The clause appears when the rule is true. See logic and calculations for everything the rules can do.
Avoiding blank lines
Put the opening and closing tags each on their own line, as in the examples above. Clausery then removes those lines along with the section, so the document never has gaps where a clause used to be.
More on automating Word templates
- How to automate a Word template without uploading it anywhere
- Repeating lists and table rows in Word templates
- Mail merge vs document automation: which one do you need?
- Client intake without a portal: collect answers by email, privately
- Choosing document software when client confidentiality matters: a checklist
All guides
NDAs and restrictive covenants
- What to include in an NDA: a clause-by-clause checklist
- Mutual vs one-way NDA: which one do you need?
- How long should an NDA last? Typical terms explained
- NDA vs confidentiality agreement: is there a difference?
- Non-compete vs non-solicitation agreement: the difference
- Are non-compete agreements enforceable? The rules in 2026
Hiring and HR letters
- How to write a job offer letter (with a free template)
- How to write a warning letter to an employee (free template)
- How to write a termination letter (with a free template)
- How to write a two weeks notice letter (free template)
- How to write a job description that attracts the right people
- What to include in a severance agreement
- How to write a performance improvement plan (PIP) that works
- How to write a remote work agreement (free template)
Freelancing and getting paid
- How to write a freelance contract: 10 clauses that prevent disputes
- What to include in a statement of work (SOW)
- Quote vs estimate vs invoice: what is the difference?
- How to write an invoice: what to include and how to number it
- What is a kill fee? How to set one in a freelance contract
- What to do when a client won't pay: a step-by-step plan
- How to write a demand letter for unpaid invoices
- What is a change order? How to handle scope changes
- What is a credit note? When to issue one, what it must say
Landlords and tenants
- What to include in a residential lease agreement
- What to include in a roommate agreement (free template)
- How to write a rent increase letter: notice and wording
- How to write a notice to vacate letter
- How to return a security deposit: deadlines and deductions
- Renting a room in your home: what the agreement should say
- How to set up a rent payment plan with a tenant
Business deals, money and releases
- Is an MOU legally binding? How it differs from a contract
- What to include in a partnership agreement: 10 key terms
- How to write a bill of sale, with a free template
- How to lend money to family or friends, in writing
- How to write a gift letter for a mortgage
- Are liability waivers enforceable? What makes one hold up
- What is a hold harmless agreement? Types, examples and limits
- When do you need a model release? A plain guide
- How to terminate a contract: notice, cause and the letter
- How does consignment work? Commission, payouts and risk