Integrations
DotDigital

DotDigital Integration

PatronSend uses DotDigital to send document emails to your patrons via the Transactional Email API. Since all Spektrix customers have DotDigital accounts, you can use your existing credentials.

It is your responsibility in your email templates to ensure that you are not using transactional email for marketing purposes.

Connecting DotDigital

Prerequisites

  • DotDigital API User (format: apiuser-xxx@apiconnector.com)
  • DotDigital API Password
  • Your DotDigital region (r1, r2, or r3)

Finding Your API Credentials

  1. Log in to DotDigital
  2. Go to Settings > Access > API Users
  3. Create a new API user or use an existing one
  4. If creating a new user, keep the existing email, enter PatronSend in the description, create a new secure password, and keep rate limiting and status the same.
  5. Copy the API user email and password
  6. Note the region in the URL at the top of the page

Connection Steps

  1. Go to Settings > Email
  2. Enter your API User
  3. Enter your API Password
  4. Select your Region
  5. Click Test Connection
  6. If connection was successful, you'll see a success message
  7. Enter your default from email and name
  8. If everything works, you will see DotDigital connected!

Delivery Tracking

PatronSend automatically registers a webhook with DotDigital to track email delivery. This lets you see:

  • When emails are sent
  • When emails are delivered
  • When emails are opened
  • If emails bounce or fail

View delivery status on any receipt's detail page.

Email Templates

You have two options for email templates:

1. PatronSend Templates (Default)

Use our built-in template. Customize the content in Templates > Email Templates.

2. DotDigital Triggered Campaigns

Use your own DotDigital triggered campaigns for full design control:

  1. Create a triggered campaign in DotDigital via Automation > Triggered email
  2. In PatronSend, go to Templates > Email Templates
  3. Create a new template and select "DotDigital Campaign"
  4. Choose your campaign from the dropdown

Personalization Variables

PatronSend fills these in on every send. Two ways to use them, covered below.

VariableDescription
@DONOR_BUSINESS_NAME@Business / organization name (empty for individual donors)
@DONOR_DISPLAY_NAME@Best name to address the donor by (recognition name, else business name, else full name)
@RECOGNITION_NAME@Donor's preferred recognition name (falls back to full name if not set)
@SALUTATION@Patron's letter salutation (e.g. "Lisa and Kevin"). Renders blank when unset; use @RECOGNITION_NAME@ for a name that always resolves.
@TRIBUTE_NAME@Name of the person the gift honours (empty if none)
@TRIBUTE_TYPE@Tribute type describing how the gift honours them (empty if none)
@FUND_NAME@Fund the gift went to (empty on manually entered receipts and on aggregates, which cover several funds)
@RECEIPT_NUMBER@Receipt number (e.g., R-2025-001)
@GIFT_DATE@Date of the donation. On a receipt covering several gifts, the span from the first gift to the last.
@DONATION_COUNT@How many donations this receipt covers. Empty on a receipt for a single gift.
@FIRST_GIFT_DATE@Date of the earliest gift this receipt covers. Empty on a receipt for a single gift.
@LAST_GIFT_DATE@Date of the most recent gift this receipt covers. Empty on a receipt for a single gift.
@RECEIPT_PERIOD@The tax period this receipt covers, named the way your market names it. An Australian financial year renders as a span, such as 2025–26.
@ISSUED_DATE@Date the receipt was issued
@GIFT_AMOUNT@Donation amount (formatted with currency)
@ELIGIBLE_AMOUNT@Tax-eligible amount
@VOID_DATE@Date the receipt was voided
@RECEIPT_DOWNLOAD_URL@Link to download the receipt PDF
@YEAR@The calendar year the email is sent in, not the tax year printed on the receipt
@TAX_RECEIPT_COUNT@Number of receipts in this email (for bulk sends)
@TAX_RECEIPT_SUMMARY@Formatted list of receipt numbers and amounts
@TOTAL_AMOUNT@Total amount across all receipts in this email

