← All projects
TelcoTech: Personalized Win-Back Email banner

TelcoTech: Personalized Win-Back Email

A win-back email that offers each lapsed customer two plans picked from their previous plan, at 50% off for the first three renewals.

Email · ReactivationAMPscriptData ExtensionsDynamic linksScenario-based build
01 · The result

What subscribers actually receive

Swipe to compare →
Customer 1001 · John
Subject: John, We Want You Back! 50% Off Just for You!
Email preview for Customer 1001 · John
Customer 1002 · Sarah
Subject: Sarah, We Want You Back! 50% Off Just for You!
Email preview for Customer 1002 · Sarah
Customer 1003 · no first name
Subject: We Want You Back! 50% Off Just for You!
Email preview for Customer 1003 · no first name
Each customer sees the two plans that follow on from the plan they left, with the discounted price worked out in the email. Plan names, data and prices all come from the Plan Matrix.
02 · How I built it

The logic, in plain English

  • Looked up the customer's last plan in a Plan Matrix Data Extension, then looked up both recommended plans from it (three LookupRows calls).
  • Calculated the 50% price with Multiply, so pricing comes from the data, not hard-coded copy.
  • Built a separate tracked reactivation link per offer with Concat and RedirectTo, carrying the customer ID and plan ID.
  • Fallback greeting and subject line for missing names. RaiseError stops the send if a plan can't be found.
03 · Under the hood

Offer A: look up the plan, price it, link it

A short excerpt. The full code and the brief's requirements are on GitHub.

AMPscript01-Reactivation-Email.ampscript
/* LOOKUP ROW FUNCTION TO RETRIEVE PLAN A INFO */
SET @rowsA = LookupRows("TelcoTech_Plan_Matrix", "PlanID", @OfferPlanA)

IF RowCount(@rowsA) > 0 THEN
  SET @rowA = Row(@rowsA, 1)
  SET @OfferAPlanName = Field(@rowA, "PlanName")
  SET @OfferAGB = Field(@rowA, "GB")
  SET @OfferAPrice = Field(@rowA, "PricePerMonth")

  /* CALCULATE 50% DISCOUNT */
  SET @OfferADiscountPrice = Multiply(@OfferAPrice, 0.5)
ELSE
  /* THIS FUNCTION WILL CANCEL THE EMAIL SEND */
  RaiseError("No row was found")
ENDIF

/* REACTIVATION LINK FOR PLAN A */
SET @linkA = Concat("telcotech.com/reactivate?custID=", @cusID, "&offerID=", @OfferPlanA)

Have a campaign, role, or idea in mind?

I'd love to hear from you.