This 43-minute walkthrough builds an automated ticket email for Blackbaud Altru from nothing: a message that goes out for every admission order, whether it was sold online, over the phone or in person. Rick drafts the copy in Google Docs, builds a sales order query and a sales order note type in Altru, designs the email in Email Designer, adds an eTicket link, tests it and turns on Start sending emails. Each part is also available as its own shorter video.
What’s covered
- 2:08 Write the email first. Draft it in Google Docs or Word as if you had every field you need, gather images and links, and start from the timed-ticket template by choosing File › Make a copy.
- 6:19 Plan the query on paper. Write down the question the query answers (here: everyone who bought a general admission ticket today), the data you need, and any joins or exclusions. It’s fine to use several queries, since Social Good Software can join them.
- 9:30 Query tips. Be patient finding fields nested several levels deep, start with one known sales order to check the output, then open it up to everyone, and test until the results are right.
- 11:19 Build the query. In Altru go to Analysis › Information library › Add an ad-hoc query and choose a sales order query. Output the fields the email uses: first name, email address, lookup IDs, transaction date, event start date and time, amount, and the sales order record, which is how a copy of the email gets attached back to Altru.
- 13:43 Filter to today’s orders. Constituent is individual = yes, ticket status = active, transaction date = today, note is blank (no email sent yet), program event name = your admission program (Museum Admission in the demo), and refund status = 0.
- 16:34 Save it. Name it Ticket sold today and uncheck Suppress duplicate rows. Email Designer merges duplicate rows itself.
- 17:41 Create a sales order note type. In Administration › Tables, filter to ticketing, open Sales order note type and click Add. The note proves an email was sent and keeps the same person from getting it twice. Use a different note type for each email (receipt, reminder, post-visit survey).
- 20:22 Before designing. Have your domain verified (Social Good Software helps with this), plus your subject line, from and reply-to addresses, note type, finished copy, and images exported as files.
- 22:31 Create the template. In Email Designer click Create template, name it, choose a transaction email (sent once per order), and add the query’s OData link. Any extra query columns become variables you can use in the email.
- 24:30 Configure it. Pick the email address field, set the grouping key to System record ID so one order with several rows gets one email, skip grouping and merging fields, choose the note type (Email receipt in the demo), and enter from, from name, reply-to and subject.
- 26:30 The template tabs. The visual designer, Preview, Activity (processed emails and data downloads) and Settings.
- 27:16 Build the content. Delete the starter content, add and upload a header image, and drag in text blocks for each paragraph. Query variables are listed on the side for drag-and-drop. If pasted text brings highlighting, set it to none.
- 31:22 Social icons and footer. Add the social group, remove Google Plus, add an Instagram element and paste each link. The footer block fills in your organization’s name, address and phone from Settings › Account (34:08), so keep that up to date.
- 34:28 The eTicket link. Turn on automatic eTicket numbers, copy the preview eTickets link, replace the value after soid= with %id%, and use it as the View tickets link. Rick also fixes a transaction date variable and sets the paragraph line height to 24 under Typography (37:50).
- 39:24 Test and go live. Send yourself a test, adjust the query if you want a later start date, then turn on Start sending emails and Save settings.
Key takeaways
- Write the email before building anything. The draft tells you which fields the query has to output.
- The query decides who gets the email; the note type stops repeats. Filtering on “note is blank” and attaching a note when each email sends means every order is emailed once. For the query on its own, see how to create a sales order query for tickets sold today.
- Include the sales order record in the query and group by system record ID, so a copy of the email lands on the right sales order and multi-row orders get one email.
- Make one note type per email. See how to create a custom sales order note type.
- Test in your own inbox before turning sending on, and turn sending off while you make changes later.
- Rick says the whole process takes about half an hour once you know it.
Common questions
Does this email cover orders made over the phone and in person, not just online?
Yes. The query in the video catches every admission order for the day regardless of how it was sold, and you can narrow it in the query if you need to.
Why uncheck Suppress duplicate rows?
Email Designer merges duplicate rows for the same order using the grouping key, so the query should return all rows.
What does the note type do?
Each sent email is attached to the sales order as a note of that type. Because the query only returns orders with no note, the order drops out of the query and isn’t emailed again.
Can I send several emails to the same order?
Yes. Give each email its own note type, such as receipt, reminder and post-visit survey.
Do I have to write the email inside Email Designer?
No. Rick recommends writing and collaborating in Google Docs, then moving the finished copy and exported images into Email Designer.
