Altru Query for a Mailchimp or Constant Contact Sync
← Back to Blog

How to Build an Altru Query for a Mailchimp or Constant Contact Sync

December 9, 2021

To sync a list from Blackbaud Altru to Mailchimp or Constant Contact, you need two things in Altru: a Yes/No constituent attribute that marks the list, and an ad-hoc Constituents query that returns everyone who can be emailed plus every field you want synced. Save the query and use its OData link in Social Good Software’s Data Bridge. The process is the same for Mailchimp and Constant Contact, and for a main list or a sub-list.

Why every field matters: if a field isn’t in the query, it won’t sync in either direction, to the mail provider or back from it (9:38).

Steps

Part 1: Create the attribute

  1. Open attribute categories (0:55). In Altru go to Administration › Attribute categories and click Add.
  2. Name it for the list (1:14), for example Main mailing list. Every segment you sync needs its own attribute, such as Member only list, Donor only list or Visitors list (1:48).
  3. Set the options (3:26). Record type Constituent, data type Yes/No, and check Only allow one per record. Click Save.
  4. Consider an Unsubscribed attribute too (3:56). The video creates one, also Yes/No, to track people who have unsubscribed.

Part 2: Build the query

  1. Create the query (4:25). Go to Analysis › Information library, click Add an ad-hoc query, and choose Constituents.
  2. Add the filters (4:43):
    • Type equals Individual
    • Deceased equals No
    • Email address › Primary email address equals Yes
    • Do not email equals No
    • Bounced equals No
    • Phones › Primary phone number equals Yes (7:49)
  3. Add the name and address fields (5:40). Remove the default Name and add First name and Last name. From the primary address, add Address line 1, Address line 2, City, State, ZIP code and Country.
  4. Add the remaining fields (6:53): Email address, Date changed (the video puts it at the top), the Constituent record, and the Phone number.
  5. Add the list attribute (8:11). Under Attributes, add the Main mailing list attribute’s Value. Column order doesn’t matter, but a logical order makes the Data Bridge setup questions easier to answer.
  6. Save the query (8:38). In Set save options, name it (for example Main mailing list), add a description noting that it’s in use so no one deletes it, choose a category and folder, and click Save and close.
  7. Connect it (9:21). The query is ready to use as an OData link in Data Bridge. Next, enable the Altru to Mailchimp or Constant Contact sync.

Adding a sub-list

For each segment, repeat the process with that segment’s own attribute (9:50). To start from an existing query, open Edit definition, find the segment’s attribute under Attributes (the video uses Today’s visitors), double-click it, select Value, add it to the output, and add the filter logic for that segment. The parent main list stays as it is.

Common questions

Is the query different for Mailchimp and Constant Contact?

No. The video’s process is the same for both providers.

Why create the attribute before the query?

The query needs the attribute as a field, so it has to exist first. For more detail, see how to create a mailing list subscriber attribute in Altru.

Who ends up on the main list?

Living individuals with a primary email address who aren’t marked do not email and haven’t bounced.

What if I leave a field out?

That field won’t sync to the mail provider or back from it.

Video transcript

Hey, this is Rick with Social Good Software. In this short demo I’ll walk you through creating a list to sync over to either Constant Contact or Mailchimp. The process is exactly the same whether you’re using Constant Contact or Mailchimp.

We’ll create a list of individuals, add output fields for those individuals, and create a specific attribute for the constituents themselves. We’ll start with the attribute, because we need it inside our query, and then create the query itself.

Creating the attribute is simple. Head over to Administration, and you’ll see an Attribute categories section. Open it and click Add, and it prompts you to add an attribute. Right now we’re syncing an entire list of constituents, so we’ll call this one “Main mailing list”. It could be called anything for the segment you’re working on. For every segment you have, you need to create a category for that specific segment. Right now we’re syncing our entire list, but if you have a sub-list under that list, you need to tag it differently.

Let me pull up my marker and show you how this works. Here’s our entire list, which I’ll call the main mailing list. It queries all individuals who have an email address, who haven’t marked themselves as do not email, and who haven’t bounced any emails. That’s our whole list, say 10,000 rows. If you don’t want to email all of these people and you have other segments within this list, say you break it into three segments: segment one for members, segment two for donors and segment three for visitors. You can totally do this. The parent is still the main mailing list; that hasn’t gone away. But if you want a members list, you’d create a separate attribute for it, called something like “Member only list”, then “Donor only list” for donors and “Visitors list” for visitors. That’s how those work.

