When you start making templates for merge documents or PDFs to upload into Insightly, you have the option to include IF THEN logic within them. You can use this logic to selectively include document sections depending upon what fields are filled out in the record.
If you have Microsoft Word, you can use it to add conditional statements to templates. You can use other programs to create templates, but Word has tools that will make the process a little easier.
Conditional statements are case and space sensitive.
For Windows users:
- Open Microsoft Word. Go to the Insert tab.
- Click Quickparts and select Field... from the dropdown.
- Under the Field names list, select If.
- Under Field Codes, enter your conditional statement.
For example: IF "{{ADDRESS_BILLING_CITY}}" = "San Francisco" "Home" "Away"
- Click OK.
For Mac users:
- Open Microsoft Word. Go to the Insert tab.
- Click Insert Field.
- Under the Field names list, select If.
- Under Field Codes, enter your conditional statement.
For example: IF "{{ADDRESS_BILLING_CITY}}" = "San Francisco" "Home" "Away" - Click OK.
If you need to edit your statement, press Alt + F9 (Windows) or Fn +Option + F9 (Mac) to reveal the content of the IF field in the document.