Skip to main content

Recharge Gift Purchased (Recipient) Personalization Guide

The Recharge Gift Purchased event triggers a Listrak Custom Event when a customer purchases a gift to notify the recipient. In the journey, you can message a recipient so that they can access the gift details.

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 Recipient [[Your Store Name]] is automatically created as part of the integration process. Recharge passes the following payload to Listrak customized with the specific gift information.

{
"eventCategory": "gift",
"eventType": "GiftPurchasedRecipient",
"eventTimestamp": "2026-04-30T11:20:00.0000000+00:00",
"customer": {
"email": "recipient@example.com",
"firstName": "Bob",
"lastName": "Jones",
"externalCustomerId": "24662915679999"
},
"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": "sender@example.com",
"recipientCustomerId": "246936002",
"recipientEmail": "recipient@example.com",
"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 recipient's gift. The field values will match what is included in the payload mentioned in the previous section.

Object

Fields Used

customer

firstName, lastName, email

product

productId, variantId, title, price, sku, imageUrl

gift

id, senderName, senderEmail, recipientEmail, amount, giftCurrency, giftNote, redemptionLink, notificationSentAt

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>You've received a gift! šŸŽ</h1>
<p>{{customer.firstName}}, {{gift.senderName}} has sent you a special gift.</p>
</div>
<div class="email-body">
<p class="greeting">Hi <strong>{{customer.firstName}} {{customer.lastName}}</strong>,<br/><br/>Someone special has sent you a gift! Use the redemption link below to claim 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:13px;color:#a8c0d6;margin:0 0 8px;text-transform:uppercase;letter-spacing:1px;">A gift from {{gift.senderName}}</div>
<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">From</td><td class="value">{{gift.senderName}} ({{gift.senderEmail}})</td></tr>
<tr><td class="label">Gift Amount</td><td class="value">${{gift.amount}} {{gift.giftCurrency}}</td></tr>
<tr><td class="label">Gift ID</td><td class="value">{{gift.id}}</td></tr>
</table>
<div class="cta-wrap"><a href="{{gift.redemptionLink}}" class="cta-btn">Redeem My Gift</a></div>
</div>
<div class="email-footer">
<p class="footer-brand">YourStore</p>
<p>This email was sent to {{customer.email}}</p>
</div>
</div>
</div>
[[/HB]]

Did this answer your question?