Skip to main content
All CollectionsWorkflows & AutomationsDocument Templates
How do you use conditional logic in document templates?
How do you use conditional logic in document templates?

Conditional logic in document templates

Devanshi Kackar avatar
Written by Devanshi Kackar
Updated over 6 months ago

Conditional logic in document templates empowers users to create dynamic and personalized documents tailored to specific scenarios or conditions. Whether you're drafting contracts or proposals, understanding how to use conditional logic effectively can streamline your document automation in Lawcus.

Here's a comprehensive guide on how to use conditional logic effectively:

For Windows users:

  1. Open Microsoft Word. Go to the Insert tab.

  2. Click Quickparts and select Field... from the dropdown.

  3. Under the Field names list, select If.

  4. Under Field Codes, enter your conditional statement.
    For example: IF "{{ADDRESS_BILLING_CITY}}" = "San Francisco" "Home" "Away"


  5. Click OK.

If you need to edit your statement, press Alt + F9 to reveal the content of the IF field in the document.

For Mac users:

  1. Open Microsoft Word. Go to the Insert tab.

  2. Click Insert Field.

  3. Under the Field names list, select If.

  4. Under Field Codes, enter your conditional statement.
    For example: IF "{{ADDRESS_BILLING_CITY}}" = "San Francisco" "Home" "Away"

  5. Click OK.

If you need to edit your statement, press Fn +Option + F9 to reveal the content of the IF field in the document.

Note: It's crucial to remember that conditional statements are case and space-sensitive, ensuring accuracy in your document automation process.

With this guide, you'll be equipped to seamlessly integrate conditional logic into your document templates, unlocking the full potential of personalized and dynamic document creation in Lawcus.

Did this answer your question?