Integrations
Field Mapping

Field Mapping

Field mapping tells PatronSend how to map Spektrix custom attributes to document fields.

How Field Mapping Works

Spektrix allows custom attributes on orders and customers. Field mapping lets you use these attributes to populate receipt fields automatically from data entered in Spektrix.

Setting Up Field Mappings

  1. Go to Settings > Spektrix Integration > Field Mapping
  2. Click Add Mapping
  3. Select the Spektrix attribute
  4. Select the receipt field
  5. Save the mapping

Available Receipt Fields

FieldDescriptionCRA Required
Donor Middle InitialMiddle name/initialNo, but recommended
Advantage AmountBenefit receivedConditional
Advantage PercentBenefit as percentageConditional
Gift TypeCash or non-cashYes
Gift DescriptionDescription for non-cashConditional
Appraiser NameFor gifts over $1,000Conditional
Appraiser AddressFor gifts over $1,000Conditional

Common Spektrix Attributes

During onboarding, PatronSend scans your Spektrix funds for common attributes:

Spektrix AttributeSuggested Mapping
AdvantagePercentAdvantage Percent
AdvantageAmountAdvantage Amount
GiftTypeGift Type
MiddleInitialDonor Middle Initial

Priority Order

When the same field could be set by multiple sources:

  1. Fund rule - Takes highest priority
  2. Field mapping - Applied next
  3. Default value - Used if no mapping exists

Testing Mappings

After setting up mappings:

  1. Go to Receipts > Create Receipt
  2. Enter a Spektrix Order ID that has the mapped attribute
  3. Check the preview to confirm the field is populated correctly

Troubleshooting

Attribute Not Appearing

  • Verify the attribute exists in Spektrix
  • Check the attribute has a value on the order
  • Run a manual sync to refresh data

Wrong Value Showing

  • Check for conflicting fund rules
  • Verify the mapping is to the correct field
  • Check the attribute value in Spektrix directly

Standard Field Mappings

The following fields are automatically extracted from Spektrix data. No configuration is required for these mappings.

Donor Information

Receipt FieldSpektrix SourceRequired
First NameCustomer.FirstNameYes
Last NameCustomer.LastNameYes
EmailCustomer.EmailYes
PhoneCustomer.PhoneNo

Address

Receipt FieldSpektrix SourceRequired
Address Line 1Customer.BillingAddress.Line1Yes
Address Line 2Customer.BillingAddress.Line2No
CityCustomer.BillingAddress.TownYes
Province/StateCustomer.BillingAddress.AdministrativeDivision.CodeYes
Postal CodeCustomer.BillingAddress.PostcodeYes
CountryCustomer.BillingAddress.Country.IsoCodeYes

Gift Details

Receipt FieldSpektrix SourceRequired
Gift AmountDonation.AmountYes
Gift DateOrder.FirstTransactionDateYes