Skip to main content
Queries let you answer precise questions about your data—“households in Oregon who gave over $100 last year,” “individuals with no email on file,” and so on. Open Queries in the sidebar.

Pick what you’re looking for

Start by choosing the result mode—what each row in your results represents: Choose Individuals for email-list actions and Contacts/Households for household-level tags or notes.
Switching modes clears your current conditions and results, since each mode has its own set of fields.

Build the conditions

1

Add a condition

Each condition is a field, an operator, and a value—for example, State / is one of / CA, OR, WA.
2

Combine with AND / OR

Set the group logic: AND requires every condition; OR matches any. You can nest groups for more complex logic.
3

Run the query

Choose Run Query. In the Select Fields to Display dialog, tick the fields (columns) to show in your results, then choose Show Results.
4

Save (optional)

Choose Save Query, name the query, and optionally tick Share with my organization.
The query builder in Individuals mode with one condition, State equals Oregon, and the Clear, Save Query and Run Query buttons

The query builder: (1) the result mode, (2) a condition's field, operator and value, (3) AND / OR, (4) Run Query, (5) Save Query.

The Select Fields to Display dialog listing address fields with State ticked

Running a query asks which fields to show: (1) tick each field you want as a column, then (2) Show Results.

The kinds of filters

Fields span contact info, the people in a household, contact methods (email/phone and opt-in status), addresses (down to congressional district), mailing addresses, organization connections, tags, giving, memberships, and events. Operators adapt to the field—text supports contains and starts with; numbers and currency support greater than and between; dates support in the last N days; tags support has tag and doesn’t have tag.
The field list open on a condition, with categories such as Contact Info, Address, Giving & Donations, Memberships and Events on the left and that category's fields on the right

Choosing a field: (1) search every field, or (2) browse by category.

Mailing addresses

The Address fields describe a contact’s physical address. The Mailing Address category adds:
  • Mailing Street Address, Mailing Address Line 2, Mailing City, Mailing State, Mailing Zip Code, and Has Mailing Address, for the separate mailing address on contacts that have one. Is empty, does not equal, and does not contain also match contacts with no mailing address.
  • Mail-to street, line 2, city, state, and ZIP: the mailing address when the contact has one, otherwise the physical address. Show these columns when you’re building a list to mail.
These fields are available in Contacts/Households and Individuals results.

Organization connections

The Organizations category finds people who are connected to an organization:
  • Connected to an Organization — yes or no.
  • Connected Organization — by the organization’s name.
  • Connection Role — by a role typed on the connection, such as Minister. It’s a text filter that ignores capitalization. A person with several roles matches equals, contains, and starts with when any role matches, and matches does not equal and does not contain only when no role does, so those also include people with no roles or no connection.
  • Has Connected People — in Contacts/Households results, organizations and foundations that have people connected to them.
In Individuals results these describe that person. In Contacts/Households results a contact matches when anyone in it matches. The Connected Organization and Connection Role columns list the names.

Event and membership gifts

Gifts recorded by the Events module (tickets, merchandise, auction wins, sponsorships) and gifts that paid for a membership carry extra fields you can filter on in any result mode:
  • Is Event Gift / Event (Gift) / Event Gift Type — under the Events category. Types are Ticket, Merchandise, Auction win, and Sponsorship; imported event gifts with no type are Unspecified (imported).
  • Is Membership Gift / Membership Gift Tier — under the Memberships category.
In Gifts mode these filter the transactions themselves (for example, every ticket gift for the Fall Gala). In Contacts/Households or Individuals mode they find the people who have such a gift.

Event registration and attendance

These fields are in the Events category, in Contacts/Households and Individuals modes:
  • Registered for an Event (purchaser) and Registered for Event (purchaser) find people who bought a registration. They include buyers whose registration was never matched to a contact, by using the email given at checkout.
  • Attending an Event (incl. guests) and Attending Event (incl. guests) also find people named as guests on someone else’s registration.
A guest counts only after being matched to a person. Clear the Guests tab in Event match before relying on attendance results.

Saved queries

The Saved queries tab lists everything you’ve saved. Filter by search, result mode, and ownership; click any query to load it back into the builder to run, adjust, or remove.
A query is the fastest way to build a one-time list. If you want an audience that keeps itself current for email, build a segment instead.

Check your results

Start with a narrow example whose outcome you can verify. Inspect several rows after running the query, then adjust the conditions. AND requires every condition in the group; OR permits any condition. Use nested groups when those rules need to be combined. Choose Run Query again after editing conditions before using a bulk action. For no results, remove conditions one at a time and confirm the result mode. For too many results, check OR groups and whether an empty condition is broadening the query. See Act on selected results before editing records in bulk.