Back in the dialog, this is for individuals, so the record type is Constituent. Set the data type to Yes/No, and make sure “Only allow one per record” is checked. At this point you can click Save to create it. As you can tell, I’ve already created mine. Here’s my main mailing list, a Yes/No. Here’s a sub-list of that larger list, Today’s visitors. I also created one called Unsubscribed to track people who have unsubscribed. These are all Yes/No, the exact same option, so please create those: the main mailing list, Unsubscribed, and any sub-categories you want for different data bridges. Right now I’ll focus on the main mailing list, but it’s the exact same process for all the sub-lists.

Now we head over to Analysis and click Information library, then Add an ad-hoc query. We’ll make this a Constituents query. First we go to Type, bring it over, and say it’s equal to Individual. Then we make sure the person isn’t deceased, so Deceased equals No. Next we need the email address, so we go to Email address and take the Primary email address, set to Yes. We want to remove anyone marked do not email, so Do not email equals No, and then Bounced equals No.

Now that those are in, let’s add our output fields. First, we get rid of Name. We go to Constituent and take the first name and the last name. We also need the address, so we take the primary address, and from it Line 1, Line 2, the city, the state and the ZIP code. That’s pretty much it for the address, except we also need the country.

Now we can add a few more things. We need an email address, so we go to Email address and move it up. Then we take the date the record was last changed: under Constituent there’s Date changed, and I’ll put it all the way at the top. We also need the constituent record, which we’ll leave at the bottom. The last thing we need is the phone number, so we go to Phones, Phone number, bring it in, and same as before, Primary phone number equals Yes.

It looks like we have all the personal info: first name, last name, email, phone, address, and the constituent record. The last thing we need is the attribute, so we go to Attributes, the Main mailing list attribute, and take its value. I’ll put it right above the address and move the phone number down. It doesn’t matter which order you have them in. It’s just nice to have them like this, because when we get asked questions later, we just select one after the other.

That’s it for this one. We go to Set save options and give it a name, “Main mailing list”, with a note not to remove it because it’s in use. Then give it a category and a folder; in my example I have a Social Good Software folder. Click Save and close, and that creates the query for us. The query is officially created, and we’re ready to use this OData link with our Data Bridge.

That’s all there is to creating these queries. Make sure you include all the information I recommended. If you don’t include it in your query, it won’t get synced either way, to the mail provider or back from the mail provider.

Lastly, if you have other segments you want to create, repeat this exact same process, but this time include the specific segment you want to work with. If you go back to Edit definition, find the particular attribute, in my case this one, and change it to the one you’re working with. Under Attributes you can see I have Today’s visitors, so I can include it by double-clicking, selecting the value, and adding it. Now this is a sub-list of the other list, and you’d also include the logic for it up here in the filters.

Once again, this is Rick from Social Good Software. I hope you found this video helpful. If something wasn’t clear or you have more questions, go to socialgoodsoftware.com/feedback to share feedback on this training or the software. We’re always happy to help.

Continue reading

How to Edit, Rename or Delete Sales Order Note Types in Altru

Sales order note types in Blackbaud Altru are managed in one place: Administration › Code tables, filtered to Ticketing, under Sales order note type. From that list you can Delete a note type, Edit it to rename it, or Add a new one. Steps Open Code tables (0:12). In Altru go to Administration › Code

MuseumHub vs Social Good Software: Rebuild on HubSpot, or Modernize on Altru?

MuseumHub vs Social Good Software: Rebuild on HubSpot, or Modernize on Altru?

MuseumHub and Social Good Software both bring modern ticketing, membership, and digital cards to museums. They sit on different foundations. MuseumHub rebuilds your operation on HubSpot’s CRM. Social Good Software is native to Blackbaud Altru, extending the system you already run. The re-platform question MuseumHub is museum logic built on top of HubSpot. Adopting it

What Are Checkout Flows for Blackbaud Altru and How Do They Work?

A checkout flow customizes Blackbaud Altru checkout pages for specific items being purchased. An online template usually changes every checkout page across every item, while a checkout flow targets items by title, such as summer camps or general admission, so you can remove or hide items, show a pop-up or give more context only where

Social Good platform

See it in action

Get started with Social Good

Book a demo to see Social Good Software in action for Altru.

Book a Demo
Social Good platform

See Social Good in action

Tell us a bit about your organization and we’ll take you straight to short demo walkthroughs of the software.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.