Conditional Content with Qwilr Templates
With Conditional Content, you can build rules using the tokens in your Qwilr templates to determine what blocks appear and disappear!
By leveraging either the existing account tokens in your Qwilr account or the tokens imported from your integrated CRM, you can setup block rules on your templates to reveal or hide content based on information provided at page creation from those token fields.
The block rules are defined by conditions where a token field is selected as the filter point and the condition is set based on whether certain information appears or is entered in that field on page creation.
In the below, we will be showing you screenshots using Qwilr's native account tokens for our templates. All of these can be applied to CRM integrated tokens as well.
The main idea here is that your template will have multiple blocks on the template. Based on entries in those fields, some blocks will show but others will not. This allows you to have easier customization in page creation.
In this article:
- Set Up Your First Rule
- Types of Conditions
- Multiple Conditions - Adding/Removing
- Conditions in Action
- FAQs About Conditional Content
Note: This feature is only available to Enterprise accounts and has an additional cost. Please reach out to Qwilr via help@qwilr.com or the help button in your account to learn more.
Set Up Your First Rule
First, head over to your Library and select Templates. From there you can choose to create a brand new template or edit an existing one. Feel free to test it out by cloning an existing template and editing the clone.
For Enterprise accounts with conditional content enabled, you should see a brand new option in your template editor in the top left menu of each block, Add rules.

Clicking on Add rules brings up the option to + Add condition.

From + Add condition you will see the Show block if screen. This is where you get into the details of what will and won't show depending on conditions you set in the template.

In the below example, we'll start with adding a Show block if rule where our Region token is "Australia".

This means that when creating a page from this template, when we set the Region to "Australia" this block will show. Next, let's talk about the types of conditions we can set up.
Types of Conditions
There are 3 main condition categories to select from: Text, Number, and Any. Each of this categories has different rules modifiers to set your content reveal rule.
| Text | Number | Any |
|---|---|---|
| is | equals | has no value |
| is not | does not equal | has any value |
| contains | is more than |
|
| does not contain | is less than |
|
| starts with |
|
|
| ends with |
|
|
This conditions allow you to better set what will or won't trigger the block content showing on the page.
Multiple Conditions - Adding/Removing
Qwilr allows multiple conditions to be applied in a block to define which blocks show up on the page. You can utilize either the And or Or modifier.

These can be applied to different tokens when using the And modifier, or the same token when using the Or modifier. In the example below, we have below showing if Region is "Australia" And if the State is "NSW".

In this example, we've have it set to be if the Region is "Australia" Or if the Region is "New Zealand".

You can utilize up to 10 conditions for a block rule, combining And and Or as needed to decided what content shows and what remains hidden based on the information provided for those token fields.
To remove a condition, select the trash icon to delete condition.
Conditions in Action
Now that you've setup your template with block rules for different conditions, you can see it in action! Below we have the example of a page being created from our template with our Region condition on two blocks. One block will show up if the block rule with the condition Region is "Australia" is met, while the other block will show up if the block rule condition Region is "US" is met.
note: video does not have sound
FAQs About Conditional Content
How many conditions can I have per block?
You can have up to 10 conditions per block, in a mix of And and Or conditions.
Will this work with the CRM Tokens for Salesforce, HubSpot, Pipedrive, or Zoho?
Yes. You can use the tokens imported from your CRM integration with Qwilr. They will appear in the conditions list the same as the account tokens used in the examples above.
Can I have tokens inside the conditional block and will they populate as normal?
Yes. All tokens in the template blocks will populate as normal. In the case of CRMs, they will import as expected from the CRM record. In the case of the native account tokens on Qwilr, those fields will still appear on the list to be filled in on page creation.
Can I set block rules and conditions up in my Saved Block Library?
No. Saved Blocks cannot have rules setup and if a block with conditions on a template is saved to the Saved Block Library, it will not maintain the block rule.
Are there any block types that can't have rules applied to them?
All block types can have rules applied to them with the exception of the Accept Block.
Is "0" or an empty field still considered a valid condition?
Yes. If a condition is created and "0" or no value is input into the value box, then this will be considered a valid condition and will be resolved when a page is created from a template.
What happens if I have a condition where I did not set a token?
These conditions will be skipped over and still create the page without hiding the block content.
Does the conditional logic work at the widget and/or content level?
Not at this time, but we hope to implement this in the future.
If you have any questions about conditional content, please feel free to reach out to the Qwilr Support team either by emailing help@qwilr.com or clicking the help button at the right of your Qwilr account.