Day 7 Challenge Resources
A telecommunication company provides a yearly subscription plan to its customers. Customers can choose to pay for the subscription annually or monthly. The company wants to include the renewal date of the subscription in the payment confirmation email, so customers can keep track of when they need to renew their subscription.
A sample data set is available here to help you get started with the challenge.
FirstName | LastName | PaymentFrequency | PaymentAmount | |
---|---|---|---|---|
john.doe@abc.com | John | Doe | Monthly | 75 |
jane.doe@xyz.com> | Jane | Doe | Monthly | 100 |
jim.smith@def.com | Jim | Smith | Annual | 200 |
sara.johnson@ghi.com> | Sara | Johnson | Monthly | 50 |
mike.brown@jkl.com> | Mike | Brown | Monthly | 125 |
… | … | … | … | … |
If you test your AMPscript using a sample record, your email may look like the example above.
Hello,
Thank you for your payment of 150 for your Annual subscription plan. Your subscription will expire on April 9, 2024.
If you have any questions about your subscription, please contact our customer support team.
Sincerely,
Next Telecom
Crafted with 💜 by AMPscript30.
AMPScripted Smiles Ltd.
456 Data Extension Drive Suite 321, Loop City,
Variable Valley, DE 12345