Skip to main content
The Returns portal uses RMA events and variables to automate and personalize email and SMS notifications. You can trigger notifications based on actions, such as request approved or shipment received, and personalize the content using variables such as RMA ID, order status, and rejection reason. You can open the Variables and Events page by clicking the lighting bolt icon on the email content page. From here you can view all available options. If you have a marketing integration such as Klaviyo, RMA events can also be used to trigger notifications sent through the third-party platform.
Events
The Returns portal events can be used as triggers to automatically send certain notifications when a specific event happens, such as when a request is approved or a shipment is received.
Returns Events
Supported return events include:
Pending Approval - The return request is pending approval on the Returns portal.
Request Approved - The return request has been approved.
Request Rejected - The return request has been rejected.
Request Canceled - The return request has been canceled.
Request Reopened - The return request was canceled and has been reopened.
Order Canceled - The order has been canceled.
Shipment Received - The return shipment has been received.
Shipment In-Transit - The return shipment is on its way.
Manual Credit - Store credit has been issued to the customer.
Manual Gift Card - A gift card has been issued to the customer.
Tracking Events
Supported tracking events include:
Order In transit - Order is in transit.
Order waiting for pickup - Order is waiting for pickup.
Order out for delivery - Order is out for delivery.
Order ready for collection - Order is ready for collection.
Order delivered - Order was delivered.
Order failure to deliver - Order failed to deliver.
Variables
Adding variables to your notifications personalizes the information provided, such as adding the RMA ID or reject reason directly into the message.
Returns Variables
rma_idThe ID number of the customer’s return request.
payment_authorization_expiration_dateDate of charge of authorized amount.
rma_created_atRMA created date.
rma_statusThe status of the return request.
order_nameThe ID number of the customer’s order.
first_nameThe customer’s first name.
last_nameThe customer’s last name.
full_nameThe customer’s full name.
store_nameThe name of your online store.
store_urlThe link to your online store.
reject_reasonThe reason the return request was rejected.
cancel_reasonThe reason the return request was canceled.
expireThe remaining time before a gift card or store credit expires.
creditsThe amount of store credit the customer has in their balance.
payment_currency_codeThe currency used to pay for the order.
customer_support_urlThe link for contacting your customer support.
carrier_location_nameThe name of the drop-off location.
refund_providerThe entity that issues the refund.
tracking_numberThe number used to track the return shipment.
tracking_linkShipment tracking URL.
expected_delivery_dateThe date the delivery is expected to arrive.
shipping_dateThe date the shipping label was created.
return_label_urlShipping label URL.
packing_slip_urlPacking slip URL.
qr_code_linkQR code URL.
return_methodReturn method name (internal).
return_typeReturn type (Return / Exchange / Mixed).
gift_card_codeGenerated gift card code, when applicable.
portal_nameThe name of the relevant portal, as it appears in the portal selector.
Tracking Variables
order_nameThe ID number of the customer’s order.
first_nameThe customer’s first name.
last_nameThe customer’s last name.
full_nameThe customer’s full name.
store_nameThe name of your online store.
store_urlThe link to your online store.
customer_support_urlThe link for contacting your customer support.
order_tracking_numberOrder tracking number.
portal_tracking_urlPortal tracking URL.
unsubscribe_linkTracking unsubscribe link.
status_descriptionDescription of the main tracking status sub-status.
estimated_delivery_dateOrder estimated delivery date.
carrier_nameCarrier for this delivery.