Constituent Groups

You can create a conditional content section within your mailing based on a constituent's membership in a constituent group. In order to use the Constituent Group Membership function, you need to identify the group's ID, which is shown on the Manage Constituent Groups page, under the 'Group ID' header.

In the below example, suppose your Volunteers group has a group ID of 1, and your non-recurring donors group has a group ID of 2. It illustrates a few ways you can use this functionality:

{% if cons.inConsGroup(1) %}
		Thank you for your volunteer efforts thus far!
{% else %} 		
    According to our records associated with this email address, you haven't volunteered.
{% endif %}
{% if cons.inConsGroup(2)  %}
    Please setup a recurring gift today: 
{% endif %}
Thank you for your volunteer efforts thus far!
According to our records associated with this email address, you haven't volunteered. 

Please setup a recurring gift today:
According to our records associated with this email address, you haven't volunteered.