Your donor's name and email address are sent as well. They are not in the table because DotDigital already has built-in contact fields for them, so no sync is needed: use @FIRSTNAME@, @LASTNAME@, @FULLNAME@ and @EMAIL@. Your organization's own details (name, charity name, registered address, registration number, logo, brand colours) are sent too, but they are identical on every receipt, so it is simpler to type them straight into the campaign.

A variable with no value for a given receipt renders blank rather than leaving the placeholder text behind. @SALUTATION@ is blank unless you map a salutation attribute in Settings > Spektrix > Field Mapping; use @RECOGNITION_NAME@ if you need a name that always resolves.

Using variables: data fields or Liquid

Option 1: Sync data fields, then use @VARIABLE@

DotDigital's drag-and-drop editor only recognises @VARIABLE@ placeholders that exist as contact data fields in your account. In PatronSend, go to Settings > Email and click Sync Data Fields to create them.

You choose which fields to create, so you are not obliged to take the whole set into your contact schema. The dialog shows which ones already exist and which are missing. Syncing is safe to repeat: existing fields are skipped, and nothing is ever deleted or overwritten.

One thing worth knowing: these fields stay empty on your contact records. PatronSend sends each value with the individual email rather than saving it to the contact, so the fields exist to make the placeholders available in the editor. Do not build segments or automations on them expecting to find data.

Option 2: Use Liquid, and sync nothing

If you would rather not add fields to your contact schema, you can read the same values with Liquid instead. Liquid works with no data fields at all, because the values travel with the email.

In your campaign, drag in a Text block, click Edit HTML on the toolbar, and write {{ data.VARIABLE }} in place of @VARIABLE@:

<p>Dear {{ data.DONOR_FIRST_NAME }},</p>
<p>Thank you for your gift of {{ data.GIFT_AMOUNT }} on {{ data.GIFT_DATE }}.</p>
<p><a href="{{ data.RECEIPT_DOWNLOAD_URL }}">Download your receipt</a></p>

Use the same names as the table above, without the @ signs. The two styles mix freely in one campaign, so you can sync the handful of fields you use most and reach for Liquid for the rest.

Receipts Table Block

If a single email contains more than one receipt (for example, a year-end bundle delivered to one donor), PatronSend can provide a ready-to-paste table that lists each receipt with its own Download button — branded with your primary colour.

Steps

  1. In PatronSend, go to Templates > Email Templates and open the template that uses your DotDigital triggered campaign.
  2. In the DotDigital settings panel, click Copy receipts table. The snippet is now on your clipboard.
  3. Open your triggered campaign in DotDigital (Automation > Triggered email).
  4. Drag a Text block into the email where you want the table to appear.
  5. With the Text block selected, click the Edit HTML button on the toolbar.
  6. Paste the snippet you copied into the HTML editor and click Save.

The table renders one row per receipt at send time, with each row's Download button linking directly to that receipt's PDF.

What gets sent in the payload

The table reads from a structured personalization payload that PatronSend automatically attaches to every triggered-campaign receipt email:

FieldDescription
data.receipts.countNumber of receipts in the email
data.receipts.totalTotal dollar value across receipts
data.receipts.items[].numberReceipt number
data.receipts.items[].dateGift date
data.receipts.items[].amountGift amount
data.receipts.items[].downloadUrlPer-receipt download link

You can edit the pasted snippet to customise columns, copy, or styling.

Email Deliverability

For best deliverability, ensure your sending domain has proper DNS records:

  • SPF - Authorizes DotDigital to send on your behalf
  • DKIM - Signs emails cryptographically
  • DMARC - Defines how to handle failed authentication

Contact Spektrix support for help setting up these records.

Troubleshooting

Connection Failed

  • Verify your API User is in the correct format
  • Check your password is correct
  • Confirm your region selection

Emails Not Sending

  • Check your DotDigital account is active
  • Verify sender email is verified in DotDigital
  • Check the receipt status for specific errors

Low Open Rates

  • Ensure SPF/DKIM/DMARC are configured
  • Check if emails are going to spam
  • Review your subject line and sender name