The Recharge Gift Purchased event triggers a Listrak Custom Event when a customer purchases a gift. In the journey, you can messages a customer to confirm their purchase date, amount, and recipient information.
This guide will outline the personalization options to customize the journey and messages triggered by the Recharge integration.
Personalizing the Journey with Custom Event Properties
The Custom Event called Recharge Gift Purchased Sender [[Your Store Name]] is automatically created as part of the integration process. Recharge passes the following payload to Listrak customized with the specific product information for the gift.
{
"eventCategory": "gift",
"eventType": "GiftPurchasedSender",
"eventTimestamp": "2026-04-30T11:20:00.0000000+00:00",
"customer": {
"email": "[email protected]",
"firstName": "Jane",
"lastName": "Smith",
"externalCustomerId": "24662915678374"
},
"product": {
"productId": "15268877402278",
"variantId": "56305470505126",
"title": "Classic Cotton T-Shirt",
"price": "50.00",
"sku": "T100",
"imageUrl": "https://cdn.example.com/tshirt.jpg",
"linkUrl": "https://store.example.com/products/classic-cotton-t-shirt",
"productHandle": "classic-cotton-t-shirt"
},
"gift": {
"id": "873500",
"senderCustomerId": "246936001",
"senderName": "Jane Smith",
"senderEmail": "[email protected]",
"recipientCustomerId": "246936002",
"recipientEmail": "[email protected]",
"amount": "50.00",
"giftCurrency": "USD",
"giftNote": "Enjoy your gift!",
"redemptionLink": "https://example.com/gifts/873500",
"redeemedAt": null,
"notificationSentAt": "2026-04-30T11:20:05.0000000+00:00",
"externalGiftProductId": "15268877402278",
"externalGiftVariantId": "56305470505126",
"redeemableProductIds": ["15268877402278"]
}
}The JSON is saved to a Custom Event field and used to personalize the message. The table below outlines all fields created in Custom Event. Fields other than the JSON can be used as criteria in a Custom Event Decision Split, allowing customers to receive different messages or different logic based on the values of these fields.
Property Name | Data Type |
CustomJson | String |
product_title | String |
customer_billing_city | String |
customer_billing_province | String |
Personalizing the Message with Recharge Data
You can customize any message(s) in the journey based on the data passed in the JSON. The table below outlines the fields you can include in a message to display the data about a customer's gift purchase. The field values will match what is included in the payload mentioned in the previous section.
Object | Fields Used |
|
|
|
|
|
|
You have the option to create a fully coded HTML email from scratch or to edit the template that includes the basic design elements listed below.
If you code a message yourself, you can add any or all of fields from the table above. To display the personalized data, you will use the format {{object.fieldname}}. For example, to display the customer's first name uses the following tag. {{customer.firstName}}.
Example Template
You can also use the example template as a starting point.
[[HB BlockType="Custom" Source="Custom.customJson"]]
<div class="email-wrapper">
<div class="email-container">
<div class="email-header"><div class="brand">Your<span>Store</span></div></div>
<div class="email-hero" style="background: linear-gradient(135deg, #1a2b4a 0%, #4a1d6e 100%);">
<h1>Your gift has been sent! š</h1>
<p>{{customer.firstName}}, your gift to {{gift.recipientEmail}} is on its way.</p>
</div>
<div class="email-body">
<p class="greeting">Hi <strong>{{customer.firstName}} {{customer.lastName}}</strong>,<br/><br/>Your gift purchase is confirmed. Your recipient will receive a notification with instructions on how to redeem it.</p>
<div style="background:linear-gradient(135deg,#1a2b4a,#4a1d6e);border-radius:12px;padding:28px 24px;margin:0 0 28px;text-align:center;color:#fff;">
<div style="font-size:42px;font-weight:700;">${{gift.amount}}</div>
<div style="font-size:14px;color:#a8c0d6;margin:0 0 16px;">{{gift.giftCurrency}} Gift</div>
<p style="font-size:15px;font-style:italic;color:#d0e4f0;border-top:1px solid rgba(255,255,255,0.15);padding-top:16px;margin:0;">"{{gift.giftNote}}"</p>
</div>
<div class="product-card">
<img src="{{product.imageUrl}}" alt="{{product.title}}" style="height:180px;object-fit:cover;" />
<div class="product-info">
<p class="product-label">Gift Product</p>
<h2>{{product.title}}</h2>
</div>
</div>
<table class="detail-table">
<tr><td class="label">Sent To</td><td class="value">{{gift.recipientEmail}}</td></tr>
<tr><td class="label">Gift Amount</td><td class="value">${{gift.amount}} {{gift.giftCurrency}}</td></tr>
<tr><td class="label">Notification Sent</td><td class="value">{{gift.notificationSentAt}}</td></tr>
<tr><td class="label">Gift ID</td><td class="value">{{gift.id}}</td></tr>
</table>
</div>
<div class="email-footer">
<p class="footer-brand">YourStore</p>
<p>This email was sent to {{customer.email}}</p>
</div>
</div>
</div>
[[/HB]]